[npl] / trunk / NationalProblemLibrary / ASU-topics / setAntiderivatives / 6-1-29.pg Repository:
ViewVC logotype

View of /trunk/NationalProblemLibrary/ASU-topics/setAntiderivatives/6-1-29.pg

Parent Directory Parent Directory | Revision Log Revision Log


Revision 268 - (download) (annotate)
Sat Jun 3 14:35:45 2006 UTC (6 years, 11 months ago) by gage
File size: 845 byte(s)
 Cleaned code with convert-functions.pl script

    1 ## DESCRIPTION
    2 ## Calculus: Single Variable
    3 ## ENDDESCRIPTION
    4 
    5 ## KEYWORDS('calculus', 'single', 'variable')
    6 ## Tagged by YJ
    7 
    8 ## DBsubject('Calculus')
    9 ## DBchapter('Single Variable')
   10 ## DBsection('Integration')
   11 ## Date('5/26/2005')
   12 ## Author('Jeff Holt')
   13 ## Institution('UVA')
   14 ## TitleText1('Calculus')
   15 ## EditionText1('5e')
   16 ## AuthorText1('Stewart')
   17 ## Section1('6.1.5')
   18 ## Problem1(' ')
   19 
   20 DOCUMENT();
   21 
   22 loadMacros(
   23 "PG.pl",
   24 "PGbasicmacros.pl",
   25 "PGchoicemacros.pl",
   26 "PGanswermacros.pl",
   27 "PGauxiliaryFunctions.pl"
   28 );
   29 
   30 TEXT(beginproblem());
   31 $showPartialCorrectAnswers = 1;
   32 
   33 $a = random(2,8,1);
   34 $b = random(3,7,1);
   35 
   36 TEXT(EV2(<<EOT));
   37 
   38 Find the antiderivatives for
   39 $BR
   40 \[
   41 \frac{dy}{dx} = $a e^x + $b.
   42 \]
   43 $BR
   44 \(y = \) \{ans_rule(35) \} + \( C\).
   45 $BR
   46 $BR
   47 
   48 EOT
   49 
   50 $ans = "$a*exp(x) + $b*x";
   51 ANS(fun_cmp($ans, mode=>"antider", vars=>"x"));
   52 
   53 ENDDOCUMENT();

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9