Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 6

1.The equation y³⁻2y-5=0 has a root near y=2. 2.

Find the root of the function f(x)=e²ˣ-x-6


Starting with y₀=2, compute y₁, y₂, and y₃, the ,correct to four decimal places, use the
next three Newton-Rhapson estimates for the Newton-Raphson method.
root.
f(x)=e²ˣ-x-6
f(y)=y³-2y-5
f'(x)=2e²ˣ-1
f′(y)=3y²-2
x₀=0
y₀=2
f(x₀)=e²⁽⁰⁾-(0)-6 = -5
f(y₀)= (2)³-2(2)-5 = -1
f'(x₀)= 2e²⁽⁰⁾-1 = 1
f'(y₀)= 3(2)²-2 =10
x₁=0- (-5/1) =5
y₁= 2- (-1/10) = 2.1
f(x₁)= 22015.46579
f(y₁)= 0.061
f'(x₁)=44051.93159
f'(y₁)= 11.23
x₂=5-(22015.46579/44051.93159) =
y₂= 2.1 - (0.061/11.23)= 2.094568121 4.500238355

f(y₂)= 1.8572317x10⁻⁴ f(x₂)=8096.447432

f'(y₂)= 11.16164684 f'(x₂)=16212.89534

y₃= 2.094568121 - (1.8572317x10⁻⁴ / x₃=4.500238355-


11.16164684)=2.094551489 (8096.447432/16212.89534)=4.000855163

f(y₃)= 1.73976x10⁻⁹ f(x₃)=2976.059903

f'(y₃)= 11.16143773 f'(x₃)=5971.121516

x₄=4.000855163-
(2976.059903/5971.121516)=3.502446297

f(x₄)=1092.509239

f'(x₄)=2203.023371

x₅=3.502446297-(1092.509239/2203.023371)=
3.006532702

f(x₅)=399.7278051
f'(x₅)=816.4686756 f(x₁₃)=3.318266844x10⁻⁴

x₆=3.006532702- f'(x₁₃)=12.94245497
(399.7278051/816.4686756)=2.51695139
x₁₄=0.9708956596-
f(x₆)=145.0140916 (3.318266844x10⁻⁴/12.94245497)=
0.970870021
f'(x₆)=306.062086
f(x₁₄)=9.16478x10⁻⁹
x₇=2.51695139-
(145.0140916/306.062086)=2.043145263 f'(x₁₄)=12.94174006

f(x₇)=51.47555342 The root of a function f(x)=e²ˣ-x-6 is 0.97087 or


0.9709 .
f'(x₇)=118.0373974

x₈=2.043145263-
(51.47555342/118.0373974)=1.060704997

f(x₈)=17.27383758

f'(x₈)=48.76177509

x₉=1.060704997-
(17.27383758/48.76177509)=1.252800406

f(x₉)=4.998116846

f'(x₉)=23.5018345
3.Find the root of the function f(x)=5x+ln(x)-
x₁₀=1.252800406- 10000, correct to four decimal places, use the
(4.998116846/23.5018345)=1.040131185 Newton-Rhapson method.

f(x₁₁)=0.9664381302 f(x)=5x+ln(x)-10000

f'(x₁₁)=15.01313863 f(x)=5+1/x

x₁₂=1.040131185- x₀=1
(0.9664381302/15.01313863)= 0.9757583606
f(x₀)=5(1)+ln(1)-10000= -9995
f(x₁₂)=0.06359786753
f'(x₀)=5+1/(1)=6
f'(x₁₂)=13.07871246
x₁=1-(-9995/6)= 1666.833333
x₁₃=0.9757583606-
(0.06359786753/13.07871246)= 0.9708956596 f(x₁)=-1658.414652
f'(x₁)=5.00059994 f'(x)=100x⁹⁹

x₂=1666.833333-(1658.414652/5.00059994)= x₀=0.1
1998.476471
f(x₀)=(0.1)¹⁰⁰= 1x10⁻¹⁰⁰
f(x₂)=-0.01750647899
f'(x₀)=100(0.1)⁹⁹= 1000x10⁻¹⁰⁰
f'(x₂)=5.000500381
x₁=0.1 -[(1x10⁻¹⁰⁰)/(1000x10⁻¹⁰⁰)]= 0.099
x₃=1998.476471-(-
f(x₁)=3660.32341273x10⁻¹⁰⁴
0.01750647899/5.000500381)= 1998.479972
f'(x₁)=369.72963765x10⁻¹⁰⁰
f(x₃)=0
x₂=0.099 ⁻
f'(x₃)=5.00050038
(3660.32341273x10⁻¹⁰⁴/369.72963765x10⁻¹⁰⁰)=
x₄=1998.479972-(0/5.00050038)=1998.479972 0.09801

f(x₄)=0 f(x₂)=1339.796749x10⁻¹⁰⁴

