Professional Documents
Culture Documents
Numerical Solutions
Numerical Solutions
Assignment #1
Given the function f(x) = 6x2 + x – 70, determine its positive root using
a. Newton-Raphson Method
b. Secant Method
݊ ݔ ݂ሺ
ݔሻ ݂Ԣ
ሺݔሻ
0 4 30 49
1 3.387755102 2.24906289 41.65306122
2 3.333759962 0.017492851 41.00511954
3 3.33333336 0.000001092 41.00000032
4 3.333333333 0.000000000 41
b. Secant Method Therefore, the positive root is approximately 3.3333.
࢞ ࢞ െ
ࢌ࢞ ൌ ૠ ݂ݔିଵ ሾݔିଶ െݔିଵሿ
ݑ
݈ܽ ݈ ܽ ݑǣ
݉ܨݎ
ݔ ൌ
ݔିଵ െ
݂ݔିଶ െ݂ሺ ݔିଵሻ
1
Initial guess:
ݔିଵ 4 ࢞ ࢞ ି ࢞ ି ࢌሺ
࢞ିሻ ࢌሺ
࢞ିሻ
ݔିଶ 5 1 3.454545455 4 5 30 85
2 3.343936382 3.454545455 4 5.05785124 30
ሺͶሻଶͶെͲ
݂ݔିଵ ൌ 3 3.333517855 3.343936382 3.454545455 0.435399531 5.05785124
ൌ
͵Ͳ 4 3.333333619 3.333517855 3.343936382 0.007565576 0.435399531
5 3.333333333 3.333333619 3.333517855 0.000011720 0.007565576
ሺͷሻଶͷ െͲ
݂ݔିଶ ൌ 6 3.333333333 3.333333333 3.333333619 0.000000000 0.000011720
ൌ
ͺͷ
Therefore, the root of ݂ ݔൌ
ݔଶ ݔെͲ is approximately 3.33.
݂ݔିଵ ሾݔିଶ െݔିଵሿ
ݔ ൌ
ݔିଵ െ
݂ݔିଶ െ ݂ሺݔିଵሻ
͵ Ͳሾͷ െͶሿ
ݔ ൌ
Ͷെ
ͺ ͷ െ͵ Ͳ
ݔ ൌ
ϯ ͘ ϰϱϰϱϰϱϰϱϱ