Sie sind auf Seite 1von 5

2. Find where the cubic polynomial y = xᶟ - x + 1 intersects the parabola y = 2x².

Make a sketch of the two


curves to locate the intersections, and then used secant Method to evaluate the x - values of the points
of intersection.
𝑥 =𝑥₂-
(𝑓(𝑥₂)∗(𝑥₂−𝑥₁))/
(𝑓(𝑥₂)−𝑓(𝑥₁))
Equation: y = xᶟ - x + 1

Iteration x₁ x₂ f(x₁) f(x₂) x


0 0.555 -0.802 0.615954 1.28615 1.802171
1 -0.802 1.802171 1.28615 5.050953 -1.69165
2 1.802171 -1.69165 5.050953 -2.14931 -0.64873
3 -1.69165 -0.64873 -2.14931 1.375712 -1.055751
4 -0.64873 -1.05575 1.375712 0.879 -1.776031
5 -1.05575 -1.77603 0.879 -2.82608 -1.226632
6 -1.77603 -1.22663 -2.82608 0.381011 -1.291902
7 -1.22663 -1.2919 0.381011 0.135705 -1.32801
8 -1.2919 -1.32801 0.135705 -0.01408 -1.324615
9 -1.32801 -1.32462 -0.01408 0.000438 -1.324718
10 -1.32462 -1.32472 0.000438 1.34E-06 -1.324718
11 -1.32472 -1.32472 1.34E-06 -1.28E-10 -1.324718
12 -1.32472 -1.32472 -1.28E-10 0 -1.324718
13 -1.32472 -1.32472 0 0 #DIV/0!
14 -1.32472 #DIV/0! 0 #DIV/0! #DIV/0!
15 #DIV/0! #DIV/0! #DIV/0! #DIV/0! #DIV/0!

Iteration x₁ x₂ f(x₁) f(x₂) x


0 0.555 -0.802 0.61605 1.286408 1.802065
1 -0.802 1.802065 1.286408 6.494875 -1.445162
2 1.802065 -1.44516 6.494875 4.176988 -7.296885
3 -1.44516 -7.29689 4.176988 106.4891 -1.20626
4 -7.29689 -1.20626 106.4891 2.910127 -1.03514
5 -1.20626 -1.03514 2.910127 2.143028 -0.557084
6 -1.03514 -0.55708 2.143028 0.620685 -0.362172
7 -0.55708 -0.36217 0.620685 0.262338 -0.219482
8 -0.36217 -0.21948 0.262338 0.096345 -0.136663
9 -0.21948 -0.13666 0.096345 0.037353 -0.084221
10 -0.13666 -0.08422 0.037353 0.014186 -0.052108
11 -0.08422 -0.05211 0.014186 0.005431 -0.032191
12 -0.05211 -0.03219 0.005431 0.002073 -0.019899
13 -0.03219 -0.0199 0.002073 0.000792 -0.012297
14 -0.0199 -0.0123 0.000792 0.000302 -0.0076
15 -0.0123 -0.0076 0.000302 0.000116 -0.004697
3. use the method of regula-falsig to find the smallest positive root of the following equations. In
each case first determine a suitable interval, then complete the root with relative accuracy of 0.5%

a) tan x -x -1 = 0
b) e-x - sinx = 0
c) x3 - x2 - 2x + 1 = 0
d) 3x3 + 4x2 - 8x - 1 = 0

a) tan x -x -1 = 0 �=(𝑎𝑓(𝑏)−𝑏𝑓(𝑎))/(𝑓(𝑏)−𝑓(𝑎))

𝑓(𝑎)∙𝑓(𝑏)<0
𝑓(𝑎)∙𝑓(�)<0
𝑓(�)∙𝑓(𝑏)<0

Iteration a b f(a) f(b) k f(k) accuracy


0 -3 4 2.142547 -3.84218 -0.49398 -1.04453 0
1 -3 -0.49398 2.142547 -1.04453 -1.3153 -3.51317 0
2 -3 -1.3153 2.142547 -3.51317 -2.36179 2.350662 0
3 -2.36179 -1.3153 2.350662 -3.51317 -1.94228 3.509209 0
4 -1.94228 -1.3153 3.509209 -3.51317 -1.62897 17.79991 0
5 -1.62897 -1.3153 17.79991 -3.51317 -1.36701 -4.47191 0
6 -1.62897 -1.36701 17.79991 -4.47191 -1.41961 -6.14409 0
7 -1.62897 -1.41961 17.79991 -6.14409 -1.47333 -9.75399 0
8 -1.62897 -1.47333 17.79991 -9.75399 -1.52842 -23.0582 0
9 -1.62897 -1.52842 17.79991 -23.0582 -1.58517 70.16901 0
10 -1.58517 -1.52842 70.16901 -23.0582 -1.54246 -34.7371 0
11 -1.58517 -1.54246 70.16901 -34.7371 -1.5566 -69.8819 0
12 -1.58517 -1.5566 70.16901 -69.8819 -1.57085 17273.81 0
13 -1.57085 -1.5566 17273.81 -69.8819 -1.55666 -70.168 1
14 -1.57085 -1.55666 17273.81 -70.168 -1.55672 -70.4565 1
15 -1.57085 -1.55672 17273.81 -70.4565 -1.55677 -70.7473 0

