Okay, then I would use Maxima to figure out if the reduced fraction is equal to 
the fraction input by the student, see below.
[...]

That would accept "1+1/3" for "2/3". I think a regular expression removing extra spaces might be better for simple fractions...

Damien
_______________________________________________
LON-CAPA-users mailing list
LON-CAPA-users@mail.lon-capa.org
http://mail.lon-capa.org/mailman/listinfo/lon-capa-users

Reply via email to