Parent Directory
|
Revision Log
added problem library as webwork/ww_prob_lib with revision tag prob-lib-2
1 ##DESCRIPTION 2 ##KEYWORDS('integrals', 'theory', 'definite') 3 ##Authored by Zig Fiedorowicz 1/12/2000 4 ##ENDDESCRIPTION 5 6 DOCUMENT(); # This should be the first executable line in the problem. 7 8 loadMacros( 9 "PG.pl", 10 "PGbasicmacros.pl", 11 "PGchoicemacros.pl", 12 "PGanswermacros.pl", 13 "PGauxiliaryFunctions.pl" 14 ); 15 16 TEXT(&beginproblem); 17 $showPartialCorrectAnswers = 1; 18 19 $a = random(3,9,1); 20 $b = $a + 1; 21 $c = (2**$b - 1)/$b; 22 23 BEGIN_TEXT 24 \( \displaystyle \int_b^{2b} x^{$a}\, dx \) = 25 $BR 26 \{ans_rule(30)\} 27 $PAR 28 END_TEXT 29 30 &ANS(function_cmp("$c*b**$b","b")); 31 32 ##set $PG_environment{'textbook'} in webworkCourse.ph 33 if (defined($textbook)) { 34 if ($textbook eq "EllisGulick5") { 35 BEGIN_TEXT 36 This is similar to Problem 16 in Section 5.4 of the text. 37 END_TEXT 38 } 39 } 40 41 ENDDOCUMENT(); # This should be the last executable line in the problem. 42
| aubreyja at gmail dot com | ViewVC Help |
| Powered by ViewVC 1.0.9 |