b) e-x - sinx = 0

Iteration a b f(a) f(b) k f(k) accuracy


0 -1 9 3.559753 -0.412 7.962686 -0.99375 0
1 -1 7.962686 3.559753 -0.99375 6.006683 0.275455 0
2 6.006683 7.962686 0.275455 -0.99375 6.431193 -0.14586 0
3 6.006683 6.431193 0.275455 -0.14586 6.284229 0.000822 1
4 6.284229 6.431193 0.000822 -0.14586 6.285052 -3.13E-06 1
5 6.284229 6.285052 0.000822 -3.13E-06 6.285049 -4.43E-12 1
6 6.284229 6.285049 0.000822 -4.43E-12 6.285049 7.47E-16 1
7 6.285049 6.285049 7.47E-16 -4.43E-12 6.285049 -1.43E-16 1
8 6.285049 6.285049 7.47E-16 -1.43E-16 6.285049 -1.43E-16 0
6. Find the roots of the following polynomials using Newton first method.

a) x3 - 2x + 1 = 0
b) x4 + x3 - 4x2 -3x + 3 = 0
c) x4 - 4.4x3 + 9.43x2 - 14.86x + 7.15 = 0

a) x3 - 2x + 1 = 0

f(x) = x3 - 2x + 1 𝑥=𝑥_(𝑖 )−(𝑓(𝑥))/


(𝑓′(𝑥))
f'(x) = 3x2 - 2

Iteration xi f(x) f'(x) x


0 0 1 -2 0.5
1 0.5 0.125 -1.25 0.6
2 0.6 0.016 -0.92 0.617391
3 0.617391 0.00055 -0.85648 0.618033
4 0.618033 7.63E-07 -0.85411 0.618034
5 0.618034 1.48E-12 -0.8541 0.618034
6 0.618034 0 -0.8541 0.618034
7 0.618034 0 -0.8541 0.618034
8 0.618034 0 -0.8541 0.618034
9 0.618034 0 -0.8541 0.618034
10 0.618034 0 -0.8541 0.618034

b) x4 + x3 - 4x2 -3x + 3 = 0

f(x) = x4 + x3 - 4x2 -3x + 3 𝑥=𝑥_(𝑖 )−(𝑓(𝑥))/


(𝑓′(𝑥))
f'(x) = 4x3 +3x2 - 8x -3

Iteration xi f(x) f'(x) x


0 0 3 -3 1
1 1 -2 -4 0.5
2 0.5 0.6875 -5.75 0.619565
3 0.619565 -0.00896 -5.85363 0.618034
4 0.618034 3.67E-07 -5.8541 0.618034
5 0.618034 0 -5.8541 0.618034
6 0.618034 0 -5.8541 0.618034
7 0.618034 0 -5.8541 0.618034
8 0.618034 0 -5.8541 0.618034
9 0.618034 0 -5.8541 0.618034
10 0.618034 0 -5.8541 0.618034
c) x4 - 4.4x3 + 9.43x2 - 14.86x + 7.15 = 0

f(x) = x4 - 4.4x3 + 9.43x2 - 14.86x + 7.15 𝑥=𝑥_(𝑖 )−(𝑓(𝑥))/


(𝑓′(𝑥))
f'(x) = 4x3 - 13.2x2 + 18.86x -14.86

Iteration xi f(x) f'(x) x


0 0 7.15 -14.86 0.481157
1 0.481157 1.746628 -8.39576 0.689194
2 0.689194 0.172949 -6.82221 0.714545
3 0.714545 0.002019 -6.66395 0.714848
4 0.714848 2.81E-07 -6.6621 0.714848
5 0.714848 0 -6.6621 0.714848
6 0.714848 0 -6.6621 0.714848
7 0.714848 0 -6.6621 0.714848
8 0.714848 0 -6.6621 0.714848
9 0.714848 0 -6.6621 0.714848
10 0.714848 0 -6.6621 0.714848

Das könnte Ihnen auch gefallen