[npl] / trunk / NationalProblemLibrary / UVA-Stew5e / setUVA-Stew5e-C03S01-DerivPolyExps / 3-1-08.pg Repository: Repository Listing bbplugincoursesdistsnplrochestersystemwww

# View of /trunk/NationalProblemLibrary/UVA-Stew5e/setUVA-Stew5e-C03S01-DerivPolyExps/3-1-08.pg

Wed Jun 27 19:34:12 2007 UTC (5 years, 10 months ago) by jjholt
File size: 1013 byte(s)
```Updated/Corrected tags.  --JJH
```

```    1 ##DESCRIPTION
2 ##Calculus: Differentiation
3 ##ENDDESCRIPTION
4
5 ##KEYWORDS('calculus', 'differentiation')
6 ##Tagged by YJ
7
8 ## DBsubject('Calculus')
9 ## DBchapter('Differentiation')
10 ## DBsection('Derivatives of Polynomial and Exponential Functions')
11 ## Date('5/26/2005')
12 ## Author('Jeff Holt')
13 ## Institution('UVA')
14 ## TitleText1('Calculus')
15 ## EditionText1('5e')
16 ## AuthorText1('Stewart')
17 ## Section1('3.1')
18 ## Problem1('8')
19
20 DOCUMENT();        # This should be the first executable line in the problem.
21
23 "PG.pl",
24 "PGbasicmacros.pl",
25 "PGchoicemacros.pl",
27 "PGauxiliaryFunctions.pl"
28 );
29
30 TEXT(beginproblem());
32
33 \$a1 = random(2,7,1);
34 \$b1 = random(2,12,1);
35
36 \$x1 = random(1,5,1);
37
38 \$deriv1 = \$a1*exp(\$x1);
39 \$funct1 = "\$a1*exp(x)";
40
41 TEXT(EV2(<<EOT));
42 If \( f(x) =  \$a1 e^x+\$b1 \), find \( f'( x ) \).
43 \$PAR
44 \( f'(x) \) = \{ans_rule(30) \}
45 \$BR
46 EOT
47
48 \$ans = \$funct1;
49 ANS(fun_cmp(\$ans));
50
51 ENDDOCUMENT();        # This should be the last executable line in the problem.
```