From: Chris S. <san...@us...> - 2005-11-27 11:31:07
|
Update of /cvsroot/stack/stack-1-0/lang/en/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8882/lang/en/doc Modified Files: about_install.php author_commonsyntax.php author_testsuite.php en_doc.php Log Message: Index: about_install.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/lang/en/doc/about_install.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** about_install.php 25 Nov 2005 16:02:21 -0000 1.6 --- about_install.php 27 Nov 2005 11:30:52 -0000 1.7 *************** *** 32,37 **** <li><b>Microsoft:</b> STACK has been tested on Windows XP and Windows 2000 using IIS and <a href="http://www.easyphp.org/">EasyPHP</a>. EasyPHP is by far the easiest ! platform on which to install STACK. However, this does not seem to be as efficient as Linux and ! may not be suitable for a production server.</li> </ul> --- 32,37 ---- <li><b>Microsoft:</b> STACK has been tested on Windows XP and Windows 2000 using IIS and <a href="http://www.easyphp.org/">EasyPHP</a>. EasyPHP is by far the easiest ! platform on which to install STACK. However, EasyPHP is <font color="red">not</font> ! suitable for a production server.</li> </ul> *************** *** 47,51 **** <li>You need to convex LaTeX to HTML with <a href="http://hutchinson.belmont.ma.us/tth/">TtH</a>. <li>The computer algebra system (<a href="#cas">see below</a>) ! <a href="http://maxima.sourceforge.net/">Maxima</a>. Version 5.9.1 (or later) is needed to include graphical support. (Note, for those on a Microsoft platform, the <a href="http://wxmaxima.sourceforge.net/">wxMaxima</a> front end is much better than that distributed with Maxima itself and is well worth installing for --- 47,52 ---- <li>You need to convex LaTeX to HTML with <a href="http://hutchinson.belmont.ma.us/tth/">TtH</a>. <li>The computer algebra system (<a href="#cas">see below</a>) ! <a href="http://maxima.sourceforge.net/">Maxima</a>. Version 5.9.1 is needed. Version 5.9.2 is the ! latest release, but is not currently supported - this will change in the near future. (Note, for those on a Microsoft platform, the <a href="http://wxmaxima.sourceforge.net/">wxMaxima</a> front end is much better than that distributed with Maxima itself and is well worth installing for *************** *** 81,86 **** <p><font color="red">WARNING! What these scripts attempt to do is inherently insecure.</font> This system is designed to ! execute arbitrary third party CAS code on your server, to create ! mathematical questions. This is inherently insecure, and you should be aware of the dangers. These are <em>in addition</em> to the normal security problems associated with interactive, --- 82,88 ---- <p><font color="red">WARNING! What these scripts attempt to do is inherently insecure.</font> This system is designed to ! execute CAS code typed in by your student (or indeed an arbitrary third party) ! on your server, to create and mark mathematical questions. ! This is inherently insecure, and you should be aware of the dangers. These are <em>in addition</em> to the normal security problems associated with interactive, *************** *** 101,108 **** <h2><a href="http://www.php.net/">PHP</a></h2> ! STACK needs no special PHP settings, although the function <tt>proc_open</tt> ! must be available to establish a connection with the external applications. ! <p>For mail, use the <a href="http://pear.php.net/">pear class</a>. For example in Linux, to install this from the command line, type <tt>pear install mail</tt>, for example.<br /> --- 103,117 ---- <h2><a href="http://www.php.net/">PHP</a></h2> ! STACK needs ! <ul> ! <li><em>sessions</em> to be enabled.</li> ! <li>the function <tt>proc_open</tt> ! must be available to establish a connection with the external applications.</li> ! </ul> ! There are enabled by default. Apart from this ! requirement there are no special PHP settings. ! <p>For mail alterts (which are not fully implemented) ! , use the <a href="http://pear.php.net/">pear class</a>. For example in Linux, to install this from the command line, type <tt>pear install mail</tt>, for example.<br /> *************** *** 117,121 **** downloads.</p> ! <p>For reference, the Linux test system adopted the following options. <br /><tt>./configure --with-mysql --with-apache --with-gd --with-zlib</tt> </p> --- 126,130 ---- downloads.</p> ! <p>For reference, I use Linux with the following options. <br /><tt>./configure --with-mysql --with-apache --with-gd --with-zlib</tt> </p> Index: author_testsuite.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/lang/en/doc/author_testsuite.php,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** author_testsuite.php 19 Nov 2005 16:37:08 -0000 1.22 --- author_testsuite.php 27 Nov 2005 11:30:52 -0000 1.23 *************** *** 184,192 **** $testsuite[] = stack_testsuite_construct('PartFrac','1/m','1/n',0,'n','Basic tests'); $testsuite[] = stack_testsuite_construct('PartFrac','1/n','1/n',0,'n',''); ! $testsuite[] = stack_testsuite_construct('PartFrac','1/(n+1)-1/n','1/(n+1)-1/n',1,'n','A simple correct answer'); $testsuite[] = stack_testsuite_construct('PartFrac','3/(x+1) + 3/(x+2)','3*(2*x+3)/((x+1)*(x+2))',1,'x','2 answers to the same question'); $testsuite[] = stack_testsuite_construct('PartFrac','3*(1/(x+1) + 1/(x+2))','3*(2*x+3)/((x+1)*(x+2))',1,'x',''); - $testsuite[] = stack_testsuite_construct('PartFrac','1/(n+1)+1/(1-n)','1/(n+1)-1/(n-1)',1,'n',''); - $testsuite[] = stack_testsuite_construct('PartFrac','3*(1/(n+1)+1/(1-n))','3/(n+1)-3/(n-1)',1,'n',''); $testsuite[] = stack_testsuite_construct('PartFrac','3*x*(1/(x+1) + 2/(x+2))','-12/(x+2)-3/(x+1)+9',0,'x','Incorrect algebraic factors, but algebraically equivalent'); $testsuite[] = stack_testsuite_construct('PartFrac','(3*x+3)*(1/(x+1) + 2/(x+2))','9-6/(x+2)',0,'x',''); --- 184,195 ---- $testsuite[] = stack_testsuite_construct('PartFrac','1/m','1/n',0,'n','Basic tests'); $testsuite[] = stack_testsuite_construct('PartFrac','1/n','1/n',0,'n',''); ! $testsuite[] = stack_testsuite_construct('PartFrac','1/(n+1)-1/n','1/(n+1)-1/n',1,'n','A simple cases, linear factors in demoninator'); ! $testsuite[] = stack_testsuite_construct('PartFrac','1/(n+1)+1/(1-n)','1/(n+1)-1/(n-1)',1,'n',''); ! $testsuite[] = stack_testsuite_construct('PartFrac','1/(2*(n-1))-1/(2*(n+1))','1/((n-1)*(n+1))',1,'n',''); ! $testsuite[] = stack_testsuite_construct('PartFrac','1/(2*(n+1))-1/(2*(n-1))','1/((n-1)*(n+1))',0,'n',''); ! $testsuite[] = stack_testsuite_construct('PartFrac','1/(2*(x-1))-(x+1)/(2*(x^2+1))','1/((x-1)*(x^2+1))',1,'x','Irreducible quadratic in demoninator'); ! $testsuite[] = stack_testsuite_construct('PartFrac','1/(2*(x-1))+x/(2*(x^2+1))','1/((x-1)*(x^2+1))',0,'x',''); $testsuite[] = stack_testsuite_construct('PartFrac','3/(x+1) + 3/(x+2)','3*(2*x+3)/((x+1)*(x+2))',1,'x','2 answers to the same question'); $testsuite[] = stack_testsuite_construct('PartFrac','3*(1/(x+1) + 1/(x+2))','3*(2*x+3)/((x+1)*(x+2))',1,'x',''); $testsuite[] = stack_testsuite_construct('PartFrac','3*x*(1/(x+1) + 2/(x+2))','-12/(x+2)-3/(x+1)+9',0,'x','Incorrect algebraic factors, but algebraically equivalent'); $testsuite[] = stack_testsuite_construct('PartFrac','(3*x+3)*(1/(x+1) + 2/(x+2))','9-6/(x+2)',0,'x',''); Index: author_commonsyntax.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/lang/en/doc/author_commonsyntax.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** author_commonsyntax.php 8 Nov 2005 09:41:39 -0000 1.6 --- author_commonsyntax.php 27 Nov 2005 11:30:52 -0000 1.7 *************** *** 124,134 **** </ol> - <p>For the purposes of learning and teaching, we do not need an algorithm which is statistically perfect. We are much more interested in simplicity, efficiency and reproducibility across platforms. Hence, we adopt a linear method.</p> - - <h2>Plots</h2> --- 124,131 ---- *************** *** 155,156 **** --- 152,165 ---- <?php disp_cas('calculus') ?> + + <h2>"Powers"</h2> + + <p>Maxima has a package called <tt>powers</tt>, which contains many useful functions. This is automatically + loaded, and so the functions are available to the user. If you need to use these function within the + Maxima application itself, you will need to <tt>load("powers")</tt> first.</p> + + <p>See also the <tt>format</tt> package, which is also available with its own + <a href="scripts/maxima/format/format.pdf">documentation</a>.</p> + + + <?php disp_cas('powers') ?> Index: en_doc.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/lang/en/doc/en_doc.php,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** en_doc.php 19 Nov 2005 16:37:08 -0000 1.16 --- en_doc.php 27 Nov 2005 11:30:52 -0000 1.17 *************** *** 237,246 **** by the system. The <tt>String</tt> representation is exactly the CAS string. LaTeX uses the CAS's tex() function, and then passes ! the result through TTH. MathML is not implemented in all CAS ! systems. The \"LaTeX Source\" option generates LaTeX code, but does ! not process it. This can be cut and pasted into other LaTeX documents."; ! $stackOptions['Complex no']['doc']="This prints that complex number <tt>sqrt(-1)=j</tt>. ! Note, this only works in LaTeX display mode."; $stackOptions['MultiplicationSign']['doc']="This option allows the display of multiplication --- 237,248 ---- by the system. The <tt>String</tt> representation is exactly the CAS string. LaTeX uses the CAS's tex() function, and then passes ! the result through TTH. ! The \"LaTeX Source\" option generates LaTeX code, but does ! not process it. This can be cut and pasted into other LaTeX documents. ! <em>MathML is not fully implemented.</em>"; ! $stackOptions['Complex no']['doc']="This chooses how to print the complex ! number <tt>sqrt(-1)</tt>, either <em>i</em>, <em>j</em>."; ! //<em><font face="symbol">Ö</font><font face="symbol">-</font>1</em>. $stackOptions['MultiplicationSign']['doc']="This option allows the display of multiplication *************** *** 326,332 **** the <tt>AnswerTest</tt>. Not all <tt>AnswerTest</tt>'s require one. See the specific documentation. This option is considered to be a CASString, and so if non-empty must be a valid CASString."; - $stackOptions['TeacherEmail']['doc']="This is the email address that appears on the page for students - to email help"; - $stackOptions['FeedBackGenericCorrect']['doc']="This is the string displayed to the student when their answer gets full marks, in addition to anything from the response processing tree or answer tests."; $stackOptions['FeedBackGenericIncorrect']['doc']="This is the string displayed to the student when their answer gets full marks, in addition to anything from the response processing tree or answer tests."; --- 328,331 ---- |