Dear all,

I create a test with taylor. They have to use taylor at degre 3. A student answered this expression.

The variables are:

f:exp(sin(n*x));

correctanswer:taylor(f,x,0,3);

For the tree :

first level: I test if it is correct. In this case, the student's expression is considered as false because Stack doens't accept the 0*x^3.

2d level: I test if it is AlgEquiv, in case a student didn't simplify the fractions. In this case, it's considered as true. If it's true the score is =0.8 because we asked to student to simplify the fractions.

My question is :it is possible to recognize the example as right with score=1? But I'd like a score=0.8 in case the fractions are not simplified. For exemple 1+2*x+4*x^2/2

For the input type , I make the choice : the asnwer must be in a reduced form : 4*x^2/2 is accepted (but 4/2*x^2 is not accepted)

Thanks for help

Bertrand