Professional Documents
Culture Documents
33
Algorithrn
I'
Re3d
T1'E
MFIIC
43
t{, :r, .,
,r
2 Jo <-
Oo)
a f.t i=ltan
in stepsof
s
6
^
8
laJ
rr'sirn
10
C, *
sgn
Ihen begin
11
eLse
13
t?'t
ci|c)
rt e
12
begin xn
t2
a- J2 erd
.-
x2
fa <- f2 end
l4
15
Id,
wrie
6 Write .r?, /,
l7 Slop
'ft. mo!_"ltL
oll -:5
'
irer3lio
s'
U".",ion
Corp." Oi
Je)=;-2s=a
Table 3.i
gives $e values
TABLE
33 faie
33
P6idon Merhod
J,
2
3
LA
z.a
4.8.
4.g',t?l
4.996i
5
4_9994
6J!l
4.8
-21
1838
6.58r-
4.9121
4.E)6\
4.999.1
24.
1.96
-.2'182
-.039
-.0053
1-96
r8.18
-.21X2
-.039
-.casL-/
.0r114
J8 cowLr-i
Algo.ilhm 1.1 Nepton-Rrphson Iletnod
I Rdd ir, epsilon, Cel|a. I
Renatkst ra js he inirial guess, cpsiton is rhc prescrib.d
e.ror,
d.it!
is
lle
../3.6
retauve
ior/,and
\
a
Jbr' = \ ro a in scps ol I
do
n. J)
j:l+i tta)
5
6
i
3
l0 Srop
1l Wrjle
.- wr.e .on.ers
.r so _Uon
gor
t3
12 Slop
r.;,rrrl
O!!
fi, i
.Pi.
'ti:
. rr. . )r .,
1,1 Srop
.:.
\\ e i l - arr- o l \ e r."-n onl t - a -, - 0 to rllJ:u"
" "
iEmlion nedlcd. We Eili follow Aleorilhm 3.4l
r \<11.n Rip ,1
fe)=?_1.s=o: f'G)=2t
Sirung value :i =
7.
2
3
5.:8i7
3.4 l]uEalins
Newton,RlphioR \1eGoc
5.?357
5.0070
rlol0
?.9i86
5.!000
0 0700
5.1\1,\l
5 00({)
Ffi
24
.ilrz
1.1'
.
la.57t1
l
.0i:t
a.0r.1
.c.-li,1
10
Obsene tha! c
ur t}e bi.ection ,nd 'alsr po .Lor
ton melhod corverlas
drod \es.on
50
cor@r..R
qlll rily
woltd lerd :o los
-qlich
-urBble for
compuLaron is:
.f
,afc) -,,/t'.
,t
(3.13)'
IC) - I tx-, )
Ne.*1on-R-aphson
allowen
me$odjrtFn
,/-
is
he number of;ie.alons o le
tu! on "r;.
Algorit
Rema.tr.
2
3
kef\a)
/' e/(rr)
d.re
5
g
7
11
12
:o e .rr
\ ,1
tl wrlte
Doe. nor
14 Srcp
t5 wnte
t6 S'up
l7 Wnl
l8 Stop
Stopr.
.on"e.ge,a,:r,/0,,1
Con,ergen(
i. &, :r
elruon'. i. !r.16
t =o
pir:edur
converEes