Diff for /doc/homework/homework5.html between versions 1.16 and 1.23

version 1.16, 2002/06/06 08:24:55 version 1.23, 2005/04/07 06:56:20
Line 88 Line 88
     </ul>      </ul>
   <li>    <li>
     <b>&lt;essayresponse&gt;</b> implements a ungraded large      <b>&lt;essayresponse&gt;</b> implements a ungraded large
     text response, it need an internal <b>&lt;textarea&gt;</b>      text response, it need an internal <b>&lt;textfield&gt;</b>
     for the response to go in.      for the response to go in.
   </li>    </li>
   <li>    <li>
Line 249  A message to be shown to the students Line 249  A message to be shown to the students
     <i>name</i> which should be set to the value of which      <i>name</i> which should be set to the value of which
     &lt;hintpart&gt; will be shown.       &lt;hintpart&gt; will be shown. 
   </li>    </li>
     <li>
       <b>&lt;stringhint&gt;</b> has all the arguments that
       &lt;stringresponse&gt;, does and the required attribute
       <i>name</i> which should be set to the value of which
       &lt;hintpart&gt; will be shown. 
     </li>
     <li>
       <b>&lt;formulahint&gt;</b> has all the arguments that
       &lt;formularesponse&gt;, does and the required attribute
       <i>name</i> which should be set to the value of which
       &lt;hintpart&gt; will be shown. 
     </li>
     <li>
       <b>&lt;optionhint&gt;</b> required attribute <i>name</i>
       which should be set to the value of which &lt;hintpart&gt;
       will be shown.
     </li>
     <li>
       <b>&lt;radiobuttonhint&gt;</b> has the required attribute
       <i>name</i> which should be set to the value of which
       &lt;hintpart&gt; will be shown, and <i>answer</i> which
       should be a two element list, frist the type (foil or
       concept) and then either the foil's name or the concept's
       string
     </li>
  </ul>   </ul>
       </li>        </li>
       <li>        <li>
Line 260  A message to be shown to the students Line 285  A message to be shown to the students
  </p>   </p>
  <ul>   <ul>
   <li>    <li>
     <b>&lt;textarea&gt;</b> creates a Large text input box, If      <b>&lt;textfield&gt;</b> creates a Large text input box, If
     data appears between the start and end tags, the data will      data appears between the start and end tags, the data will
     appear i the textarea if the student has not yet made a      appear in the textfield if the student has not yet made a
     submission. Additionally it takes two arguments <i>rows</i>      submission. Additionally it takes two arguments <i>rows</i>
     and <i>cols</i> which control the height and width of the      and <i>cols</i> which control the height and width of the
     area respectively. It defaults to 10 and 80.      area respectively. It defaults to 10 and 80.
Line 507  A message to be shown to the students Line 532  A message to be shown to the students
     the web editor knows what sections should be edited in a      the web editor knows what sections should be edited in a
     plain text block on the web.      plain text block on the web.
   </li>    </li>
     <li>
       <b>&lt;comment&gt;</b> Allows one to comment out sections
       of code in a balanced manner, or to provide a comment
       description of how a problem works. Only shows up for the
       edit target, stripped out for all other targets.
     </li>
  </ul>   </ul>
       </li>        </li>
     </ul>      </ul>
