Activity 4 Maceda
Activity 4 Maceda
Solve the following problems and write your solutions on a separate sheet of paper. Each problem is worth five (5) points.
1. Find the root of the following nonlinear equation using the incremental search
4. Find a root of an equation f(x) = x3 – x – 1 using False Position method. Perform 10 iterations.
x 0 1 2
f(x) -1 -1 5 sign change @ x = 2
1.1667(5) − 2(−0.5787)
2nd Iteration = 1.2531 f(1.2531) = -0.28525
5 − (−0.5787)
1.2531(5) − 2(−0.28525)
3rd Iteration = 1.2934 f(1.2934) = -0.1296
5 − (−0.28525)
1.2934(5) −2(−0.1296)
4th Iteration = 1.31125 f(1.31125) = -0.0567
5 − (−0.1296)
1.31125(5) − 2(−0.0567)
5th Iteration = 1.31897 f(1.31897) = -0.02437
5 − (−0.0567)
1.31897(5) − 2(−0.02437)
6th Iteration = 1.32227 f(1.32227) = -0.0104
5 − (−0.02437
1.32227(5) − 2(−0.0104)
7th Iteration = 1.32367 f(1.32367) = -0.0044
5 − (−0.0104)
1.32367(5) − 2(−0.0044)
8th Iteration = 1.32426 f(1.32426) = -0.0019
5 − (−0.0044)
1.32426(5) − 2(−0.0019)
9th Iteration = 1.32452 f(1.32452) = -0.000858
5 − (−0.0019)
1.32452(5) − 2(−0.000858)
10th Iteration 5 − (−0.000858)
= 1.32464
5. Solve the equation −3x + cos x + 1 = 0 using Newton-Raphson method, starting with the initial guess x0 = 0.8, until the result is accurate to five decimal places.
Perform three iterations.
𝑓 (𝑥 )
y = x0 - 𝑓′(𝑥)
x 0 1
f(x) 2 -1
1st Iteration
2nd Iteration
3rd Iteration