[npl] / trunk / NationalProblemLibrary / ma122DB / set11 / s5_3_28.pg Repository:
ViewVC logotype

View of /trunk/NationalProblemLibrary/ma122DB/set11/s5_3_28.pg

Parent Directory Parent Directory | Revision Log Revision Log


Revision 453 - (download) (annotate)
Thu Jul 5 01:59:02 2007 UTC (5 years, 10 months ago) by jjholt
File size: 1261 byte(s)
Consolidated tags.

    1 ##DESCRIPTION
    2 ## Evaluate a definite integral
    3 ##ENDDESCRIPTION
    4 ##KEYWORDS('integrals', 'theory', 'definite')
    5 
    6 ## Shotwell cleaned
    7 ## lcao , PAID on 11-24-2003
    8 
    9 ## DBsubject('Calculus')
   10 ## DBchapter('Integrals')
   11 ## DBsection('The Fundamental Theorem of Calculus')
   12 ## Date('6/3/2002')
   13 ## Author('')
   14 ## Institution('')
   15 ## TitleText1('Calculus: Early Transcendentals')
   16 ## EditionText1('4')
   17 ## AuthorText1('Stewart')
   18 ## Section1('5.3')
   19 ## Problem1('28')
   20 
   21 DOCUMENT();        # This should be the first executable line in the problem.
   22 
   23 loadMacros(
   24 "PGbasicmacros.pl",
   25 "PGanswermacros.pl",
   26 "PGauxiliaryFunctions.pl"
   27 );
   28 
   29 TEXT(beginproblem());
   30 $showPartialCorrectAnswers = 1;
   31 
   32 $a1 = 0;
   33 $b1 = random(2,10,1);
   34 $c1 = random(5,9,1);
   35 $d1 = random(1,4,1);
   36 
   37 BEGIN_TEXT
   38 Evaluate the definite integral
   39 \[ \int_{ $d1 } ^ { $c1 } \frac { $b1 } { \sqrt x } dx \] $BR
   40 Answer: \{ans_rule(60) \}
   41 
   42 END_TEXT
   43 
   44 $ans = "(2*$a1*$c1^2.5/5 + 2*$b1*$c1^.5) -(2*$a1*$d1^2.5/5 + 2*$b1*$d1^.5 )";
   45 ANS(num_cmp($ans));
   46 
   47 ##set $PG_environment{'textbook'} in webworkCourse.ph
   48 if (defined($textbook)) {
   49    if ($textbook eq "EllisGulick5") {
   50 BEGIN_TEXT
   51 This is similar to Problem 6 in Section 5.5 of the text.
   52 END_TEXT
   53 }
   54 }
   55 
   56 ENDDOCUMENT();        # This should be the last executable line in the problem.

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9