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

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

Sun Feb 6 02:23:13 2011 UTC (2 years, 3 months ago) by apizer
File size: 990 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('13')
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);
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 to approximate the indicated root of the following equation correct to six decimal places.
39
40 \$PAR
41
42 The root of \(2 x^3 -6 x^2 +3 x + 1 = 0\) in the interval [2,3].
43
44 \$PAR
45
46 \{ans_rule(20)\}
47
48 END_TEXT
49
50 ANS(num_cmp(2.224745, tol=> .00001));
51
52
53 ENDDOCUMENT();
```