--- loncom/homework/templates/customhints.problem 2010/04/25 13:18:36 1.1 +++ loncom/homework/templates/customhints.problem 2010/10/31 12:33:08 1.3 @@ -34,7 +34,7 @@ Write $solution as an Egyptian Fraction< # Analyze the format ($formaterror,$doubleerror)=&analyze($submission); -if ($formaterror || $doubleerror) { return 'BAD_FORMULA'; } +if ($formaterror || $doubleerror) { return 'WRONG_FORMAT'; } # It is an Egyptian Fraction, is the value correct? if (&cas('maxima',$submission.'-('.$egyptian.')') eq '0') { return 'EXACT_ANS'; @@ -60,7 +60,7 @@ return 'INCORRECT';

-Egyptian Fractions cannot have the same denominator more than once. For example, 1/3+1/17+1/4+/17 is not an Egyptian Fraction, as it has 17 twice as denominator. +Egyptian Fractions cannot have the same denominator more than once. For example, 1/3+1/17+1/4+1/17 is not an Egyptian Fraction, as it has 17 twice as denominator.