[npl] / trunk / NationalProblemLibrary / UMN / calculusStewartCCC / s_3_2_22.pg Repository:
ViewVC logotype

Annotation of /trunk/NationalProblemLibrary/UMN/calculusStewartCCC/s_3_2_22.pg

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2212 - (view) (download)

1 : jonathan r 1706 gness #DESCRIPTION
2 :     gness ## Calculus: Derivatives
3 :     gness ##ENDDESCRIPTION
4 :     gness
5 :     gness ##KEYWORDS('calculus', 'derivative', 'quotient rule', 'exponential function')
6 :     gness
7 :     gness ## DBsubject('Calculus')
8 :     gness ## DBchapter('Differentiation')
9 :     gness ## DBsection('The Product and Quotient Rules')
10 :     gness ## Date('10/25/2010')
11 :     gness ## Author('Justin Sukiennik')
12 :     gness ## Institution('University of Minnesota')
13 :     gness ## TitleText1('Calculus: Concepts and Contexts')
14 :     gness ## EditionText1('4 Custom UMTYMP Ed.')
15 :     gness ## AuthorText1('Stewart')
16 :     gness ## Section1('3.2')
17 :     gness ## Problem1('22')
18 :     gness
19 :     gness #####################################################################
20 :     gness DOCUMENT(); # This should be the first executable line in the problem.
21 :     gness
22 :     gness loadMacros(
23 :     gness "PGstandard.pl",
24 :     gness "MathObjects.pl",
25 :     gness "PGcourse.pl",
26 :     gness );
27 :     gness #####################################################################
28 :     gness
29 :     gness TEXT(beginproblem());
30 :     gness
31 :     gness $showPartialCorrectAnswers = 1;
32 :     gness
33 :     gness #####################################################################
34 :     gness
35 :     gness Context("Numeric");
36 :     gness
37 :     gness $a = random(1,8,1);
38 :     gness
39 :     gness $ans = Compute("[-$a-$a*e^x-x^2*e^x-e^(2x)]/[(x+e^x)^2]");
40 :     gness
41 :     gness #####################################################################
42 :     gness Context()->texStrings;
43 :     gness BEGIN_TEXT
44 :     gness Find \(\displaystyle \frac{d}{dx}\left(\frac{$a-x e^x}{x+e^x}\right).\)
45 :     gness $PAR
46 :     gness Derivative: \{ans_rule(30)\}
47 :     gness END_TEXT
48 :     gness Context()->normalStrings;
49 :     gness
50 :     gness #####################################################################
51 :     gness
52 :     gness ANS($ans->cmp());
53 :     gness
54 :     gness ENDDOCUMENT(); # This should be the last executable line in the problem.

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9