From: Chris S. <san...@us...> - 2005-09-01 08:20:56
|
Update of /cvsroot/stack/stack-1-0/lang/en/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31035/lang/en/doc Modified Files: author_testsuite.php student_input.php Log Message: Added "equation" and "inequality" input types to the AlgEquiv Answer test. Index: author_testsuite.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/lang/en/doc/author_testsuite.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** author_testsuite.php 25 Aug 2005 16:06:17 -0000 1.9 --- author_testsuite.php 1 Sep 2005 08:13:57 -0000 1.10 *************** *** 66,69 **** --- 66,82 ---- $testsuite[] = stack_testsuite_construct('AlgEquiv','matrix([1,2],[2,3])','matrix([1,2,3],[2,3,3])',0,'',''); $testsuite[] = stack_testsuite_construct('AlgEquiv','matrix([1,2],[2,3])','matrix([1,2],[2,5])',0,'',''); + $testsuite[] = stack_testsuite_construct('AlgEquiv','1','x=1',0,'','Equations'); + $testsuite[] = stack_testsuite_construct('AlgEquiv','x=1','x=1',1,'',''); + $testsuite[] = stack_testsuite_construct('AlgEquiv','1=x','x=1',1,'',''); + $testsuite[] = stack_testsuite_construct('AlgEquiv','x=2','x=1',0,'',''); + $testsuite[] = stack_testsuite_construct('AlgEquiv','1','x>1',0,'','Inequalities'); + $testsuite[] = stack_testsuite_construct('AlgEquiv','x>1','x>1',1,'',''); + $testsuite[] = stack_testsuite_construct('AlgEquiv','x>2','x>1',0,'',''); + $testsuite[] = stack_testsuite_construct('AlgEquiv','x<1','x>1',0,'',''); + $testsuite[] = stack_testsuite_construct('AlgEquiv','1<x','x>1',1,'',''); + $testsuite[] = stack_testsuite_construct('AlgEquiv','x>=1','x>=1',1,'',''); + $testsuite[] = stack_testsuite_construct('AlgEquiv','x>1','x>=1',0,'',''); + $testsuite[] = stack_testsuite_construct('AlgEquiv','2*x>=x^2','x^2<=2*x',1,'',''); + // AlgEquiv Answer tests. Index: student_input.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/lang/en/doc/student_input.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** student_input.php 26 Aug 2005 08:44:56 -0000 1.4 --- student_input.php 1 Sep 2005 08:13:57 -0000 1.5 *************** *** 206,209 **** --- 206,210 ---- written as <font color="BLUE">|x|</font> in traditional notation. This must be entered as <tt><font color="GREEN">abs(x)</font></tt>. + <br /><br /> </li> *************** *** 228,231 **** --- 229,249 ---- <br /><br /> </li> + + <li><b>Equations:</b> can be entered using the equals sign. + For example, to enter the equation <font color="BLUE">y=x^2-2*x+1</font> + type <tt><font color="GREEN">y=x^2-2*x+1</font></tt>. + <br /><br /> + </li> + + <li><b>Inequalities:</b> can be entered using the greater then and less than + signs on the keyboard. Notice that there are four possibilities for you to + choose from: + <tt><font color="GREEN"><</font></tt> or + <tt><font color="GREEN">></font></tt> or + <tt><font color="GREEN"><=</font></tt> or + <tt><font color="GREEN">>=</font></tt>. Note there is no space between these symbols, and the equality + <em>must</em> come second when it is used. + <br /><br /> + </li> <li><b>Matrices:</b> You may be given a grid of boxes to fill in. If not, the teacher may |