m3butler

28 Reputation

One Badge

15 years, 362 days

MaplePrimes Activity


These are questions asked by m3butler

I'd like to generate several random matrices within the same question. If I put this code under "Algorithm", both matrices are the same (although they both change to a new matrix if you refresh the question):

$A=maple("randomize():LinearAlgebra[RandomMatrix](2,2,generator=rand(-9..9))");
$B=maple("randomize():LinearAlgebra[RandomMatrix](2,2,generator=rand(-9..9))");
$displayA=maple("printf(MathML:-ExportPresentation($A))");
$displayB=maple("printf(MathML:-ExportPresentation($B))");

I'm trying to write a Maple T.A. question bank in LaTeX, since the online question bank editor was too slow to be usable. Running LaTeX even on the "Sample Question Bank" from the documentation gives 25 errors, mostly of the form:

Page 1 of 1