Question: Maple Graded vectors

Hi

I'm trying to create a maple graded question for working out if a students response is a correct eigenvector. I've been trying to get maple to solve AX = LX where A is a 2x2 matrix and X is a column vector.

I've tried the following commands and although they work in the algorithms they don't seem to work when used to grade the question. It there anyway around this problem? I think the problem is with the MatrixMatrixMultiply command.

$ans1= maple("LinearAlgebra[MatrixMatrixMultiply]($M,$RESPONSE)");
$ans2=maple("$xeig1*$RESPONSE");
$ans = maple("LinearAlgebra:-Equal($ans1,$ans2)");

Jim

Please Wait...