Diff for /loncom/homework/templates/SimpleFormula.problem between versions 1.5 and 1.6

version 1.5, 2005/01/31 11:17:04 version 1.6, 2007/01/23 21:16:50
Line 1 Line 1
 <problem>  <problem>
 <script type="loncapa/perl">$k=&random(3,6,1);      <script type="loncapa/perl">
   $k=&random(3,6,1);
 $formula="a*x^$k";  $formula="a*x^$k";
 $m=$k-1;  $m=$k-1;
 $derivative="$k*a*x^$m";</script>  $derivative="$k*a*x^$m";
       </script>
   
 <startouttext />What is the derivative of <tt>$formula</tt> with respect to x?<endouttext />      <startouttext />
   What is the derivative of <tt>$formula</tt> with respect to x?
       <endouttext />
   
 <formularesponse samples="a,x@-3,-3:3,3#4" answer="$derivative">      <formularesponse samples="a,x@-3,-3:3,3#4" answer="$derivative">
     <responseparam description="Numerical Tolerance" type="tolerance" default="0.00001" name="tol" />          <responseparam description="Numerical Tolerance" type="tolerance" default="0.00001" name="tol" />
     <textline size="25" />              <textline size="25" />    
 </formularesponse>      </formularesponse>
   
 </problem>  </problem>
   

Removed from v.1.5  
changed lines
  Added in v.1.6


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>
500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at root@localhost to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.