[npl] / trunk / NationalProblemLibrary / Rochester / setIntegrals3Definite / sc5_3_17.pg Repository:
ViewVC logotype

View of /trunk/NationalProblemLibrary/Rochester/setIntegrals3Definite/sc5_3_17.pg

Parent Directory Parent Directory | Revision Log Revision Log


Revision 556 - (download) (annotate)
Sat Sep 8 05:17:01 2007 UTC (5 years, 8 months ago) by sh002i
File size: 989 byte(s)
Added tags for Rogawski's "Calculus: Early Transcendentals".

    1 ## DESCRIPTION
    2 ## Calculus
    3 ## ENDDESCRIPTION
    4 
    5 ## KEYWORDS ('integration','definite')
    6 ## Tagged by cmd6a 4/26/06
    7 
    8 ## DBsubject('Calculus')
    9 ## DBchapter('Integrals')
   10 ## DBsection('The Definite Integral')
   11 ## Date('')
   12 ## Author('')
   13 ## Institution('Rochester')
   14 ## TitleText1('')
   15 ## EditionText1('')
   16 ## AuthorText1('')
   17 ## Section1('')
   18 ## Problem1('')
   19 ## TitleText2('Calculus: Early Transcendentals')
   20 ## EditionText2('1')
   21 ## AuthorText2('Rogawski')
   22 ## Section2('5.3')
   23 ## Problem2('35')
   24 
   25 DOCUMENT();        # This should be the first executable line in the problem.
   26 
   27 loadMacros(
   28 "PG.pl",
   29 "PGbasicmacros.pl",
   30 "PGchoicemacros.pl",
   31 "PGanswermacros.pl",
   32 "PGauxiliaryFunctions.pl"
   33 );
   34 
   35 TEXT(beginproblem());
   36 $showPartialCorrectAnswers = 1;
   37 
   38 $a= random(2, 5, 1);
   39 $b= $a+1;
   40 
   41 TEXT(EV2(<<EOT));
   42 Evaluate the integral
   43 \[ \int_{$b}^{$a} \sin(t) dt \]
   44 $BR \{ans_rule( 20)\}
   45 EOT
   46 
   47 $answer=-cos($a)+cos($b);
   48 ANS(num_cmp($answer));
   49 
   50 ENDDOCUMENT();        # This should be the last executable line in the problem.
   51 

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9