[LON-CAPA-users] Unreduced answers in Numerical Response
Guy Albertelli II
lon-capa-users@mail.lon-capa.org
Wed, 9 Oct 2002 03:25:16 -0400 (EDT)
Hi Lars,
> It would be great to be able to enter un-reduced answers in Numerical
> Response type math problems.
You can use <formularesponse> to do this right now.
<problem>
<part>
<startouttext />Answer is 0.16666666667 try 1/6<endouttext />
<formularesponse samples="x@1" answer="0.16666666667">
<responseparam description="Numerical Tolerance"
default="0.000001" type="tolerance" name="tol" />
<textline />
</formularesponse>
</part>
<part>
<startouttext />Answer is 1/6 try 0.166666666<endouttext />
<formularesponse samples="x@1" answer="1/6">
<responseparam description="Numerical Tolerance"
default="0.000001" type="tolerance" name="tol" />
<textline />
</formularesponse>
</part>
</problem>
Addittionally people have used multiple <numericalresponse> fields for
entering fractions to enforce that the student enters a reduced
fraction.
--
guy@albertelli.com BM: n^20 t20 z20 qS
Guy Albertelli -7-7-9- O-
A good scapegoat is nearly as welcome as a solution to the problem.