Annotation of loncom/homework/templates/numerical.problem, revision 1.8
1.1 albertel 1: <problem>
1.8 ! bisitz 2:
! 3: <script type="loncapa/perl">
! 4: #Enter the computations here
! 5: $a=&random(1,10,1);
! 6: $b=&random(1,10,1);
! 7: $c=$a+$b;
! 8: </script>
! 9:
! 10: <startouttext />
! 11: Enter the problem text here.
! 12: What is $a + $b?
! 13: <endouttext />
! 14:
1.5 albertel 15: <numericalresponse answer="$c">
1.8 ! bisitz 16: <responseparam type="tolerance" default="5%" name="tol" description="Numerical Tolerance" />
! 17: <textline />
1.1 albertel 18: </numericalresponse>
1.8 ! bisitz 19:
1.1 albertel 20: </problem>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>