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 (21 years, 1 month 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
1: <problem>
2: <script type="loncapa/perl">#Enter the computations here
3: $a=&random(1,10,1);
4: $b=&random(1,10,1);
5: $c=$a+$b;</script>
6: <startouttext />Enter the problem text here.
7: What is $a + $b?<endouttext />
8: <numericalresponse answer="$c">
9: <responseparam type="tolerance" default="5%" name="tol" description="Numerical Tolerance" />
10: <responseparam name="sig" type="int_range,0-16" default="0,15" description="Significant Figures" />
11: <textline />
12: <hintgroup>
13: <startouttext />Enter the hint text here.
14: <endouttext />
15: </hintgroup>
16: </numericalresponse>
17: </problem>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>