version 1.1, 2001/07/02 18:40:54
|
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> |
|
<textline /> |
<numericalresponse answer="$c"> |
<hintgroup> |
<responseparam type="tolerance" default="5%" name="tol" description="Numerical Tolerance" /> |
<startouttext /> |
<textline /> |
Enter the hint text here. |
|
<endouttext /> |
|
</hintgroup> |
|
</numericalresponse> |
</numericalresponse> |
|
|
</problem> |
</problem> |