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

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

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
23 "PG.pl",
24 "PGbasicmacros.pl",
25 "PGchoicemacros.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();