matrices not shown

matrices not shown

by Yedidia Klein -
Number of replies: 1
Picture of Plugin developers

Hi,

I'm moving a stack installation to a new server including upgrading moodle from 3.1 to 3.3

Maxima is installed and healthcheck page looks great...


I've troubles w/ matrices display in questions.

attached are images of old and new servers. (working and not working)

any help will be appreciated...

The question is :


(text)

Let \({\bf A}\) and \({\bf B}\) be the following matrices: \[{\bf A} = @matrixa@\] 

\[{\bf B} = @matrixb@\]

Find the sum \({\bf A + B:}\)

input:ans1 validation:ans1


(variables)

matrixa:matrix([rand_with_step(-5,5,1),rand_with_step(-5,5,1)],[rand_with_step(-5,5,1),rand_with_step(-5,5,1)]);

matrixb:matrix([rand_with_step(-5,5,1),rand_with_step(-5,5,1)],[rand_with_step(-5,5,1),rand_with_step(-5,5,1)]);

correctanswer:matrixa + matrixb;

wronganswer:matrixa-matrixb;



thanks a lot,


--Yedidia

Attachment stack_matrix_do_not_work.png
Attachment stack_matrix_do_work.png
Average of ratings: -
In reply to Yedidia Klein

Re: matrices not shown

by Hendrikje Schmidtpott -

Your new Server probably uses the 4.0 Version of STACK. In that case you will have to change the Syntax from @matix@ to {@matrix@}. That should apply to all of your STACK-questions with variables in the question-text.

There is the "Fix dollars"-script that can do this for you. (screenshot)  

Attachment fix.PNG