Diff for /doc/homework/homework5.html between versions 1.1 and 1.3

version 1.1, 2001/05/19 00:24:39 version 1.3, 2001/05/31 20:51:31
Line 31 Line 31
  </p>   </p>
  <ul>   <ul>
   <li>    <li>
       <b>&lt;responseparam&gt;</b> if it appears it should be
       inside of a &lt;*response&gt; tag, defines an externally
       adjustable parameter for this question. Arguments:
       <ul>
         <li>
    <i>default</i> required, specifies a default value for
    the parameter
         </li>
         <li>
    <i>name</i> required, specifies an internal name for
    the parameter
         </li>
         <li>
    <i>type</i> required specifies the type of parameter,
    one of "tolerance", "int", "float", "string", "date"
    (configuration of paramters is handled by
    lonparmset.pm and parameter.html)
         </li>
         <li>
    <i>description</i> a string describing the parameter,
    this is what is used to talk about a parameter outside
    of a problem
         </li>
       </ul>
     </li>
     <li>
     <b>&lt;numericalresponse&gt;</b> implements a numerical      <b>&lt;numericalresponse&gt;</b> implements a numerical
     answer, it needs an internal <b>&lt;textline&gt;</b> for      answer, it needs an internal <b>&lt;textline&gt;</b> for
     the response to go in. It checks all styles of numerical      the response to go in. It checks all styles of numerical
Line 275 Line 301
     <p>       <p> 
       A list of functions that have been written that are available in         A list of functions that have been written that are available in 
       the Safe space scripting environment inside a problem. The eventual        the Safe space scripting environment inside a problem. The eventual
       goal is to provide all of the functions available in CAPA        goal is to provide all of the functions available in CAPA. Detailed
         descriptions of each function and comparison with CAPA is given in
         <a href="homework6.html">CAPA to LON-CAPA Functions</a>.
     </p>      </p>
     <ul>      <ul>
         <li>sin(x), cos(x), tan(x)</li>
         <li>asin(x), acos(x), atan(x), atan2(y,x)</li>
         <li>log(x), log10(x)</li>
         <li>exp(), pow(x,y), sqrt(x)</li>
         <li>abs(x), sgn(x)</li>
         <li>erf(x), erfc(x)</li>
         <li>ceil(x), floor(x)</li>
         <li>min(...), max(...)</li>
         <li>factorial(n)</li>
         <li>N%M</li>
         <li>sinh(x), cosh(x), tanh(x)</li>
         <li>asinh(x), acosh(x), atanh(x)</li>
         <li>roundto(x,n)</li>
         <li>web("a","b","c") or web(a,b,c)</li>
         <li>html("a") or html(a)</li>
         <li>j0(x), j1(x), jn(n,x), jv(y,x)</li>
         <li>y0(x), y1(x), yn(n,x), yv(y,x)</li>
       <li>random</li>        <li>random</li>
       <li>tan</li>  
       <li>atan</li>  
       <li>acos</li>  
       <li>asin</li>  
       <li>log10</li>  
       <li>pow</li>  
       <li>ceil</li>  
       <li>floor</li>  
       <li>format</li>  
       <li>map</li>  
       <li>choose</li>        <li>choose</li>
         <li>tex("a","b") or tex(a,b)</li>
         <li>var_in_tex(a)</li>
         <li>to_string(x), to_string(x,y)</li>
         <li>class(), section()</li>
         <li>name(), student_number()</li>
         <li>open_date(), due_date(), answer_date()</li>
         <li>sub_string()</li>
         <li>array_moments(array)</li>
         <li>format(x,y)</li>
         <li>map(...)</li>
       <li>caparesponse_check</li>        <li>caparesponse_check</li>
       <li>caparesponse_check_list</li>        <li>caparesponse_check_list</li>
     </ul>      </ul>
Line 316 Line 361
  seed the random number generator   seed the random number generator
       </li>        </li>
       <li>$pi - set to PI </li>        <li>$pi - set to PI </li>
         <li>$rad2deg - converts radians to degrees </li>
         <li>$deg2rad - converts degrees to radians </li>
     </ul>      </ul>
           
     <hr>      <hr>
     <address><a href="mailto:albertel@marvin.lite.msu.edu">Guy Albertelli</a></address>      <address><a href="mailto:albertel@marvin.lite.msu.edu">Guy Albertelli</a></address>
 <!-- Created: Thu May 17 15:05:35 EDT 2001 -->  <!-- Created: Thu May 17 15:05:35 EDT 2001 -->
 <!-- hhmts start -->  <!-- hhmts start -->
 Last modified: Fri May 18 18:12:27 EDT 2001  Last modified: Fri May 18 21:29:39 EDT 2001
 <!-- hhmts end -->  <!-- hhmts end -->
   </body>    </body>
 </html>  </html>
  <ul>  
   <li>  
     <b>&lt;&gt;</b>  
   </li>  
  </ul>  
   

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


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