A := Matrix([[1, 0, -1], [0, 1, 6], [0, 0, 3]]); # Define the matrix A
AT := Transpose(A); # Calculate the transpose of A
invAT := LinearAlgebra:-MatrixInverse(AT); # Calculate the inverse of AT
# Print the result in Maple syntax
print(invAT);
Explanation:
A := Matrix([[1, 0, -1], [0, 1, 6], [0, 0, 3]]);: This line defines the matrix A in Maple using the Matrix command. The inner lists represent the rows of the matrix. Note that the original prompt <<1, 0, 0> | <0, 1, 0> | <-1, 6, 3>> is a valid way to define A in Maple. I have edited to provide a more standard way.
AT := Transpose(A);: This line calculates the transpose of matrix A and assigns it to AT. The Transpose() function performs the transposition.
invAT := LinearAlgebra:-MatrixInverse(AT);: This line calculates the inverse of the transposed matrix AT using the LinearAlgebra:-MatrixInverse() function. Crucially, you need to specify the LinearAlgebra package to access the MatrixInverse command.
print(invAT);: This line prints the resulting inverse matrix in Maple's standard matrix format, which is suitable for copying and pasting as the answer. Alternatively, you could use eval(invAT); instead of print.