version 1.1, 2007/07/06 17:32:41
|
version 1.2, 2009/07/06 17:12:47
|
Line 1
|
Line 1
|
<problem> |
<problem> |
<script type="loncapa/perl">#Enter the computations here |
|
|
<script type="loncapa/perl"> |
|
#Enter the computations here |
$a=&random(1,10,1); |
$a=&random(1,10,1); |
$b=$a*$a; |
$b=$a*$a; |
</script> |
</script> |
<startouttext /> |
|
If <m eval="on">$x^2=$b$</m>, what is a possible value of <m>$x$</m>? |
<startouttext /> |
<endouttext /> |
If <m eval="on">$ x^2=$b $</m>, what is a possible value of <m>$ x $</m>? |
<numericalresponse> |
<endouttext /> |
<answergroup type="ordered"> |
|
<answer name="negative" type="ordered"> |
<numericalresponse> |
<value>-$a</value> |
<answergroup type="ordered"> |
</answer> |
<answer name="negative" type="ordered"> |
<answer name="positive" type="ordered"> |
<value>-$a</value> |
<value>$a</value> |
</answer> |
</answer> |
<answer name="positive" type="ordered"> |
</answergroup> |
<value>$a</value> |
<responseparam type="tolerance" default="5%" name="tol" |
</answer> |
description="Numerical Tolerance" /> |
</answergroup> |
<responseparam name="sig" type="int_range,0-16" default="0,15" |
<responseparam type="tolerance" default="5%" name="tol" description="Numerical Tolerance" /> |
description="Significant Figures" /> |
<responseparam name="sig" type="int_range,0-16" default="0,15" description="Significant Figures" /> |
<textline readonly="no" /> |
<textline readonly="no" /> |
</numericalresponse> |
</numericalresponse> |
|
|
</problem> |
</problem> |