File:  [LON-CAPA] / loncom / homework / templates / numerical.problem
Revision 1.5: download - view: text, annotated - select for diffs
Tue Jul 29 00:51:17 2003 UTC (20 years, 9 months ago) by albertel
Branches: MAIN
CVS tags: version_1_1_X, version_1_1_3, version_1_1_2, version_1_1_1, version_1_1_0, version_1_0_99_3, version_1_0_99_2, version_1_0_99_1, version_1_0_99, version_1_0_3, version_1_0_2, version_1_0_1, version_1_0_0, version_0_99_5, version_0_99_4, HEAD
- updates to the templates from felicia

<problem>
<script type="loncapa/perl">#Enter the computations here
$a=&random(1,10,1);
$b=&random(1,10,1);
$c=$a+$b;</script>
<startouttext />Enter the problem text here.
What is $a + $b?<endouttext />
<numericalresponse answer="$c">
	<responseparam type="tolerance" default="5%" name="tol" description="Numerical Tolerance" />
	<responseparam name="sig" type="int_range,0-16" default="0,15" description="Significant Figures" />
	<textline />
	<hintgroup>
		<startouttext />Enter the hint text here.
		<endouttext />
	</hintgroup>
</numericalresponse>
</problem>

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