Annotation of loncom/homework/templates/MultipleAnswerEither.problem, revision 1.2
1.1 www 1: <problem>
1.2 ! bisitz 2:
! 3: <script type="loncapa/perl">
! 4: #Enter the computations here
1.1 www 5: $a=&random(1,10,1);
6: $b=$a*$a;
1.2 ! bisitz 7: </script>
! 8:
! 9: <startouttext />
! 10: If <m eval="on">$ x^2=$b $</m>, what is a possible value of <m>$ x $</m>?
! 11: <endouttext />
! 12:
! 13: <numericalresponse>
! 14: <answergroup type="ordered">
! 15: <answer name="negative" type="ordered">
! 16: <value>-$a</value>
! 17: </answer>
! 18: <answer name="positive" type="ordered">
! 19: <value>$a</value>
! 20: </answer>
! 21: </answergroup>
! 22: <responseparam type="tolerance" default="5%" name="tol" description="Numerical Tolerance" />
! 23: <responseparam name="sig" type="int_range,0-16" default="0,15" description="Significant Figures" />
! 24: <textline readonly="no" />
! 25: </numericalresponse>
! 26:
1.1 www 27: </problem>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>