Diff for /loncom/homework/templates/numerical.problem between versions 1.3 and 1.8

version 1.3, 2001/10/09 14:53:44 version 1.8, 2009/07/06 17:12:47
Line 1 Line 1
 <problem>  <problem>
   
 <script type="loncapa/perl">  <script type="loncapa/perl">
 #Enter the computations here  #Enter the computations here
   $a=&random(1,10,1);
   $b=&random(1,10,1);
   $c=$a+$b;
 </script>  </script>
   
 <startouttext />  <startouttext />
 Enter the problem text here.  Enter the problem text here.
   What is $a + $b?
 <endouttext />  <endouttext />
 <numericalresponse>  
  <responseparam type="tolerance" default="5%" name="tol" description="Numerical Tolerance" />  <numericalresponse answer="$c">
  <responseparam name="sig" type="int_range,0-16" default="0,15" description="Significant Figures" />      <responseparam type="tolerance" default="5%" name="tol" description="Numerical Tolerance" />
  <textline />      <textline />
  <hintgroup>  
  <startouttext />  
 Enter the hint text here.  
  <endouttext />  
  </hintgroup>  
 </numericalresponse>  </numericalresponse>
   
 </problem>  </problem>

Removed from v.1.3  
changed lines
  Added in v.1.8


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>