0% found this document useful (0 votes)
10 views14 pages

Raphson and Newton Methods Overview

The document contains information about using Newton's method to find the root of functions. It includes the function f(x)=x^3+2x-1, its derivative f'(x)=3x^2+2, and iterative calculations using Newton's method with initial values of x0=0 and x1=1 to compute successive approximations of the root. The results include the iteration number i, input value xi, computed derivative f'(xi), next approximation x(i+1), and percent error.

Uploaded by

Paola Hernandez
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views14 pages

Raphson and Newton Methods Overview

The document contains information about using Newton's method to find the root of functions. It includes the function f(x)=x^3+2x-1, its derivative f'(x)=3x^2+2, and iterative calculations using Newton's method with initial values of x0=0 and x1=1 to compute successive approximations of the root. The results include the iteration number i, input value xi, computed derivative f'(xi), next approximation x(i+1), and percent error.

Uploaded by

Paola Hernandez
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd

Newton  Raphso

f (x)  x 3
 2 x
f ´( x )  3 x 2
 2
f (x
x i1  x i 
f ´( x
I xi f(x)i f´(x)i x(i+1) %Ea
0 1 2 5 0.6 -66.666667
1 0.6 0.416 3.08 0.46493506 -29.050279
2 0.46493506 0.03037264 2.64849384 0.45346717 -2.5289352
3 0.45346717 0.00018193 2.61689743 0.45339765 -0.0153331
4 0.45339765 6.5745E-09 2.6167083 0.45339765 -5.5415E-07
5 0.45339765 0 2.61670829 0.45339765 0
Newton  Raphson
f (x)  x 3
 2 x  1
f ´( x )  3 x 2
 2
f (x)
x i1  x i 
f ´( x )
I xi x+∆x f(x)i F(x+∆x) f´(x)i x(i+1) %Ea
0 1 1.01 2 2.050301 5.0301 0.60239359 -66.004422
1 0.60239359 0.61239359 0.42338259 0.45445064 3.10680592 0.46611775 -29.236355
2 0.46611775 0.47611775 0.03350693 0.06016574 2.66588081 0.45354895 -2.7712118
3 0.45354895 0.46354895 0.00039593 0.0267042 2.63082642 0.45339845 -0.0331932
4 0.45339845 0.46339845 2.0936E-06 0.02630622 2.63041242 0.45339766 -0.0001755
5 0.45339766 0.46339766 1.0907E-08 0.02630411 2.63041023 0.45339765 -9.145E-07
6 0.45339765 0.46339765 5.6813E-11 0.0263041 2.63041022 0.45339765 -4.7637E-09
Método de la Secante
f (x)  x 3  2 x  1
f (x  x)  f ( x)
f ´( x ) 
x
f (x)
x i 1  x i 
f ´( x )
Newton  Raphs
f (x)  x 3  2 x
x a  0,
x b  1,
I xa xb f(xa) f(xb) xm %Ea
0 0 1 -1 2 0.33333333 f (xb
1 0.33333333 1 -0.2962963 2 0.41935484 20.5128205
xm  xb 
2 0.41935484 1 -0.0875432 2 0.44370478 5.48786903
f (xb
3 0.44370478 1 -0.0252365 2 0.45063679 1.53827101
4 0.45063679 1 -0.007214 2 0.45261123 0.43623241
5 0.45261123 1 -0.002057 2 0.45317364 0.12410501
6 0.45317364 1 -0.0005861 2 0.45333384 0.03533876
7 0.45333384 1 -0.000167 2 0.45337948 0.01006524
8 0.45337948 1 -4.7562E-05 2 0.45339247 0.00286701
9 0.45339247 1 -1.3548E-05 2 0.45339618 0.00081666
10 0.45339618 1 -3.8592E-06 2 0.45339723 0.00023263
Newton  Raphson
f (x)  x 3  2 x  1
x a  0, f (0)   1
x b  1, f (1)  2
f ( x b )( x b  x a )
xm  xb 
f (xb )  f (xa )
I xa xb xm f(xa) f(xb) f(xm) %Ea
0 0 1 0.5 -1 2 0.125
1 0 0.5 0.25 -1 0.125 -0.484375 -100
2 0.25 0.5 0.375 -0.484375 0.125 -0.1972656 33.3333333
3 0.375 0.5 0.4375 -0.1972656 0.125 -0.0412598 14.2857143
4 0.4375 0.5 0.46875 -0.0412598 0.125 0.04049683 6.66666667
5 0.4375 0.46875 0.453125 -0.0412598 0.04049683 -0.0007133 -3.4482759
6 0.453125 0.46875 0.4609375 -0.0007133 0.04049683 0.01980734 1.69491525
7 0.453125 0.4609375 0.45703125 -0.0007133 0.01980734 0.00952607 -0.8547009
8 0.453125 0.45703125 0.45507813 -0.0007133 0.00952607 0.00440115 -0.4291845
9 0.453125 0.45507813 0.45410156 -0.0007133 0.00440115 0.0018426 -0.2150538
10 0.453125 0.45410156 0.45361328 -0.0007133 0.0018426 0.0005643 -0.1076426
11 0.453125 0.45361328 0.45336914 -0.0007133 0.0005643 -7.4604E-05 -0.0538503
Newton  Raphson
f (x)  x3  2 x  1
xa  0, f (0)   1
x b  1, f (1)  2
x a  xb
xm 
2
matriz A Inversa de A
2 1 -1 3/7 2/7 - 1/7
1 -1 2 - 1/7 - 3/7 5/7
1 1 1 - 2/7 1/7 3/7
resultados

1 X= 4/7
2 y= 1 1/7
3 z= 1 2/7
i xi yi zi x(i+1) y(i+1) z(i+1)
0 0 0 0 0.5 2 3
1 0.5 2 3
Chart Title
12

10

0
f1(x,
Métodoy)  yde la - 2x  1
-x3Secante
f ( x )y) xx23 
f2(x,  y2
2 x- 4 1
121
 1 f ( x   x ) 
f ´( x) 3 x 2  2
x
1 f ( x )
 xy
1
  
DetJ
2
x i  1  2xxi 
x
f ( x)   2
f ´( x ) y
 2y x y y y
i xi yi f1 f2 df1/dx df1/dy df2/dx
0 1 2 0 1 -5 1 2
12112

etJ  
x y y y x
df2/dy detj deltax deltay x(i+1) y(i+1)
4

You might also like