File:
[LON-CAPA] /
loncom /
homework /
templates /
HintFormula.problem
Revision
1.3:
download - view:
text,
annotated -
select for diffs
Tue Jan 23 22:49:34 2007 UTC (18 years, 2 months ago) by
albertel
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_X,
version_2_6_99_1,
version_2_6_99_0,
version_2_6_3,
version_2_6_2,
version_2_6_1,
version_2_6_0,
version_2_5_X,
version_2_5_99_1,
version_2_5_99_0,
version_2_5_2,
version_2_5_1,
version_2_5_0,
version_2_4_X,
version_2_4_99_0,
version_2_4_2,
version_2_4_1,
version_2_4_0,
version_2_3_99_0,
bz5969,
HEAD,
GCI_2,
GCI_1,
BZ5971-printing-apage,
BZ5434-fox
- lack of samples a desired setup (force to use CAS)
<problem>
<script type="loncapa/perl">
$a1=&random(3,6,1);
$e1=&random(3,6,1);
$a2=&random(6,8,1);
$e2=&random(6,8,1);
$da1=$a1*$e1;
$da2=$a2*$e2;
$de1=$e1-1;
$de2=$e2-1;
@derivative=($da1.'t^'.$de1,$da2.'t^'.$de2);
@wrongderivative=($a1.'t^'.$de1,$a2.'t^'.$de2);
</script>
<startouttext />
What is the derivative of
<m eval="on">\[\left(\begin{array}{c}$a1 t^$e1\\ $a2 t^$e2\end{array}\right)\]</m>
with respect to <m>$t$</m>?
<endouttext />
<formularesponse answer="@derivative">
<textline readonly="no" size="25" />
<hintgroup showoncorrect="no">
<formulahint answer="@wrongderivative" name="nomulti"></formulahint>
<hintpart on="nomulti">
<startouttext />You need to multiply with the original exponent.<endouttext />
</hintpart>
</hintgroup>
</formularesponse>
</problem>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>