File:  [LON-CAPA] / loncom / homework / templates / numerical.problem
Revision 1.7: download - view: text, annotated - select for diffs
Mon May 19 20:38:30 2008 UTC (15 years, 11 months ago) by www
Branches: MAIN
CVS tags: version_2_9_X, version_2_9_1, version_2_9_0, version_2_8_X, version_2_8_99_1, version_2_8_99_0, version_2_8_2, version_2_8_1, version_2_8_0, version_2_7_X, version_2_7_99_1, version_2_7_99_0, version_2_7_1, version_2_7_0, version_2_6_99_1, version_2_6_99_0, bz5969, HEAD, GCI_2, GCI_1, BZ5971-printing-apage, BZ5434-fox
Bug #1724: Categories, helplinks, and examples for templates

<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" />
	<textline />
</numericalresponse>
</problem>

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