0% found this document useful (0 votes)
15 views3 pages

Root-Finding Methods for ƒ(x) Analysis

The document presents three numerical methods (Bisection, Newton's, and False Position) for finding the roots of the equation f(x) = 3x + sin(x) - e^x. Each method includes iterations with corresponding values of x, function evaluations, and error tolerances. The final approximated root from each method is approximately 0.3604.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views3 pages

Root-Finding Methods for ƒ(x) Analysis

The document presents three numerical methods (Bisection, Newton's, and False Position) for finding the roots of the equation f(x) = 3x + sin(x) - e^x. Each method includes iterations with corresponding values of x, function evaluations, and error tolerances. The final approximated root from each method is approximately 0.3604.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

f(x )= 3x+sin(x)-ex

BISECTION METHOD
No. of Iterations a b x ƒ(a) ƒ(b) ƒ(x)
0 0 1 0.5 -1 1.123189156 0.330704268
1 0 1 0.5 -1 1.123189156 0.330704268
2 0 0.5 0.25 -1 0.330704268 -0.286621457
3 0.25 0.5 0.375 -0.286621457 0.330704268 0.036281114
4 0.25 0.375 0.3125 -0.286621457 0.036281114 -0.121899427
5 0.3125 0.375 0.34375 -0.121899427 0.036281114 -0.041955966
6 0.34375 0.375 0.359375 -0.041955966 0.036281114 -0.002619635
7 0.359375 0.375 0.3671875 -0.002619635 0.036281114 0.016885753
8 0.359375 0.3671875 0.36328125 -0.002619635 0.016885753 0.007146742
9 0.359375 0.36328125 0.361328125 -0.002619635 0.007146742 0.002266965
10 0.359375 0.361328125 0.360351563 -0.002619635 0.002266965 -0.000175483
X = 0.360351563

ERROR TOLERANCE ; t = 0.001


The equation ƒ(x) = 3x + sin (x) - ex, has two (2) roots, If the value of / ƒ(x) / < tolerance value t , END iteration.
f(x)= 3x+sin(x)-ex

NEWTON'S METHOD
NO. of ITERATIONS x0 ƒ(x0) ƒ'(x0) x1
1 0 -1 3 0.333333333
2 0.333333333 -0.068417728 2.549344521 0.360170714
3 0.360170714 -0.000627985 2.502262548 0.36042168
4 0.36042168 -5.62516E-08 2.501814244
x = 0.36042168

ERROR TOLERANCE ; t = 0.0001


The equation, has two (2) roots, ƒ(x) = 3x + sin (x) - ex, If the value of / ƒ(x) / < tolerance value t , END iteration.
f(x)= 3x+sin(x)-ex

FALSE POSITION (REGULA FALSI) METHOD


NO. of ITERATIONS x0 x1 x2 ƒ(x0) ƒ(x1) ƒ(x2)
1 1 0 0.470989595 1.123189156 -1 0.265158816
2 0.470989595 0 0.372277052 0.265158816 -1 0.029533669
3 0.372277052 0 0.361597744 0.029533669 -1 0.002941
4 0.361597744 0 0.360537403 0.002941 -1 0.000289449
X = 0.360537403

ERROR TOLERANCE ; t = 0.001


The equation ƒ(x) = 3x + sin (x) - ex, has two (2) roots, If the value of / ƒ(x) / < tolerance value t , END iteration.

You might also like