version 1.3, 2001/10/09 14:53:44
|
version 1.6, 2004/04/22 17:14:30
|
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);
|
</script> |
$b=&random(1,10,1);
|
<startouttext /> |
$c=$a+$b;</script> |
Enter the problem text here. |
<startouttext />Enter the problem text here.
|
<endouttext /> |
What is $a + $b?<endouttext /> |
<numericalresponse> |
<numericalresponse answer="$c"> |
<responseparam type="tolerance" default="5%" name="tol" description="Numerical Tolerance" /> |
<responseparam type="tolerance" default="5%" name="tol" description="Numerical Tolerance" /> |
<responseparam name="sig" type="int_range,0-16" default="0,15" description="Significant Figures" /> |
<responseparam name="sig" type="int_range,0-16" default="0,15" description="Significant Figures" /> |
<textline /> |
<textline /> |
<hintgroup> |
<hintgroup> |
<startouttext /> |
<startouttext /><endouttext /> |
Enter the hint text here. |
|
<endouttext /> |
|
</hintgroup> |
</hintgroup> |
</numericalresponse> |
</numericalresponse> |
</problem> |
</problem> |