f'(x₄)=5.00050038 f'(x₂)=136.70000496x10⁻¹⁰⁰

The root of the function f(x)=5x+ln(x)-10000 is x₃=0.09801-


1998.4799 or 1998.48 . (1339.796749x10⁻¹⁰⁴/136.70000496x10⁻¹⁰⁰)=
0.0970299

f(x₃)=490.4089407x10⁻¹⁰⁴

f'(x₃)=50.5420433x10⁻¹⁰⁰

x₄=0.0970299-
(490.4089407x10⁻¹⁰⁴/50.5420433x10⁻¹⁰⁰)=
0.095089302

f(x₄)=179.50553275x10⁻¹⁰⁴

f'(x₄)=18.686891355x10⁻¹⁰⁰

x₅=0.095089302-
4.A devotee of Newton-Rhapson method used (179.50553275x10⁻¹⁰⁴/18.686891355x10⁻¹⁰⁰)=
the method to solve the equation x¹⁰⁰=0, using 0.09509900499
the initial estimate x₀=0.1. Calculate the next
f(x₅)=6.57048304241x10⁻¹⁰³
five Newton-Rhapson estimate.
f'(x₅)=6.90909756953x10⁻¹⁰⁰
f(x)=x¹⁰⁰
f(x₃)= 0.2503899343

f'(x₃)=1.629622401

x₄=1.059475836-(0.2503899343/1.629622401)=
0.905826786

f(x₄)=0.0335865864

f'(x₄)=1.194618409

x₅= 0.905826786-
(0.0335865864/1.194618409)= 0.8777118783

f(x₅)=1.099158053x10⁻³

5. Find a non-zero root of the equation x²- f'(x₅)= 1.116510737


sin(x) using Newton's method, set the initial
x₆=0.8777118783-
guess at 0.5 .
(1.099158053x10⁻³/1.116510737)=
f(x)= x² - sin(x) 0.8767274201

f'(x)= 2x - cos(x) f(x₆)=1.341832501x10⁻⁶

x₀=0.5 f'(x₆)=1.113784808

f(x₀)= (0.5)² - sin(0.5) =-0.2294255386 x₇=0.8767274201-


(1.341832501x10⁻⁶/1.113784808)=
f'(x₀)= 2(0.5) - cos(0.5) = 0.1224174381
0.8767262154
x₁=0.5 - (-0.2294255386/0.1224174381)=
f(x₇)= 2.011x10⁻¹²
2.374124652
f'(x₇)= 1.113781472
f(x₁)=4.942152603
The root of the equation x²-sin(x) is 0.8767 .
f'(x₁)=5.467920284

x₂=2.374124652-(4.942152603/5.467920284)=
1.470279617

f(x₂)=1.166769703

f(x₂)=2.840211701

x₃=1.470279617-
(1.166769703/2.840211701)=1.059475836
x₄=0.7754127151-
(0.01662810718/3.105453497)= 0.7700582292

f(x₄)=1.235505x10⁻⁴

f'(x₄)=3.059447669

x₅=0.7700582292-
(1.235505x10⁻⁴/3.059447669)= 0.7700032951

f(x₅)=-4.45048186x10⁻⁵

f'(x₅)=3.058980094

The root of a function f(x)=x⁵-x³+2x²-1 is 0.77 .

6.Find the root of a function f(x)= x⁵-x³+2x²-1.


The initial guess is at x₁=1. Approximate the
root to five decimal places.

f(x)=x⁵-x³+2x²-1

f'(x)=5x⁴-3x²+4x

x₁=1

f(x₁)=(1)⁵-(1)³+2(1)²-1= 1

f'(x₁)=5(1)⁴-3(1)²+4(1)= 6

x₂=1 - (1/6)= 0.833333

f(x₂)=0.2120627572 7.Find the root of a function f(x)=arctan(x)-x+1.


The initial guess is at x₁=2. Approximate the
f'(x₂)=3.661265432 root to five decimal places.

x₃= 0.833333-(0.2120627572/3.661265432)= f(x)=arctan(x)-x+1


0.7754127151
f'(x)=[1/(1+x²)] -1
f(x₃)=0.01662810718
x₁=2
f'(x₃)=3.105453497
f(x₁)=0.1071487178

f'(x₁)=-0.8
x₂=2 - (0.1071487178/-0.8)= 2.133935897

f(x₂)=-1.367607094x10⁻³

f'(x₂)=-0.8199392897

x₃=2.133935897 - (-1.367607094x10⁻³/-
0.8199392897)= 2.13226796

f(x₃)=-1.9259127x10⁻⁷

f'(x₃)=-0.8197082876

x₄=2.13226796 - (-1.9259127x10⁻⁷/
-0.8197082876)= 2.132267725

f(x₄)=0

f'(x₄)=-0.819708255

The root of a function f(x)=arctan(x)-x+1 is


2.132 .

You might also like