version 1.2, 2007/01/23 21:16:50
|
version 1.3, 2009/07/06 17:12:47
|
Line 1
|
Line 1
|
<problem> |
<problem> |
<script type="loncapa/perl"> |
|
|
<script type="loncapa/perl"> |
$k=&random(3,6,1); |
$k=&random(3,6,1); |
$formula="a*x^$k"; |
$formula="a*x^$k"; |
$m=$k-1; |
$m=$k-1; |
$derivative="$k*a*x^$m"; |
$derivative="$k*a*x^$m"; |
</script> |
</script> |
|
|
<startouttext /> |
<startouttext /> |
What is the derivative of <tt>$formula</tt> with respect to x? |
What is the derivative of <tt>$formula</tt> with respect to x? |
<endouttext /> |
<endouttext /> |
|
|
<formularesponse answer="$derivative"> |
<formularesponse answer="$derivative"> |
<textline size="25" /> |
<textline size="25" /> |
</formularesponse> |
</formularesponse> |
|
|
</problem> |
</problem> |
|
|