From: William Z. <wz...@cs...> - 2005-09-19 01:20:18
|
I did a patch update, changed global.conf.dist, and the =20 PGanswermacros is broken. Here is a screen shot: =EF=BF=BC I commented the &$Context lines, and tried again: Error messages Can't call method "copy" on an undefined value at line 1066 of (eval =20 145) Died within main::NUM_CMP called at line 493 of (eval 145) from =20 within main::num_cmp called at line 52 of [TMPL]/Library/ma123DB/set3/=20= s7_4_18.pg Error details Problem2 ERROR caught by Translator while processing problem file:Library/=20 ma123DB/set3/s7_4_18.pg **************** Can't call method "copy" on an undefined value at line 1066 of (eval =20 145) Died within main::NUM_CMP called at line 493 of (eval 145) from within main::num_cmp called at line 52 of [TMPL]/Library/=20 ma123DB/set3/s7_4_18.pg **************** ------Input Read 1 ##KEYWORDS('integrals', 'partial fractions') 2 ##DESCRIPTION 3 ## Evaluate a definite integral. 4 ##ENDDESCRIPTION 5 6 ## AmberHolden tagged 7 ## Shotwell cleaned 8 9 ## DBsubject('Calculus') 10 ## DBchapter('Techniques of Integration') 11 ## DBsection('Integration by Partial Fractions') 12 ## Date('6/3/2002') 13 ## Author('') 14 ## Institution('') 15 ## TitleText1('Calculus Early Transcendentals') 16 ## EditionText1('4') 17 ## AuthorText1('Stewart') 18 ## Section1('7.4') 19 ## Problem1('18,19,20') 20 21 DOCUMENT(); 22 23 loadMacros( 24 "PGbasicmacros.pl", 25 "PGanswermacros.pl", 26 "PGauxiliaryFunctions.pl" 27 ); 28 29 30 TEXT(beginproblem()); 31 32 $m=3Drandom(1,3,1); 33 $n=3Drandom(1,6,1); 34 $a=3Drandom(-3,3,1); 35 $c=3Drandom(1,5,1); 36 $b=3D$a+$c; 37 $p=3D$m+$n; 38 $q=3D$n*$a+$m*$b; 39 $l=3D$a+$b; 40 $k=3D$a*$b; 41 $soln=3D"$m*ln(1.5)+$n*ln(($c+3)/($c+2))"; 42 $r=3D2-$a; 43 $s=3D3-$a; 44 $num=3Dnicestring([$p, $q], ['x', '']); 45 $den=3Dnicestring([1, $l, $k], ['x^2', 'x', '']); 46 BEGIN_TEXT 47 48 Evaluate the integral. 49 $BR 50 $BR \[ \int_{$r}^{$s} \frac{$num}{$den} dx \] 51 $BR Answer: \{ans_rule(60) \} 52 END_TEXT 53 ANS(num_cmp($soln)); 54 55 ENDDOCUMENT(); ----- Request information Time Sun Sep 18 18:13:51 2005 Method GET URI /webwork2/csulb_ma123h_murray/hw3/2/ HTTP Headers=09 Connection keep-alive Referer http://bosna.natsci.csulb.edu:8888/webwork2/=20 csulb_ma123h_murray/hw3/?=20 effectiveUser=3Dadmin&displayMode=3Dimages&showOldAnswers=3D1&user=3Dadmin= &key=3DM=20 VB2/cZ6TkNGB.cytlHJeA6NbXiA1sscJGTFDHum User-Agent Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-us) =20 AppleWebKit/412.7 (KHTML, like Gecko) Safari/412.5 Accept-Encoding gzip, deflate Accept */* Cookie WeBWorKCourseAuthen.admin=3Dadmin%09WURpGKa9jQ.%=20 5ePNI7x4BNv*E5LX4jkpI3B8puQqfw; SignOnDefault=3D000007941 Accept-Language en-us Host bosna.natsci.csulb.edu:8888 Edit this problem This set is visible to students. -- William Ziemer Mathematics Department CSULB |