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

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

Revision 497 - (download) (annotate)
Fri Jul 20 21:19:23 2007 UTC (5 years, 10 months ago) by jjholt
File size: 979 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
28 loadMacros(
29 "PG.pl",
30 "PGbasicmacros.pl",
31 "PGchoicemacros.pl",
32 "PGanswermacros.pl",
33 "PGauxiliaryFunctions.pl"
34 );
35
36 TEXT(beginproblem());
37 $showpartialcorrectanswers = 1; 38 39$a = random(3, 15, 2);
40
41 TEXT(EV2(<<EOT));
42 Find $$\displaystyle{\frac{d}{dx}\frac{1}{x^{a}}}$$.
43 $PAR 44 $$\displaystyle{\frac{d}{dx}\frac{1}{x^{a}}}$$ = \{ans_rule(30) \} 45$BR
46 EOT
47
48 $ans = "(-$a)*(x**(-$a-1))"; 49 ANS(fun_cmp($ans));
50
51 ENDDOCUMENT();


 aubreyja at gmail dot com ViewVC Help Powered by ViewVC 1.0.9