To fix what you have:

$selector=range(1,5,1);

$TA=maple("

option1:=geom3d[point](P1,[5,2,1]):

option2:=geom3d[point](P2,[4,0,-4]):

option3:=geom3d[point](P3,[1,1,1]):

option4:=geom3d[plane](E1,[P1,P2,P3]):

option5:=geom3d[Equation](E1,[x,y,z]):

[option1,option2,option3,option4,option5];

");

$LE=maple("$TA[$selector]");

A BETTER WAY that is more efficient (single maple call)....

$selector=range(1,5,1);

$TA=maple("

option1:=geom3d[point](P1,[5,2,1]):

option2:=geom3d[point](P2,[4,0,-4]):

option3:=geom3d[point](P3,[1,1,1]):

option4:=geom3d[plane](E1,[P1,P2,P3]):

option5:=geom3d[Equation](E1,[x,y,z]):

listOfAll:=[option1,option2,option3,option4,option5];

selected:=listOfAll[$selector];

[convert(selected,string),convert(listOfAll,string)]

");

$theChosenOne=switch(0,$TA);

$theRest=switch(1,$TA);

This would look like this:

What do you want to practice?:

o Derivatives

o Integrals (multiple choice options)

If the student choose Derivatives, a derivate appear to be solve. If the student choose Integral, an integral appears to be solve.

Is this an addaptive question type? How can I create it?

]]>I would like to see the possibility for adding moments. It's is missing ;-)

]]>The following algorithm works for a question like "find the derivative of sin(f(t)), assuming f is differentiable":

$g=maple("sin(f(c*t))");

$ans=maple("subs(c=1,diff($g,t))");

This will enable students to enter their answer symbolically using f'(t).

]]>The question(.zip) can be downloaded here: https://naitca-my.sharepoint.c...

***notes: the question ignores annoying spaces the student might add into their response

This is what the question looks like:

I am able to run the example you mentioned. However, this feedback is displayed only when the "How did I do?" option is used, otherwise, the text area remains empty after the answer is submitted.

]]>Firstly, thanks for the effort in designing the nice questions! I would like to ask about +Quaterions_Rotation question, because of normalizing $k to get $u, the answer that the students need to enter is a decimal approximation. Are you looking to make that exact, or will you add tolerance so the student just enters correct to a number of decimal places?

I think the exact answers make more sense, so I would suggest putting certain variables in quotation marks or evaluating them using maple calls:

$length='sqrt($kx^2+$ky^2+$kz^2)';.... $angle='$angledeg*Pi/180';

]]>

Thanks,

Mark Schneider

NAIT

I see here that, also in List questions and not only in Multiple Choice questions, *for each specified incorrect answer, it can be defined response-specific feedback*. But I'm unable to find the option by editing, and manually adding in the source code rows of the kind *comment.<n>=<comment_text>@*, as proposed here for the MC case, does not work. How can I perform such an addition?

Thanks in advance.