Update of /cvsroot/stack/stack-1-0/lang/en/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17646/lang/en/doc Modified Files: about_install.php author_gettingstarted.php author_testsuite.php student_assessmentmode.php student_input.php student_practicemode.php Log Message: Merging of Paul Kiddie's work into main STACK HEAD branch Index: about_install.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/lang/en/doc/about_install.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** about_install.php 14 Jul 2005 18:44:54 -0000 1.2 --- about_install.php 25 Aug 2005 16:06:17 -0000 1.3 *************** *** 1,384 **** ! <?php ! /** ! * Details of how to install STACK. ! * ! * @package documentation ! * @subpackage Stack ! * ! */ ! ! ?> [...1149 lines suppressed...] ! ! ! These classifications are given in the file, ! ! <tt>maximafun.php</tt>, which you can and should edit. <em>Once ! ! you have edited this file, you need to execute the file ! ! <tt>initmaxima.php</tt> to re-create ! ! <tt>CASkeywords.php</tt>.</em> (This in turn has been generated ! ! directly from the Maxima docs using another script, which you ! ! need not use). ! ! ! ! </p> ! Index: student_input.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/lang/en/doc/student_input.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** student_input.php 14 Jul 2005 17:46:58 -0000 1.2 --- student_input.php 25 Aug 2005 16:06:17 -0000 1.3 *************** *** 1,240 **** ! <?php ! /** ! * ! * STACK: A system for teaching and assessment using a ! * computer algebra kernel. ! * <br> ! * This file is licensed under the GPL License. ! * <br> ! * A copy of the license is in your STACK distribution called ! * license.txt. If you are missing this file you can obtain ! * it from: ! * http://www.stack.bham.ac.uk/license.txt ! * <br> ! * Copyright (c) 2005, Christopher James Sangwin ! * ! * @author Chris Sangwin C.J...@bh... ! * ! * @package documentation ! * @subpackage Stack ! */ ! ! ! ?> ! ! <a name="entry"><h2>How do I enter my answers?</h2></a> ! ! You should type in your answers using the same syntax used in the ! symbolic mathematics package, known as a computer algebra system ! (cas), underpinning your implementation. This could be ! either <i>Axiom</i> or <i>Maxima</i>. The syntax is broadly similar ! to the syntax used for mathematical formulae in general programming ! languages such as Java, C and Basic and in spreadsheet programs such ! as Excel, so you will find it useful to master it. If you are ! taking the Applied Mathematics Core course AMA101 then you will ! learn to use such a system there. If you are not, the advice below should ! be sufficient. Stack tries quite hard to give helpful information ! about syntax errors. You can also learn about the right syntax by ! doing tests in practice mode and asking for ! the solutions; as well as displaying the right answers in ordinary ! mathematical notation, Stack will tell you how they could be ! entered. (However, there are often several possible ways, and Stack ! will not always suggest the easiest one.) ! <br /><br /> ! When you have entered your answer, you can always click on the ! <b>Validate</b> button at the bottom of the page to see how the CAS will ! interpret it. If there are any syntax errors or the cas has ! misunderstood what you meant then you can fix the problem before ! asking Stack to mark your work. ! ! <ul> ! <li> Numbers like <font color="BLUE">1/4</font> should be entered as ! <tt><font color="GREEN">1/4</font></tt>, not as ! <tt><font color="GREEN">0.25</font></tt>, which can cause some ! subtle problems. ! </li> ! <li> Use a star for multiplication: for example, ! <font color="BLUE">3x</font> should be ! entered as <tt><font color="GREEN">3*x</font></tt>. Forgetting this ! is by far the most ! common source of syntax errors. Note that you do <b>not</b> need ! a semicolon at the end, unlike when you are using a CAS directly. ! <br /><br /></li> ! <li> Use a caret (^) for raising something to a power: for example, ! <font color="BLUE">x<sup>2</sup></font> should be entered as ! <tt><font color="GREEN">x^2</font></tt>. You can get ! a caret by holding down the SHIFT key and pressing the 6 key ! on most keyboards. Negative or fractional powers need brackets: ! enter <font color="BLUE">x<sup>-2</sup></font> as ! <tt><font color="GREEN">x^(-2)</font></tt> ! and <font color="BLUE">x<sup>1/3</sup></font> as ! <tt><font color="GREEN">x^(1/3)</font></tt>. ! <br /><br /></li> ! <li> More generally, when in doubt, use brackets. For example, ! <font color="BLUE"> ! <center><table border="0" align="center"><tbody><tr><td> ! <table align="left"><tbody><tr><td nowrap="nowrap" align="center"> ! </td><td nowrap="nowrap" align="center"> ! a + b<hr noshade="noshade"> ! c + d <br /></td><td nowrap="nowrap" align="center"> ! </td></tr></tbody></table> ! </td></tr></tbody></table></center> ! </font> ! should be entered as ! <tt><font color="GREEN">(a+b)/(c+d)</font></tt>. ! Note that in this context you should always use ordinary round ! bracket (like <tt><font color="GREEN">(a+b)</font></tt>), not ! square or curly ones (like <tt><font color="GREEN">[a+b]</font></tt> ! or <tt><font color="GREEN">{a+b}</font></tt>). ! <br /> ! If you type ! <tt><font color="GREEN">a+b/(c+d)</font></tt>, then Stack ! will think that you mean ! <font color="BLUE"> ! <center><table border="0" align="center"><tbody><tr><td> ! <table align="left"><tbody><tr><td nowrap="nowrap" align="center"> ! a +</td><td nowrap="nowrap" align="center"> ! b<hr noshade="noshade"> ! c + d<br /></td><td nowrap="nowrap" align="center"> ! </td></tr></tbody></table> ! </td></tr></tbody></table></center> ! </font> ! If you type <tt><font color="GREEN">(a+b)/c+d</font></tt>, then Stack ! will think that you mean ! <font color="BLUE"> ! <center><table border="0" align="center"><tbody><tr><td> ! <table align="left"><tbody><tr><td nowrap="nowrap" align="center"> ! </td><td nowrap="nowrap" align="center"> ! a + b<hr noshade="noshade"> ! c<br /></td><td nowrap="nowrap" align="center"> ! + d </td></tr></tbody></table> ! </td></tr></tbody></table></center> ! </font> ! If you type <tt><font color="GREEN">a+b/c+d</font></tt>, then Stack ! will think that you mean ! <font color="BLUE"> ! <center><table border="0" align="center"><tbody><tr><td> ! <table align="left"><tbody><tr><td nowrap="nowrap" align="center"> ! a +</td><td nowrap="nowrap" align="center"> ! b<hr noshade="noshade"> ! c<br /></td><td nowrap="nowrap" align="center"> ! + d </td></tr></tbody></table> ! </td></tr></tbody></table></center> ! </font> ! <br /> ! Some other examples: ! <ul> ! <li> ! <font color="BLUE">2<sup>a+b</sup></font> should be entered as ! <tt><font color="GREEN">2^(a+b)</font></tt> ! </li> ! <li> ! <font color="BLUE">2 cos 3x</font> should be entered as ! <tt><font color="GREEN">2*cos(3*x)</font></tt> ! </li> ! <li> ! <font color="BLUE">e<sup>ax</sup>sin(bx)</font> should be entered as ! <tt><font color="GREEN">exp(a*x)*sin(b*x)</font></tt> ! </li> ! <li> ! <font color="BLUE">(a x<sup>2</sup> + b x + c)<sup>-1</sup></font> ! should be entered as ! <tt><font color="GREEN">(a*x^2 + b*x + c)^(-1)</font></tt>. ! </li> ! </ul> ! <br /><br /></li> ! <li>the CAS system is case-sensitive. Do not enter ! <tt><font color="GREEN">X</font></tt> instead of ! <tt><font color="GREEN">x</font></tt>, or ! <tt><font color="GREEN">a</font></tt> instead of ! <tt><font color="GREEN">A</font></tt>, or ! <tt><font color="GREEN">Log(Z)</font></tt> instead of ! <tt><font color="GREEN">log(z)</font></tt>. ! </li> ! <li>The absolute value of <font color="BLUE">x</font>, which is ! written as <font color="BLUE">|x|</font> in traditional notation, ! must be entered as <tt><font color="GREEN">abs(x)</font></tt>. ! </li> ! <li> ! Standard functions such as sin, cos, tan, exp, log and so on can ! be entered using their usual names. However, the argument must ! <font color="RED">always</font> be enclosed in brackets: ! <font color="BLUE">sin x</font> should be entered as ! <tt><font color="GREEN">sin(x)</font></tt>, ! <font color="BLUE">ln 3</font> should be entered as ! <tt><font color="GREEN">ln(3)</font></tt> and so on. You can use ! either <tt><font color="GREEN">log(x)</font></tt> or ! <tt><font color="GREEN">ln(x)</font></tt> for ! the natural logarithm of x (note that both of these start with a ! lower case l, not a capital I). The function ! <font color="BLUE">1/sin(x)</font> must be ! referred to as <tt><font color="GREEN">csc(x)</font></tt> rather ! than <tt><font color="GREEN">cosec(x)</font></tt> (or you can just call ! it <tt><font color="GREEN">1/sin(x)</font></tt> if you prefer). You ! should always write ! <tt><font color="GREEN">exp(x)</font></tt> for ! <font color="BLUE">e<sup>x</sup></font>. ! <br /><br /></li> ! <li> ! <font color="BLUE">sin<sup>2</sup>x</font> should be entered as ! <tt><font color="GREEN">sin(x)^2</font></tt> (which is ! what it really means, after all). Similarly for ! <font color="BLUE">tan<sup>2</sup>(x)</font>, ! <font color="BLUE">sinh<sup>2</sup>(x)</font> and so on. ! <br /><br /></li> ! <li> ! Recall that <font color="BLUE">sin<sup>-1</sup>(x)</font> ! traditionally means the number <font color="BLUE">t</font> such that ! <font color="BLUE">sin(t) = x</font>, which is of ! course completely different from the number ! <font color="BLUE">sin(x)<sup>-1</sup> = 1/sin(x)</font>. This ! traditional notation is really rather unfortunate and is not used ! by the CAS; instead, <font color="BLUE">sin<sup>-1</sup>(x)</font> ! should be entered as <tt><font color="GREEN">arcsin(x)</font></tt>. ! Similarly, <font color="BLUE">tan<sup>-1</sup>(x)</font> should be ! entered as <tt><font color="GREEN">arctan(x)</font></tt> and so on. ! <br /><br /></li> ! <li> ! Greek letters can be entered using their English names: for ! example, enter ! <font face="SYMBOL" color="BLUE">a+b</font> ! as <tt><font color="GREEN">alpha+beta</font></tt>, and ! <font face="SYMBOL" color="BLUE">2p</font> ! as <tt><font color="GREEN">2*pi</font></tt>. ! <br /><br /></li> ! <li> ! When you work directly with a CAS, the vector <font color="BLUE">(1,2,3)</font> must be entered as ! <tt><font color="GREEN">vector([1,2,3])</font></tt>. Many Stack ! questions are set up so that you can just enter <tt><font color="green">[1,2,3]</font></tt> instead. ! </li> ! <li> ! When you work directly with a CAS, the matrix ! <font color="BLUE"> ! </font><center><table border="0" align="center"><tbody><tr><td> ! <table align="left"><tbody><tr><td nowrap="nowrap" align="center"> ! </td><td align="left"><font face="symbol"> ! é<br />ê<br /> ! ë ! </font></td><td align="center"> ! </td><td nowrap="nowrap"><table border="0" align="left"><tbody><tr><td nowrap="nowrap" align="center"> ! <table border="0"><tbody><tr><td nowrap="nowrap" align="center"> ! 1 </td></tr></tbody></table></td><td nowrap="nowrap" align="center"> ! <table border="0"><tbody><tr><td nowrap="nowrap" align="center"> ! 2 </td></tr></tbody></table></td><td nowrap="nowrap" align="center"> ! <table border="0"><tbody><tr><td nowrap="nowrap" align="center"> ! 3 </td></tr></tbody></table></td></tr><tr><td nowrap="nowrap" align="center" colspan="1"><table border="0"><tbody><tr><td nowrap="nowrap" align="center"> ! 4 </td></tr></tbody></table></td><td nowrap="nowrap" align="center"> ! <table border="0"><tbody><tr><td nowrap="nowrap" align="center"> ! 5 </td></tr></tbody></table></td><td nowrap="nowrap" align="center"> ! <table><tbody><tr><td nowrap="nowrap" align="center" colspan="1">6</td></tr></tbody></table></td></tr></tbody></table> ! </td><td nowrap="nowrap"></td><td align="left"><font face="symbol"> ! ù<br />ú<br /> ! û ! </font></td><td align="center"> ! </td></tr></tbody></table> ! </td></tr></tbody></table></center> ! ! must be entered as ! <tt><font color="GREEN">matrix([1,2,3],[4,5,6])</font></tt>. ! </li> ! </ul> --- 1,480 ---- ! <?php ! ! /** ! ! * ! ! * STACK: A system for teaching and assessment using a ! ! * computer algebra kernel. ! ! * <br> ! ! * This file is licensed under the GPL License. ! ! * <br> ! ! * A copy of the license is in your STACK distribution called ! ! * license.txt. If you are missing this file you can obtain ! ! * it from: ! ! * http://www.stack.bham.ac.uk/license.txt ! ! * <br> ! ! * Copyright (c) 2005, Christopher James Sangwin ! ! * ! ! * @author Chris Sangwin C.J...@bh... ! ! * ! ! * @package documentation ! ! * @subpackage Stack ! ! */ ! ! ! ! ! ! ?> ! ! ! ! <a name="entry"><h2>How do I enter my answers?</h2></a> ! ! ! ! You should type in your answers using the same syntax used in the ! ! symbolic mathematics package, known as a computer algebra system ! ! (cas), underpinning your implementation. This could be ! ! either <i>Axiom</i> or <i>Maxima</i>. The syntax is broadly similar ! ! to the syntax used for mathematical formulae in general programming ! ! languages such as Java, C and Basic and in spreadsheet programs such ! ! as Excel, so you will find it useful to master it. If you are ! ! taking the Applied Mathematics Core course AMA101 then you will ! ! learn to use such a system there. If you are not, the advice below should ! ! be sufficient. Stack tries quite hard to give helpful information ! ! about syntax errors. You can also learn about the right syntax by ! ! doing tests in practice mode and asking for ! ! the solutions; as well as displaying the right answers in ordinary ! ! mathematical notation, Stack will tell you how they could be ! ! entered. (However, there are often several possible ways, and Stack ! ! will not always suggest the easiest one.) ! ! <br /><br /> ! ! When you have entered your answer, you can always click on the ! ! <b>Validate</b> button at the bottom of the page to see how the CAS will ! ! interpret it. If there are any syntax errors or the cas has ! ! misunderstood what you meant then you can fix the problem before ! ! asking Stack to mark your work. ! ! ! ! <ul> ! ! <li> Numbers like <font color="BLUE">1/4</font> should be entered as ! ! <tt><font color="GREEN">1/4</font></tt>, not as ! ! <tt><font color="GREEN">0.25</font></tt>, which can cause some ! ! subtle problems. ! ! </li> ! ! <li> Use a star for multiplication: for example, ! ! <font color="BLUE">3x</font> should be ! ! entered as <tt><font color="GREEN">3*x</font></tt>. Forgetting this ! ! is by far the most ! ! common source of syntax errors. Note that you do <b>not</b> need ! ! a semicolon at the end, unlike when you are using a CAS directly. ! ! <br /><br /></li> ! ! <li> Use a caret (^) for raising something to a power: for example, ! ! <font color="BLUE">x<sup>2</sup></font> should be entered as ! ! <tt><font color="GREEN">x^2</font></tt>. You can get ! ! a caret by holding down the SHIFT key and pressing the 6 key ! ! on most keyboards. Negative or fractional powers need brackets: ! ! enter <font color="BLUE">x<sup>-2</sup></font> as ! ! <tt><font color="GREEN">x^(-2)</font></tt> ! ! and <font color="BLUE">x<sup>1/3</sup></font> as ! ! <tt><font color="GREEN">x^(1/3)</font></tt>. ! ! <br /><br /></li> ! ! <li> More generally, when in doubt, use brackets. For example, ! ! <font color="BLUE"> ! ! <center><table border="0" align="center"><tbody><tr><td> ! ! <table align="left"><tbody><tr><td nowrap="nowrap" align="center"> ! ! </td><td nowrap="nowrap" align="center"> ! ! a + b<hr noshade="noshade"> ! ! c + d <br /></td><td nowrap="nowrap" align="center"> ! ! </td></tr></tbody></table> ! ! </td></tr></tbody></table></center> ! ! </font> ! ! should be entered as ! ! <tt><font color="GREEN">(a+b)/(c+d)</font></tt>. ! ! Note that in this context you should always use ordinary round ! ! bracket (like <tt><font color="GREEN">(a+b)</font></tt>), not ! ! square or curly ones (like <tt><font color="GREEN">[a+b]</font></tt> ! ! or <tt><font color="GREEN">{a+b}</font></tt>). ! ! <br /> ! ! If you type ! ! <tt><font color="GREEN">a+b/(c+d)</font></tt>, then Stack ! ! will think that you mean ! ! <font color="BLUE"> ! ! <center><table border="0" align="center"><tbody><tr><td> ! ! <table align="left"><tbody><tr><td nowrap="nowrap" align="center"> ! ! a +</td><td nowrap="nowrap" align="center"> ! ! b<hr noshade="noshade"> ! ! c + d<br /></td><td nowrap="nowrap" align="center"> ! ! </td></tr></tbody></table> ! ! </td></tr></tbody></table></center> ! ! </font> ! ! If you type <tt><font color="GREEN">(a+b)/c+d</font></tt>, then Stack ! ! will think that you mean ! ! <font color="BLUE"> ! ! <center><table border="0" align="center"><tbody><tr><td> ! ! <table align="left"><tbody><tr><td nowrap="nowrap" align="center"> ! ! </td><td nowrap="nowrap" align="center"> ! ! a + b<hr noshade="noshade"> ! ! c<br /></td><td nowrap="nowrap" align="center"> ! ! + d </td></tr></tbody></table> ! ! </td></tr></tbody></table></center> ! ! </font> ! ! If you type <tt><font color="GREEN">a+b/c+d</font></tt>, then Stack ! ! will think that you mean ! ! <font color="BLUE"> ! ! <center><table border="0" align="center"><tbody><tr><td> ! ! <table align="left"><tbody><tr><td nowrap="nowrap" align="center"> ! ! a +</td><td nowrap="nowrap" align="center"> ! ! b<hr noshade="noshade"> ! ! c<br /></td><td nowrap="nowrap" align="center"> ! ! + d </td></tr></tbody></table> ! ! </td></tr></tbody></table></center> ! ! </font> ! ! <br /> ! ! Some other examples: ! ! <ul> ! ! <li> ! ! <font color="BLUE">2<sup>a+b</sup></font> should be entered as ! ! <tt><font color="GREEN">2^(a+b)</font></tt> ! ! </li> ! ! <li> ! ! <font color="BLUE">2 cos 3x</font> should be entered as ! ! <tt><font color="GREEN">2*cos(3*x)</font></tt> ! ! </li> ! ! <li> ! ! <font color="BLUE">e<sup>ax</sup>sin(bx)</font> should be entered as ! ! <tt><font color="GREEN">exp(a*x)*sin(b*x)</font></tt> ! ! </li> ! ! <li> ! ! <font color="BLUE">(a x<sup>2</sup> + b x + c)<sup>-1</sup></font> ! ! should be entered as ! ! <tt><font color="GREEN">(a*x^2 + b*x + c)^(-1)</font></tt>. ! ! </li> ! ! </ul> ! ! <br /><br /></li> ! ! <li>the CAS system is case-sensitive. Do not enter ! ! <tt><font color="GREEN">X</font></tt> instead of ! ! <tt><font color="GREEN">x</font></tt>, or ! ! <tt><font color="GREEN">a</font></tt> instead of ! ! <tt><font color="GREEN">A</font></tt>, or ! ! <tt><font color="GREEN">Log(Z)</font></tt> instead of ! ! <tt><font color="GREEN">log(z)</font></tt>. ! ! </li> ! ! <li>The absolute value of <font color="BLUE">x</font>, which is ! ! written as <font color="BLUE">|x|</font> in traditional notation, ! ! must be entered as <tt><font color="GREEN">abs(x)</font></tt>. ! ! </li> ! ! <li> ! ! Standard functions such as sin, cos, tan, exp, log and so on can ! ! be entered using their usual names. However, the argument must ! ! <font color="RED">always</font> be enclosed in brackets: ! ! <font color="BLUE">sin x</font> should be entered as ! ! <tt><font color="GREEN">sin(x)</font></tt>, ! ! <font color="BLUE">ln 3</font> should be entered as ! ! <tt><font color="GREEN">ln(3)</font></tt> and so on. You can use ! ! either <tt><font color="GREEN">log(x)</font></tt> or ! ! <tt><font color="GREEN">ln(x)</font></tt> for ! ! the natural logarithm of x (note that both of these start with a ! ! lower case l, not a capital I). The function ! ! <font color="BLUE">1/sin(x)</font> must be ! ! referred to as <tt><font color="GREEN">csc(x)</font></tt> rather ! ! than <tt><font color="GREEN">cosec(x)</font></tt> (or you can just call ! ! it <tt><font color="GREEN">1/sin(x)</font></tt> if you prefer). You ! ! should always write ! ! <tt><font color="GREEN">exp(x)</font></tt> for ! ! <font color="BLUE">e<sup>x</sup></font>. ! ! <br /><br /></li> ! ! <li> ! ! <font color="BLUE">sin<sup>2</sup>x</font> should be entered as ! ! <tt><font color="GREEN">sin(x)^2</font></tt> (which is ! ! what it really means, after all). Similarly for ! ! <font color="BLUE">tan<sup>2</sup>(x)</font>, ! ! <font color="BLUE">sinh<sup>2</sup>(x)</font> and so on. ! ! <br /><br /></li> ! ! <li> ! ! Recall that <font color="BLUE">sin<sup>-1</sup>(x)</font> ! ! traditionally means the number <font color="BLUE">t</font> such that ! ! <font color="BLUE">sin(t) = x</font>, which is of ! ! course completely different from the number ! ! <font color="BLUE">sin(x)<sup>-1</sup> = 1/sin(x)</font>. This ! ! traditional notation is really rather unfortunate and is not used ! ! by the CAS; instead, <font color="BLUE">sin<sup>-1</sup>(x)</font> ! ! should be entered as <tt><font color="GREEN">arcsin(x)</font></tt>. ! ! Similarly, <font color="BLUE">tan<sup>-1</sup>(x)</font> should be ! ! entered as <tt><font color="GREEN">arctan(x)</font></tt> and so on. ! ! <br /><br /></li> ! ! <li> ! ! Greek letters can be entered using their English names: for ! ! example, enter ! ! <font face="SYMBOL" color="BLUE">a+b</font> ! ! as <tt><font color="GREEN">alpha+beta</font></tt>, and ! ! <font face="SYMBOL" color="BLUE">2p</font> ! ! as <tt><font color="GREEN">2*pi</font></tt>. ! ! <br /><br /></li> ! ! <li> ! ! When you work directly with a CAS, the vector <font color="BLUE">(1,2,3)</font> must be entered as ! ! <tt><font color="GREEN">vector([1,2,3])</font></tt>. Many Stack ! ! questions are set up so that you can just enter <tt><font color="green">[1,2,3]</font></tt> instead. ! ! </li> ! ! <li> ! ! When you work directly with a CAS, the matrix ! ! <font color="BLUE"> ! ! </font><center><table border="0" align="center"><tbody><tr><td> ! ! <table align="left"><tbody><tr><td nowrap="nowrap" align="center"> ! ! </td><td align="left"><font face="symbol"> ! ! é<br />ê<br /> ! ! ë ! ! </font></td><td align="center"> ! ! </td><td nowrap="nowrap"><table border="0" align="left"><tbody><tr><td nowrap="nowrap" align="center"> ! ! <table border="0"><tbody><tr><td nowrap="nowrap" align="center"> ! ! 1 </td></tr></tbody></table></td><td nowrap="nowrap" align="center"> ! ! <table border="0"><tbody><tr><td nowrap="nowrap" align="center"> ! ! 2 </td></tr></tbody></table></td><td nowrap="nowrap" align="center"> ! ! <table border="0"><tbody><tr><td nowrap="nowrap" align="center"> ! ! 3 </td></tr></tbody></table></td></tr><tr><td nowrap="nowrap" align="center" colspan="1"><table border="0"><tbody><tr><td nowrap="nowrap" align="center"> ! ! 4 </td></tr></tbody></table></td><td nowrap="nowrap" align="center"> ! ! <table border="0"><tbody><tr><td nowrap="nowrap" align="center"> ! ! 5 </td></tr></tbody></table></td><td nowrap="nowrap" align="center"> ! ! <table><tbody><tr><td nowrap="nowrap" align="center" colspan="1">6</td></tr></tbody></table></td></tr></tbody></table> ! ! </td><td nowrap="nowrap"></td><td align="left"><font face="symbol"> ! ! ù<br />ú<br /> ! ! û ! ! </font></td><td align="center"> ! ! </td></tr></tbody></table> ! ! </td></tr></tbody></table></center> ! ! ! ! must be entered as ! ! <tt><font color="GREEN">matrix([1,2,3],[4,5,6])</font></tt>. ! ! </li> ! ! </ul> ! Index: author_gettingstarted.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/lang/en/doc/author_gettingstarted.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** author_gettingstarted.php 14 Jul 2005 18:19:57 -0000 1.4 --- author_gettingstarted.php 25 Aug 2005 16:06:17 -0000 1.5 *************** *** 1,510 **** ! <?php ! /** ! * An authoring guide for STACK questions. ! * ! * @package documentation ! * @subpackage Stack ! */ ! ! /** ! * [...1501 lines suppressed...] ! <p>It is also possible to define functions within the Question ! ! Variables for use within a question. This is not recommended, ! ! and has not been widely tested. For example ! ! <pre>dum1 = f(x) := x^2 ! ! n = f(4)</pre> Again, the syntax requires this to be of the form ! ! <tt>key = value</tt>, so that another dummy assignment has taken ! ! place. Please look at Maxima's documentation for <?php ! ! $url = $stack_web_url."maximadocs/maxdoc/maxima_39.html#SEC120"; ! ! echo " <a href='$url'>functions</a>.</p> "; ! ! ?> ! Index: author_testsuite.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/lang/en/doc/author_testsuite.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** author_testsuite.php 16 Aug 2005 12:44:30 -0000 1.8 --- author_testsuite.php 25 Aug 2005 16:06:17 -0000 1.9 *************** *** 198,201 **** --- 198,217 ---- $testsuite[] = stack_testsuite_construct('RegExp','cxcxcz','3.1415927',0,'[0-9]*\.[0-9]*',''); + $testsuite[] = stack_testsuite_construct('SA_True','TRUE','TRUE',1,'',''); + $testsuite[] = stack_testsuite_construct('SA_True','FALSE','TRUE',0,'',''); + $testsuite[] = stack_testsuite_construct('SA_True','integerp(3)','TRUE',1,'',''); + $testsuite[] = stack_testsuite_construct('SA_True','integerp(3.1)','TRUE',0,'',''); + + $testsuite[] = stack_testsuite_construct('Num_tol_relative','1.1','1',0,'','No option, so 5%'); + $testsuite[] = stack_testsuite_construct('Num_tol_relative','1.05','1',1,'',''); + $testsuite[] = stack_testsuite_construct('Num_tol_relative','1.05','1',1,'0.1','Options passed'); + $testsuite[] = stack_testsuite_construct('Num_tol_relative','1.05','3',0,'0.1',''); + $testsuite[] = stack_testsuite_construct('Num_tol_relative','3.14','pi',1,'0.001',''); + + $testsuite[] = stack_testsuite_construct('Num_tol_absolute','1.1','1',0,'','No option, so 5%'); + $testsuite[] = stack_testsuite_construct('Num_tol_absolute','1.05','1',1,'',''); + $testsuite[] = stack_testsuite_construct('Num_tol_absolute','1.05','1',1,'0.1','Options passed'); + $testsuite[] = stack_testsuite_construct('Num_tol_absolute','1.05','3',0,'0.1',''); + $testsuite[] = stack_testsuite_construct('Num_tol_absolute','3.14','pi',0,'0.001',''); /* ********************************************************** */ *************** *** 237,243 **** // (4) Sort out and display the output echo "<tr> <th> pass? </th> - <th> TAns </th> <th> SAns </th> <th> Ans </th> <th> Errors </th> <th> RawMark </th> --- 253,260 ---- // (4) Sort out and display the output echo "<tr> <th> pass? </th> <th> SAns </th> <th> Ans </th> + <th> TAns </th> + <th> Opt </th> <th> Errors </th> <th> RawMark </th> *************** *** 313,319 **** // (4) Construct the row. echo " <td> $outcome </td>\n"; - echo " <td nowrap=\"nowrap\">".stack_s($ts['TAns'])." </td>\n "; echo " <td nowrap=\"nowrap\">".stack_s($ts['SAns'])." </td>\n "; echo " <td> $dispans </td>\n "; echo " <td> $errans </td>\n "; echo " <td> $rawmark </td>\n "; --- 330,337 ---- // (4) Construct the row. echo " <td> $outcome </td>\n"; echo " <td nowrap=\"nowrap\">".stack_s($ts['SAns'])." </td>\n "; echo " <td> $dispans </td>\n "; + echo " <td nowrap=\"nowrap\">".stack_s($ts['TAns'])." </td>\n "; + echo " <td> {$ts['AnsTestOpt']} </td>\n "; echo " <td> $errans </td>\n "; echo " <td> $rawmark </td>\n "; Index: student_assessmentmode.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/lang/en/doc/student_assessmentmode.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** student_assessmentmode.php 14 Jul 2005 17:46:58 -0000 1.2 --- student_assessmentmode.php 25 Aug 2005 16:06:17 -0000 1.3 *************** *** 30,37 **** practice mode. ! The questions will involve some randomly generated parameters, so different students will get slightly different questions. ! <br /><br /> A test in assessment mode will usually have a "Due date" --- 30,37 ---- practice mode. ! The questions will often involve some randomly generated parameters, so different students will get slightly different questions. ! <br /> A test in assessment mode will usually have a "Due date" *************** *** 46,51 **** before proceeding. When you are satisfied with your answers, you can click the <b>Mark</b> button. Stack will tell you whether ! your answers are right or wrong (except for multiple choice ! questions) and may give some feedback about any answers that are wrong, but it will not tell you the right answers. --- 46,51 ---- before proceeding. When you are satisfied with your answers, you can click the <b>Mark</b> button. Stack will tell you whether ! your answers are right or wrong and may give some ! feedback about any answers that are wrong, but it will not tell you the right answers. *************** *** 81,83 **** If you access the test after the due date, then Stack will tell ! you your marks and give the solutions to the questions. --- 81,84 ---- If you access the test after the due date, then Stack will tell ! you your marks and give any solutions which the teacher ! has provided to the questions. Index: student_practicemode.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/lang/en/doc/student_practicemode.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** student_practicemode.php 14 Jul 2005 17:46:58 -0000 1.2 --- student_practicemode.php 25 Aug 2005 16:06:17 -0000 1.3 *************** *** 25,40 **** <a name="practice"><h2>Practice mode</h2></a> ! If a test is set up in practice mode, it will say so in the test ! selection menu, and also at the top of the test page. If so, you ! can do the same set of questions repeatedly, and mark them by ! clicking the <b>Mark</b> button at the bottom of the page. The ! system will tell you whether your answers are right or wrong (except ! for multiple choice questions) and may give some feedback about any ! answers that are wrong, but it will not tell you the right answers. ! You can click the <b>Back</b> button on your browser to get back to ! the page where you filled in your answers, correct any mistakes, and ! try again. Alternatively, you can go away and come back some other ! time; Stack will remember your previous answers, so you can ! correct any that were wrong, and leave the others as they are. The system will give you a numerical mark for your work which you may find informative, but it does not officially count for anything. --- 25,41 ---- <a name="practice"><h2>Practice mode</h2></a> ! If a test is set up in practice mode, it will say so when you ! load the test at the top of the test page. You can do the same ! set of questions repeatedly, and mark them by ! clicking the <b>Mark</b> button at the bottom of the page. The ! system will tell you whether your answers are right or wrong ! and may give some feedback about any answers that are wrong, ! but it will not tell you the right answers. ! You can correct any mistakes, and ! try again. ! ! If you would like to go away and come back some other ! time press the Validate button; Stack will remember your previous answers, ! so you can correct any that were wrong, and leave the others as they are. The system will give you a numerical mark for your work which you may find informative, but it does not officially count for anything. |