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

version 1.1, 2007/01/22 21:48:55 version 1.2, 2007/01/23 21:16:50
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);
 $a2=&random(6,8,1);  $a2=&random(6,8,1);
Line 10  $de1=$e1-1; Line 10  $de1=$e1-1;
 $de2=$e2-1;  $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      <startouttext />
   What is the derivative of
 <m eval="on">\[\left(\begin{array}{c}$a1 t^$e1\\ $a2 t^$e2\end{array}\right)\]</m>  <m eval="on">\[\left(\begin{array}{c}$a1 t^$e1\\ $a2 t^$e2\end{array}\right)\]</m>
 with respect to <m>$t$</m>?<endouttext />  with respect to <m>$t$</m>?
 <formularesponse answer="@derivative">      <endouttext />
 <textline readonly="no" size="25" />      <formularesponse answer="@derivative" samples="t@-10:10#10">
 <hintgroup showoncorrect="no">          <textline readonly="no" size="25" />
 <formulahint answer="@wrongderivative" name="nomulti"></formulahint>          <hintgroup showoncorrect="no">
 <hintpart on="nomulti">              <formulahint answer="@wrongderivative" name="nomulti" samples="t@-10:10#10"></formulahint>
 <startouttext />You need to multiply with the original exponent.<endouttext />              <hintpart on="nomulti">
 </hintpart>                  <startouttext />You need to multiply with the original exponent.<endouttext />
 </hintgroup>              </hintpart>
 </formularesponse>          </hintgroup>
       </formularesponse>
 </problem>  </problem>

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


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