Diff for /loncom/homework/templates/HintFormula.problem between versions 1.1 and 1.4

version 1.1, 2007/01/22 21:48:55 version 1.4, 2009/07/06 17:12:47
Line 1 Line 1
 <problem>  <problem>
   
 <script type="loncapa/perl">  <script type="loncapa/perl">
 $a1=&random(3,6,1);  $a1=&random(3,6,1);
 $e1=&random(3,6,1);  $e1=&random(3,6,1);
Line 11  $de2=$e2-1; Line 12  $de2=$e2-1;
 @derivative=($da1.'t^'.$de1,$da2.'t^'.$de2);  @derivative=($da1.'t^'.$de1,$da2.'t^'.$de2);
 @wrongderivative=($a1.'t^'.$de1,$a2.'t^'.$de2);  @wrongderivative=($a1.'t^'.$de1,$a2.'t^'.$de2);
 </script>  </script>
 <startouttext />What is the derivative of  
 <m eval="on">\[\left(\begin{array}{c}$a1 t^$e1\\ $a2 t^$e2\end{array}\right)\]</m>  <startouttext />
 with respect to <m>$t$</m>?<endouttext />  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">  <formularesponse answer="@derivative">
 <textline readonly="no" size="25" />      <textline readonly="no" size="25" />
 <hintgroup showoncorrect="no">      <hintgroup showoncorrect="no">
 <formulahint answer="@wrongderivative" name="nomulti"></formulahint>          <formulahint answer="@wrongderivative" name="nomulti"></formulahint>
 <hintpart on="nomulti">          <hintpart on="nomulti">
 <startouttext />You need to multiply with the original exponent.<endouttext />              <startouttext />You need to multiply with the original exponent.<endouttext />
 </hintpart>          </hintpart>
 </hintgroup>      </hintgroup>
 </formularesponse>  </formularesponse>
   
 </problem>  </problem>

Removed from v.1.1  
changed lines
  Added in v.1.4


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