File:  [LON-CAPA] / loncom / html / adm / dragmath / applet / Maxima.html
Revision 1.1: download - view: text, annotated - select for diffs
Fri May 30 16:04:37 2008 UTC (16 years, 2 months ago) by www
Branches: MAIN
CVS tags: version_2_9_X, version_2_9_99_0, version_2_9_1, version_2_9_0, version_2_8_X, version_2_8_99_1, version_2_8_99_0, version_2_8_2, version_2_8_1, version_2_8_0, version_2_7_X, version_2_7_99_1, version_2_7_99_0, version_2_7_1, version_2_7_0, version_2_6_99_1, version_2_6_99_0, version_2_11_0_RC1, version_2_10_X, version_2_10_1, version_2_10_0_RC2, version_2_10_0_RC1, version_2_10_0, loncapaMITrelate_1, language_hyphenation_merge, language_hyphenation, bz6209-base, bz6209, bz5969, bz2851, PRINT_INCOMPLETE_base, PRINT_INCOMPLETE, HEAD, GCI_3, GCI_2, GCI_1, BZ5971-printing-apage, BZ5434-fox, BZ4492-merge, BZ4492-feature_horizontal_radioresponse
Bug #5713: Dragmath

    1: <html>
    2: <head>
    3: <title>DragMath Maxima Example</title>
    4: 
    5: <script language="JavaScript">
    6: var thedata;
    7: var newwin;
    8: var thenumber;
    9: function edit(textarea)
   10: {
   11:     thenumber = textarea;
   12:     thedata = document.forms['exampleform'].elements[textarea].value
   13: 
   14:     newwin = window.open("MaximaPopup.html","","width=565,height=400,resizable")
   15: }
   16: </script>
   17: </head>
   18: 
   19: 
   20: <body>
   21: <DIV align=left><FONT face=Arial color=#000080 
   22: size=6><STRONG>DragMath Maxima Example</STRONG></FONT></DIV>
   23: <br><br>
   24: 
   25: <FORM name="exampleform">
   26: 
   27: <p>Factorise 20*x+5
   28: <br>
   29: <input type="text" id="data0" name="data0" cols="15" />
   30: <input type="button" value="Editor" onclick="edit('data0')">
   31: </p>
   32: 
   33: <p>Differentiate 2·x5+2·x4-x3+3·x2-2·x with respect to x
   34: <br>
   35: <input type="text" id="data1" name="data1" cols="15">
   36: <input type="button" value="Editor" onclick="edit('data1')">
   37: </p>
   38: 
   39: <p>Integrate cos( 5·x ) with respect to x
   40: <br>
   41: <input type="text" id="data3" name="data3" cols="15">
   42: <input type="button" value="Editor" onclick="edit('data3')">
   43: </p>
   44: 
   45: <input type="submit" name="submit" value="Submit" />
   46: </FORM>
   47: 
   48: </body>
   49: </html>

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