Maple Grading Issues: Negative Exponents |
For most math expressions marking code like the following works well:
This does not seem to work well with questions like "Find the derivative of ". The following code will mark such questions correctly. The normal command converts an expression to a proper fraction. a:=normal($RESPONSE);b:=normal(algebraic expression for the answer); evalb(simplify(a)=simplify(b)); For some reason this is more reliable if you define the answer within the Maple Grading, instead of in the Algorithmic section. I have found this code was needed for a problem as simple as mxn where n was 1..6 ! |
Maple Grading Issues Index | Last updated: 05/13/2019 SS/MUO |