Annotation of doc/demo/selfteaching/numerical.problem, revision 1.1
1.1 ! albertel 1: <problem><displaytitle />
! 2: <script type="loncapa/perl">#Enter the computations here
! 3: $jim = &random(2,10,1);
! 4: $john = &random(2,10,1);
! 5: $janet = &random(2,10,1);
! 6: $answer = $jim + $john + $janet;</script>
! 7: <startouttext />If Jim codes $jim new LON-CAPA problems, John codes
! 8: $john new LON-CAPA problems, and Janet codes
! 9: $janet new LON-CAPA problems, how many new LON-CAPA
! 10: problems did Jim, John, and Janet create? <endouttext />
! 11: <numericalresponse id="11" answer="$answer">
! 12: <responseparam description="Numerical Tolerance" type="tolerance" default="2%" name="tol" />
! 13: <responseparam description="Significant Figures" type="int_range,0-16" default="0,3" name="sig" />
! 14: <textline />
! 15: <hintgroup>
! 16: <startouttext />Total = (Jim's problems) + (John's problems) + (Janet's problems)<endouttext />
! 17: </hintgroup>
! 18: </numericalresponse>
! 19:
! 20: </problem>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>