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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 479 - (download) (annotate)
Wed Jul 18 00:35:17 2007 UTC (5 years, 11 months ago) by jjholt
File size: 996 byte(s)
Changed Stew4e to Stew 6e.

    1 ##DESCRIPTION
    2 ## Integrals - evaluate definite integral   \int_{$x1}^{$x2} \{frac("1","x^2")##\} dx
    3 ##ENDDESCRIPTION
    4 ##KEYWORDS('integrals', 'definite')
    5 ## lcao , PAID on 11-24-2003
    6 
    7 ## DBsubject('Calculus')
    8 ## DBchapter('Integrals')
    9 ## DBsection('The Fundamental Theorem of Calculus')
   10 ## Date('6/3/2002')
   11 ## Author('')
   12 ## Institution('')
   13 ## TitleText1('Calculus: Early Transcendentals')
   14 ## EditionText1('6')
   15 ## AuthorText1('Stewart')
   16 ## Section1('5.3')
   17 ## Problem1('23')
   18 
   19 DOCUMENT();        # This should be the first executable line in the problem.
   20 
   21 loadMacros("PGbasicmacros.pl",
   22            "PGanswermacros.pl",
   23 "PGauxiliaryFunctions.pl");
   24 
   25 TEXT(beginproblem());
   26 $showPartialCorrectAnswers = 1;
   27 
   28 $x1=random(1,6,1);
   29 $x2= $x1 + random(1,6,1);
   30 
   31 BEGIN_TEXT
   32 Evaluate \( \displaystyle \int_{$x1}^{$x2} \frac{1}{ x^2 } dx \).
   33 $BR$BR
   34 Answer: \{ans_rule(20)\}
   35 
   36 END_TEXT
   37 
   38 $ans1= "-(1/($x2)) +1/$x1";
   39 
   40 ANS(num_cmp($ans1));
   41 
   42 ENDDOCUMENT();        # This should be the last executable line in the problem.

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9