[LON-CAPA-users] Implicit Answer Response

Guy Albertelli II lon-capa-users@mail.lon-capa.org
Wed, 19 Oct 2005 18:16:49 -0400 (EDT)


Hi Donnell,

> In my script, I have this:
> 
> $A = -$temp;
> $w = $vPart2;
> 
> $iCurrent = $A*cos($w*t);

Should do:

  $iCurrent = "$A*cos($w*t)";


> And, in a part of my .problem, I have this:
> 
> <formularesponse answer="$iCurrent" samples="t@1:5#4">
>     <responseparam description="Numerical Tolerance" type="tolerance"
> default="0.00001" name="tol" />
>     <textline size="25"/>
>     <hintgroup>
>     <startouttext /><endouttext />
>     </hintgroup>
> </formularesponse>
> 
> 
> Yet, when I try to enter an answer, it just says that it is " Unable to
> understand formula"


-- 
guy@albertelli.com   0-7-2-1-27,137