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

Bisection Method Exercise: F (X) 4x 2 - 4 Assignment: F (X) 3x 3 + 19x 2 - 2x - 45

This document demonstrates the bisection method for finding roots of functions. It provides an example of using the bisection method to find the root of f(x) = 4x^2 - 4 between 0 and 3. It then applies the bisection method to the function f(x) = 3x^3 + 19x^2 - 2x - 45, iteratively narrowing the range and calculating the midpoint to find the root.
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)
77 views3 pages

Bisection Method Exercise: F (X) 4x 2 - 4 Assignment: F (X) 3x 3 + 19x 2 - 2x - 45

This document demonstrates the bisection method for finding roots of functions. It provides an example of using the bisection method to find the root of f(x) = 4x^2 - 4 between 0 and 3. It then applies the bisection method to the function f(x) = 3x^3 + 19x^2 - 2x - 45, iteratively narrowing the range and calculating the midpoint to find the root.
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
You are on page 1/ 3

BISECTION METHOD

Exercise:
f(x) = 4x^2 - 4
xL
0
0
0.75
0.75
0.9375
0.9375
0.984375
0.984375
0.996094
0.996094
0.999023
0.999023
0.999756
0.999756

xU
3
1.5
1.5
1.125
1.125
1.03125
1.03125
1.007813
1.007813
1.001953
1.001953
1.000488
1.000488
1.000122

Assignment:
f(x) = 3x^3 + 19x^2 - 2x - 45
f(xL)
-4
-4
-1.75
-1.75
-0.48438
-0.48438
-0.12402
-0.12402
-0.03119
-0.03119
-0.00781
-0.00781
-0.00195
-0.00195

f(xU)
32
5
5
1.0625
1.0625
0.253906
0.253906
0.062744
0.062744
0.01564
0.01564
0.003907
0.003907
0.000977

xmid
1.5
0.75
1.125
0.9375
1.03125
0.984375
1.007813
0.996094
1.001953
0.999023
1.000488
0.999756
1.000122
0.999939

f(xmid)
5
-1.75
1.0625
-0.48438
0.253906
-0.12402
0.062744
-0.03119
0.01564
-0.00781
0.003907
-0.00195
0.000977
-0.00049

xL
0
0
0.75
1.125
1.3125
1.40625
1.40625
1.429688
1.429688
1.429688
1.432617
1.432617
1.432617
1.432983
1.433167

Assignment:
f(x) = 3x^3 + 19x^2 - 2x - 45
xU
3
1.5
1.5
1.5
1.5
1.5
1.453125
1.453125
1.441406
1.435547
1.435547
1.434082
1.43335
1.43335
1.43335

f(xL)
-45
-45
-34.5469
-18.9316
-8.11157
-1.89651
-1.89651
-0.25638
-0.25638
-0.25638
-0.04891
-0.04891
-0.04891
-0.02294
-0.00995

f(x) = 5x^5 + 2x^4 - 6x^3 + 4x^2 - 5x + 53


f(xU)
201
4.875
4.875
4.875
4.875
4.875
1.418758
1.418758
0.576797
0.159111
0.159111
0.055032
0.003044
0.003044
0.003044

xmid
1.5
0.75
1.125
1.3125
1.40625
1.453125
1.429688
1.441406
1.435547
1.432617
1.434082
1.43335
1.432983
1.433167
1.433258

f(xmid)
4.875
-34.5469
-18.9316
-8.11157
-1.89651
1.418758
-0.25638
0.576797
0.159111
-0.04891
0.055032
0.003044
-0.02294
-0.00995
-0.00345

xL
-2
-2
-2
-2
-1.8125
-1.8125
-1.76563
-1.74219
-1.74219
-1.73633
-1.73633
-1.73633
-1.7356
-1.73523
-1.73523

xU
1
-0.5
-1.25
-1.625
-1.625
-1.71875
-1.71875
-1.71875
-1.73047
-1.73047
-1.7334
-1.73486
-1.73486
-1.73486
-1.73505

f(xL)
-1
11
11
11
3.179932
3.179932
1.249805
0.289751
0.289751
0.050298
0.050298
0.050298
0.020382
0.005426
0.005426

6x^3 + 4x^2 - 5x + 53
f(xU)
53
-39.625
-18.6719
-4.45117
-4.45117
-0.66666
-0.66666
-0.66666
-0.18892
-0.18892
-0.06934
-0.00953
-0.00953
-0.00953
-0.00205

xmid
-0.5
-1.25
-1.625
-1.8125
-1.71875
-1.76563
-1.74219
-1.73047
-1.73633
-1.7334
-1.73486
-1.7356
-1.73523
-1.73505
-1.73514

f(xmid)
57.21875
-18.6719
-4.45117
3.179932
-0.66666
1.249805
0.289751
-0.18892
0.050298
-0.06934
-0.00953
0.020382
0.005426
-0.00205
0.001687

You might also like