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

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

Sun Feb 6 02:23:13 2011 UTC (2 years, 3 months ago) by apizer
File size: 988 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('10')
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 on the following function and initial approximation \(x_1\) to find \(x_2\), the second approximation to the root of the equation.
39
40 \$PAR
41
42 \(x^4 - x - 1 = 0, \  x_1 = 1\)
43
44 \$PAR
45
46 \(x_2 =\) \{ans_rule(20)\}
47
48 END_TEXT
49
50 ANS(num_cmp(4/3));
51
52
53 ENDDOCUMENT();
```