[LON-CAPA-users] Any way around this?

Gerd Kortemeyer korte at lite.msu.edu
Tue Aug 21 11:50:22 EDT 2012


Hi,

That means the expected answer from the student (and the computer) needs to have exactly four significant digits. I would turn that into a range.

- Gerd.

On Aug 21, 2012, at 11:48 AM, "Mills, Douglas G" <dmills at illinois.edu> wrote:

> <responseparam type="tolerance" default="0.5%" name="tol"
> description="Numerical Tolerance" />
> <responseparam name="sig" type="int_range" default="4"
> description="Significant Digits" />
> 
> 
> 
> On 8/21/12 10:43 AM, "Gerd Kortemeyer" <korte at lite.msu.edu> wrote:
> 
>> Hi,
>> 
>> On Aug 21, 2012, at 11:39 AM, "Mills, Douglas G" <dmills at illinois.edu> wrote:
>> 
>>> So <numericalresponse answer="$CB1" format="4s"> ??
>> 
>> Yes.
>> 
>> 
>>> I have that, and have
>>> tried setting the variable both with and without the &format command, but to
>>> no avail.  8.000e-6, 8*10^-6 and even .000008000 all show up in the error
>>> message as 8e-06 complaining of the computer's answer being wrong.
>> 
>> What do you have the in "significant digits" and "tolerance" response
>> parameters?
>> 
>> - Gerd.
>> 
>> _______________________________________________
>> LON-CAPA-users mailing list
>> LON-CAPA-users at mail.lon-capa.org
>> http://mail.lon-capa.org/mailman/listinfo/lon-capa-users
> 
> 
> Doug
> 
> Douglas Mills
> Director of Instructional Technologies
> Department of Chemistry
> University of Illinois
> dmills at illinois.edu
> (217) 244-5739 
> 
> 
> _______________________________________________
> LON-CAPA-users mailing list
> LON-CAPA-users at mail.lon-capa.org
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-users



More information about the LON-CAPA-users mailing list