##DESCRIPTION ## Evaluate a definite integral ##ENDDESCRIPTION ##KEYWORDS('integrals', 'theory', 'definite') ## Shotwell cleaned ## lcao , PAID on 11-24-2003 ## DBsubject('Calculus') ## DBchapter('Integrals') ## DBsection('The Fundamental Theorem of Calculus') ## Date('6/3/2002') ## Author('') ## Institution('') ## TitleText1('Calculus: Early Transcendentals') ## EditionText1('4') ## AuthorText1('Stewart') ## Section1('5.3') ## Problem1('28') DOCUMENT(); # This should be the first executable line in the problem. loadMacros( "PGbasicmacros.pl", "PGanswermacros.pl", "PGauxiliaryFunctions.pl" ); TEXT(beginproblem()); $showPartialCorrectAnswers = 1;$a1 = 0; $b1 = random(2,10,1);$c1 = random(5,9,1); $d1 = random(1,4,1); BEGIN_TEXT Evaluate the definite integral $\int_{ d1 } ^ { c1 } \frac { b1 } { \sqrt x } dx$$BR Answer: \{ans_rule(60) \} END_TEXT $ans = "(2*$a1*$c1^2.5/5 + 2*$b1*$c1^.5) -(2*$a1*$d1^2.5/5 + 2*$b1*$d1^.5 )"; ANS(num_cmp($ans)); ##set $PG_environment{'textbook'} in webworkCourse.ph if (defined($textbook)) { if (\$textbook eq "EllisGulick5") { BEGIN_TEXT This is similar to Problem 6 in Section 5.5 of the text. END_TEXT } } ENDDOCUMENT(); # This should be the last executable line in the problem.