Line 665  A message to be shown to the students Line 696  A message to be shown to the students
     <tr>      <tr>
              <td valign="top">/DIS($x,"nn")</td>               <td valign="top">/DIS($x,"nn")</td>
              <td valign="top">&amp;format($x,"nn")</td>               <td valign="top">&amp;format($x,"nn")</td>
              <td valign="top">Display or format $x as nn where nn is nF or nE and n is an integer.</td>               <td valign="top">Display or format $x as nn where nn is nF or nE and n is an integer. Also supports the first character being a $, it thjen will format the result with a call to &dollarformat() described below.</td>
              <td valign="top">&nbsp;The difference is obvious.</td>               <td valign="top">&nbsp;The difference is obvious.</td>
     </tr>      </tr>
   
     <tr>      <tr>
              <td valign="top">Not in CAPA</td>               <td valign="top">Not in CAPA</td>
              <td valign="top">&amp;prettyprint($x,"nn")</td>               <td valign="top">&amp;prettyprint($x,"nn")</td>
              <td valign="top">Display or format $x as nn where nn is nF or nE and n is an integer. In E mode it will attempt to generate a pretty x10^3 rather than a E3 following the number</td>               <td valign="top">Display or format $x as nn where nn is nF or nE and n is an integer. Also supports the first character being a $, it then will format the result with a a call to &dollarformat() described below. In E mode it will attempt to generate a pretty x10^3 rather than a E3 following the number</td>
              <td valign="top">&nbsp;</td>               <td valign="top">&nbsp;</td>
     </tr>      </tr>
   
     <tr>      <tr>
                <td valign="top">Not in CAPA</td>
                <td valign="top">&amp;dollarformat($x</td>
                <td valign="top">Reformats $x to have a $ (or \$ if in tex mode) and to have , grouping thousands.</td>
                <td valign="top">&nbsp;</td>
       </tr>
       <tr>
              <td valign="top">roundto(x,n)</td>               <td valign="top">roundto(x,n)</td>
              <td valign="top">&amp;roundto($x,$n)</td>               <td valign="top">&amp;roundto($x,$n)</td>
              <td valign="top">Rounds a real number to n decimal points. $x and               <td valign="top">Rounds a real number to n decimal points. $x and
Line 1013  A message to be shown to the students Line 1050  A message to be shown to the students
     </tr>      </tr>
      <tr>       <tr>
              <td valign="top">NOT IMPLEMENTED IN CAPA</td>               <td valign="top">NOT IMPLEMENTED IN CAPA</td>
              <td valign="top">@return_array=&random_permutation ($item_cnt,@array) </td>               <td valign="top">@return_array=&random_permutation ($seed,@array) </td>
              <td valign="top">Returns @array randomly permuted.</td>               <td valign="top">Returns @array randomly permuted.</td>
              <td valign="top">New to LON-CAPA</td>               <td valign="top">New to LON-CAPA</td>
     </tr>      </tr>
Line 1052  A message to be shown to the students Line 1089  A message to be shown to the students
              <td valign="top">New to LON-CAPA</td>               <td valign="top">New to LON-CAPA</td>
     </tr>      </tr>
  </table>   </table>
       <p>
         We also support these functions from Math::Cephes
   <pre>
    bdtr:  Binomial distribution
    bdtrc:  Complemented binomial distribution
    bdtri:  Inverse binomial distribution
    btdtr:  Beta distribution
    chdtr:  Chi-square distribution
    chdtrc:  Complemented Chi-square distribution
    chdtri:  Inverse of complemented Chi-square distribution
    fdtr:  F distribution
    fdtrc:  Complemented F distribution
    fdtri:  Inverse of complemented F distribution
    gdtr:  Gamma distribution function
    gdtrc:  Complemented gamma distribution function
    nbdtr:  Negative binomial distribution
    nbdtrc:  Complemented negative binomial distribution
    nbdtri:  Functional inverse of negative binomial distribution
    ndtr:  Normal distribution function
    ndtri:  Inverse of Normal distribution function
    pdtr:  Poisson distribution
    pdtrc:  Complemented poisson distribution
    pdtri:  Inverse Poisson distribution
    stdtr:  Student's t distribution
    stdtri:  Functional inverse of Student's t distribution
   </pre>
   Plase see <a href="http://search.cpan.org/author/RKOBES/Math-Cephes-0.36/lib/Math/Cephes.pod">Math::Cephes</a> for more information
   
       </p>
 <!-- insertion ends -->  <!-- insertion ends -->
   
     <h2>&lt;script&gt; Variables</h2>      <h2>&lt;script&gt; Variables</h2>
Line 1088  A message to be shown to the students Line 1154  A message to be shown to the students
     <ul>      <ul>
       <li>        <li>
  grade_target, grade_username, grade_domain, grade_symb - the   grade_target, grade_username, grade_domain, grade_symb - the
  vaules take precedence over the the normal ENV settings of   vaules take precedence over the the normal env settings of
  these, use &Apache::lonxml::whichuser() to get back the   these, use &Apache::lonxml::whichuser() to get back the
  correct vaues of the items   correct vaues of the items
       </li>        </li>
Line 1147  A message to be shown to the students Line 1213  A message to be shown to the students
     <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: Thu Jun  6 04:28:33 EDT 2002  Last modified: Wed Nov 13 17:33:43 EST 2002
 <!-- hhmts end -->  <!-- hhmts end -->
   </body>    </body>
 </html>  </html>

Removed from v.1.16  
changed lines
  Added in v.1.23


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