[npl] / trunk / NationalProblemLibrary / UCSB / Stewart5_4_9 / Stewart5_4_9_11.pg Repository: Repository Listing bbplugincoursesdistsnplrochestersystemwww

# View of /trunk/NationalProblemLibrary/UCSB/Stewart5_4_9/Stewart5_4_9_11.pg

Sun Feb 6 02:23:13 2011 UTC (2 years, 4 months ago) by apizer
File size: 963 byte(s)
correct Stewart tags

    1 ## DBsubject('Calculus')
2 ## DBchapter('Applications of Differentiation')
3 ## DBsection('Newton's Method')
4 ## KEYWORDS('Newton's Method','Differentiation')
5 ## TitleText1('Calculus: Early Transcendentals')
6 ## EditionText1('5')
7 ## AuthorText1('Stewart')
8 ## Section1('4.9')
9 ## Problem1('11')
10 ## Author('')
11 ## Institution('UCSB')
12
13 DOCUMENT();
14
16 "PG.pl",
17 "PGbasicmacros.pl",
18 "PGchoicemacros.pl",
20 "PGauxiliaryFunctions.pl"
21 );
22
23 TEXT(&beginproblem);
24 $showPartialCorrectAnswers = 1; 25 #$a=random(1,10,1);
26 #$b=random(1,10,1); 27 #$c=3*$b; 28 #$d=2*$b; 29 30 # Insert problem text between the$PAR, and space for the
31 # answer, like this   $$y =$$ \{ans_rule(50)\}
32 # just before the END_TEXT.
33
34 BEGIN_TEXT
35
36 $PAR 37 38 Use Newton's method with the given initial approximation to find the third approximation for the following number. 39 40$PAR
41
42 $$\sqrt[3]30 , \ x_1 = 3$$
43
44 \$PAR
45
46 $$x_3 =$$ \{ans_rule(20)\}
47
48 END_TEXT
49
50 ANS(num_cmp(3.1072, tol => .001));
51
52
53 ENDDOCUMENT();