Bugs item #1017518, was opened at 2004-08-27 11:15
Message generated for change (Comment added) made by gustav_delius
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=439479&aid=1017518&group_id=44411
Category: Marking
Group: None
>Status: Closed
>Resolution: Works For Me
Priority: 8
Submitted By: Gustav W Delius (gustav_delius)
Assigned to: Nobody/Anonymous (nobody)
Summary: Problem with rounded teacher's answer
Initial Comment:
When viewing a question as a teacher, AiM should fill in
the answer field with the teacher's answer given in the
question code and mark it as correct. However it
appears that AiM first rounds the teacher's answer to
usually three significant figures and therefore then marks
it as incorrect. Surprisingly this only happens sometimes.
----------------------------------------------------------------------
>Comment By: Gustav W Delius (gustav_delius)
Date: 2004-08-27 15:50
Message:
Logged In: YES
user_id=737246
Sorry, this was entirely my own stupidity. I had wanted to
give the teacher's answer to 6 significant figures and
therefore gave it as evalf(ans,6). I was then surprised that it
was printed with less than 6 significant figures. What I had
forgotten was that the evalf(ans,6) command does NOT
evaluate ans and then rounds to 6 figures. Rather it first
switches to 6 figure arithmetic and then evaluates ans.
Depending on what calculation is required to do the
evaluation that can of course lead to fewer significant figures.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=439479&aid=1017518&group_id=44411
|