[npl] / trunk / NationalProblemLibrary / ASU-topics / setDerivativeBasicFunctions / 3-4-34.pg Repository: Repository Listing bbplugincoursesdistsnplrochestersystemwww

# View of /trunk/NationalProblemLibrary/ASU-topics/setDerivativeBasicFunctions/3-4-34.pg

Fri Jul 20 21:19:23 2007 UTC (5 years, 10 months ago) by jjholt
File size: 1154 byte(s)
```Updated tags.
```

```    1 ## DESCRIPTION
2 ## Calculate a Derivative
3 ## ENDDESCRIPTION
4
5 ## KEYWORDS('derivative', 'polynomial')
6 ## Tagged by YL
7
8 ## DBsubject('Calculus')
9 ## DBchapter('Differentiation')
10 ## DBsection('Derivatives of Polynomials and Exponential Functions')
11 ## Date('')
12 ## Author('')
13 ## Institution('ASU')
14 ## TitleText1('Calculus: Early Transcendentals')
15 ## EditionText1('5')
16 ## AuthorText1('Stewart')
17 ## Section1('3.1')
18 ## Problem1('')
19
20 ## TitleText2('Calculus: Early Transcendentals')
21 ## EditionText2('6')
22 ## AuthorText2('Stewart')
23 ## Section2('3.1')
24 ## Problem2('')
25
26 DOCUMENT();
27
29 "PG.pl",
30 "PGbasicmacros.pl",
31 "PGchoicemacros.pl",
33 "PGauxiliaryFunctions.pl"
34 );
35
36 TEXT(beginproblem());
38
39 \$a = random(2, 6, 0.2);
40 \$b = random(2.1,7,0.2);
41 \$c = random(2,7,1);
42 \$d = random(3,9,1);
43 \$f = random(-12,-2,1);
44
45 TEXT(EV2(<<EOT));
46 Suppose that \( f(x) = \$a x^2 + \$b x - \$c \).
47 Evaluate each of the following:
48 \$BR
49 \$BR
50 \( f'(\$d) \) = \{ans_rule(10) \}
51 \$BR
52 EOT
53
54 \$ans = 2*\$a*\$d + \$b;
55 ANS(num_cmp(\$ans));
56
57 TEXT(EV2(<<EOT));
58 \( f'(\$f) \) = \{ans_rule(10) \}
59 \$BR
60 EOT
61
62 \$ans = 2*\$a*\$f + \$b;
63 ANS(num_cmp(\$ans));
64
65
66 ENDDOCUMENT();
```