From: LastRenshai <las...@us...> - 2005-07-25 10:09:47
|
Update of /cvsroot/stack/stack-1-0/lang/en/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10188/lang/en/doc Modified Files: author_testsuite.php en_doc.php Log Message: Index: author_testsuite.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/lang/en/doc/author_testsuite.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** author_testsuite.php 18 Jul 2005 11:58:09 -0000 1.5 --- author_testsuite.php 25 Jul 2005 10:09:32 -0000 1.6 *************** *** 146,157 **** //$testsuite[] = stack_testsuite_construct('FacForm','(x-1)*(x+(1+sqrt(3)*%i)/2)*(x+(1-sqrt(3)*%i)/2)','x^3-1',1,'x',''); $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','1/(n*(n-1))','1/(n*(n-1))',0,'n','Simple mistakes'); $testsuite[] = stack_testsuite_construct('PartFrac','1/(n-1)-1/n^2','1/((n+1)*n)',0,'n',''); $testsuite[] = stack_testsuite_construct('PartFrac','1/(n-1)-1/n','1/(n-1)+1/n',0,'n',''); $testsuite[] = stack_testsuite_construct('PartFrac','1/(x+1)-1/x','1/(x-1)+1/x',0,'x',''); ! $testsuite[] = stack_testsuite_construct('SA_factored','1/0','0',0,'x',''); --- 146,168 ---- //$testsuite[] = stack_testsuite_construct('FacForm','(x-1)*(x+(1+sqrt(3)*%i)/2)*(x+(1-sqrt(3)*%i)/2)','x^3-1',1,'x',''); + $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','Correct Answer, unfactored'); + $testsuite[] = stack_testsuite_construct('PartFrac','3*(1/(x+1) + 1/(x+2))','3*(2*x+3)/((x+1)*(x+2))',1,'x','Correct Answer, factored'); + $testsuite[] = stack_testsuite_construct('PartFrac','3*x*(1/(x+1) + 2/(x+2))','3*x/(x+1)+6*x/(x+2)',1,'x',''); + $testsuite[] = stack_testsuite_construct('PartFrac','(3*x+3)*(1/(x+1) + 2/(x+2))','(3*x+3)/(x+1)+(6*x+6)/(x+2)',1,'x',''); + $testsuite[] = stack_testsuite_construct('PartFrac','10/(x+3) - 2/(x+2) + x -2','(x^3 + 3*x^2 + 4*x +2)/((x+2)*(x+3))',1,'x','Correct Answer, Numerator > Denominator'); $testsuite[] = stack_testsuite_construct('PartFrac','1/(n*(n-1))','1/(n*(n-1))',0,'n','Simple mistakes'); $testsuite[] = stack_testsuite_construct('PartFrac','1/(n-1)-1/n^2','1/((n+1)*n)',0,'n',''); $testsuite[] = stack_testsuite_construct('PartFrac','1/(n-1)-1/n','1/(n-1)+1/n',0,'n',''); $testsuite[] = stack_testsuite_construct('PartFrac','1/(x+1)-1/x','1/(x-1)+1/x',0,'x',''); ! $testsuite[] = stack_testsuite_construct('PartFrac','2/(x+1)-1/(x+2)','s/((s+1)*(s+2))',0,'s','Different Variables'); ! $testsuite[] = stack_testsuite_construct('PartFrac','s/((s+1)^2) + s/(s+2) - 1/(s+1)','s/((s+1)*(s+2))',0,'s','Too many parts in the partial fraction'); ! $testsuite[] = stack_testsuite_construct('PartFrac','s/(s+2) - 1/(s+1)','s/((s+1)*(s+2)*(s+3))',0,'s','Too few parts in the partial fraction'); ! $testsuite[] = stack_testsuite_construct('PartFrac','1/(x+1) + 1/(x+2)','2/(x+1) + 1/(x+2)',0,'x','Addition and Subtraction errors'); ! $testsuite[] = stack_testsuite_construct('PartFrac','1/(x+1) + 1/(x+2)','1/(x+1) + 2/(x+2)',0,'x',''); ! $testsuite[] = stack_testsuite_construct('PartFrac','1/(x+1) + 1/(x+2)','1/(x+3) + 1/(x+2)',0,'x','Denominator Error'); $testsuite[] = stack_testsuite_construct('SA_factored','1/0','0',0,'x',''); Index: en_doc.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/lang/en/doc/en_doc.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** en_doc.php 19 Jul 2005 13:31:32 -0000 1.5 --- en_doc.php 25 Jul 2005 10:09:32 -0000 1.6 *************** *** 359,363 **** Literally in Maxima, is <tt>expand(SA)=SA</tt>?"; ! $stackAnswerTest['PartFrac']['doc']="This test has not yet been implemented."; $stackAnswerTest['Diff']['doc']="This test is a general differentiation test. --- 359,374 ---- Literally in Maxima, is <tt>expand(SA)=SA</tt>?"; ! $stackAnswerTest['PartFrac']['doc']="This test checks to see if the expression in <tt>SA</tt> is ! the partial fraction of <tt>tExpr</tt> which is the first part of the list SBL. It uses functions found in ! stackMaxima.mac in order to give feedback.<p> ! The function takes in the Students Answer (<tt>SA</tt>), and a List (<tt>SBL</tt>), SBL consist of ! 3 parts, the Teachers Expression (<tt>tExpr</tt>), the variable to which the partial fraction has respect to, and whether ! formative feedback is required. <p> ! Feedback comes in several forms, <tt>TRUE</tt> if and only if the answer is the partial fraction of ! the Teacher's Expression, whether it be a factored form or not. Feedback is also given based on ! incorrect answers in order to guide the student to the right answer. For exmaple the common denominator is returned ! in order for the student to check the denominators of their partial fraction. See the AnswerTest <tt>AT_PartFrac</tt> ! for more details."; ! $stackAnswerTest['Diff']['doc']="This test is a general differentiation test. |