# Répondre à : Peut-on vérifier une réponse OEF avec maxima ?

Accueil Forums Programmation WIMS Programmation d’exercices OEF Peut-on vérifier une réponse OEF avec maxima ? Répondre à : Peut-on vérifier une réponse OEF avec maxima ?

#2194

To illustrate this point further, I modified question 1 to:

\text{question= maxima(diff((sin(t/8))^2,t)/(sin(t/8))^2;)}

The following two answers (which in reality are correct) are
interpreted as wrongly written, or wrong, respectively:

0.25 *cos(t/8)/sin(t/8)
is not written as required. Please rewrite it in the correct form.

0.25*cot(0.125*t) bad answer, the correct answer is cos(t/8)/(4*sin(t/8)).

Introducing more correct answers by applying
maxima(float(…);) to each of the existing correct answers and
adding these new ones to the list can, again, allow these two specific
examples to be accepted as correct. But then 0.25*cot(t/8) requires
float to be applied before trigreduce. I don’t see how a more complex
question can have a reasonably short list of correct answers rather
than growing longer factorially.