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

version 1.3, 2007/01/23 22:49:34 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);
 $a2=&random(6,8,1);  $a2=&random(6,8,1);
Line 10  $de1=$e1-1; Line 11  $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 />  
   <startouttext />
 What is the derivative of  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>?
 with respect to <m>$t$</m>?  <endouttext />
     <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.3  
changed lines
  Added in v.1.4


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