@jmtrik Thanks!
Metahofzicht
@Metahofzicht
Posts made by Metahofzicht

Laplace questions
For one of my teachers I am looking for questions using Laplace transforms. So far, searching the MapleCloud using keywords like 'laplace' and 'inttrans' results in less then a handful hits.Is there anyone who has more?
kind regards, Meta Keijzer (TU Delft)

RE: 'Wildcard' in Grading Code
@Metahofzicht Nailed it. I found out how to fix it.
My grading code:
local I:=II:
if evalb(simplify(algsubs(I = a^4/(32*sqrt(3)), algsubs(C = 192, $RESPONSE) = $RV1))) then 1.0;
elif evalb(simplify(algsubs(I = a^4/(32*sqrt(3)), algsubs(C[1] = 192, $RESPONSE) = $RV1))) then 1.0;
elif algsubs($fact2 = 1,$RESPONSE) <> $RESPONSE then 1.0;
else 0.0;
end if;Custom previewing code: local I:=`I `:printf(MathML[ExportPresentation]($RESPONSE));
my algoritm:
$fact2 = "E*a^4/L^3";
$RV1 = "$fact2*2*sqrt(3)";
$RVdisplay = "printf(MathML[ExportPresentation]($RV1))"; 
RE: 'Wildcard' in Grading Code
@jmtrik Hi , Jonathan. I'm trying my best to apply the procedure on other examples. But I get stuck in the following example: (introducing the parameter I  second moment of area  that needs special treatment due to the confusion with imaginairy numbers and a second substition):
Teacher's Answer Student's Answer Expected Grade
C[1]*E*I/L^3 C[1]*E*I/L^3 1.0 C[1] equals C
C[1]*E*I/L^3 C[1]*E*a^4/(32*sqrt(3)*L^3) 1.0 C[1] equals C
C[1]*E*I/L^3 6*E*a^4/(sqrt(3)*L^3) 1.0 C[1] = 192
C[1]*E*I/L^3 Constant*E*a^4/L^3 0.8 Constant is any number
C[1]*E*I/L^3 Factor*E*a^4/L^3 0.5 Factor is any parameter$fact = "E*a^4/L^3";
$TA = "$fact*6/sqrt(3)";
$subslist1 = Maple("local I:='I ': I=a^4/32/sqrt(3)");
$subslist2 = "C[1] = C = 192";
$TApartial1 = "E*a^4/L^3";#define test cases
$RESPONSE1="$TA";
$RESPONSE2="$TApartial1";
$RESPONSE3="0"; 
RE: 'Wildcard' in Grading Code
@jmtrik I have some alternative responses to the same question, that are not resembling the other options:
Teacher's Answer Student's Answer Expected Grade
H[m]*A*L*rho H[m]*A*L*rho 1.0
H[m]*sqrt(3)/4*a^2*L*rho H[m]*sqrt(3)/4*a^2*L*rho 1.0
H[m]*sqrt(3)/4*a^2*L*rho H[m]*a^2*L*rho 0.5 (the numerical factor is not relevant for the final answer to the problem) 
RE: 'Wildcard' in Grading Code
@jmtrik Thanks Jonathan. Never could have found this myself

'Wildcard' in Grading Code
In order to simplify the algorithm for partial grading of a maple graded question I would like to have part of the response of the student be 'ignored'. For instance: the following formula is the correct answer:
. This response will give the student a full score . In this formula the part should be correct to gain a partial score, regardless mistakes in the second part,Can I create a grading code that allows for that?
I was thinking of: multiplying the student response with
and evaluating whether any of these parameters E, k or rho are still present in the adjusted student response.Is this possible? If yes, what's the code?
Hope anyone can help me with this

RE: more robust programming of alternate correct responses (maplegraded)
@RobertStanyon Thanks, this saves me a lot of time

more robust programming of alternate correct responses (maplegraded)
I have an exam that consists of a lot of maplegraded question types, in which a student needs to type a formula like for instance: 2*Pi*R*t*L*rho. This response is case sensitive. In order to grade the student's response correctly, and automatically compensate for responses being graded incorrect due to case sensitivity, I need to define alternatives like 2*pi*r*t*l*rho (and all the 'in between possibilities that arise).
Now I have to define all these alternatives in the algorithm and in the grading code. Is there a simple way to declare (in the algorithm or somewhere else) that Pi=pi, R=r and L=l, so I only have to define (and grade) one correct answer instead of 8 possibilities. Especially because in that same QDquestion I have multiple response fields that could use the same 'declaration'.
in algorithm in grading code