You are on page 1of 3

NONLINEAR EQUATION.

Quiz #2
Student Name: Student ID:

1. Determine the real root of f (x) = 4x3 − 6x2 + 7x − 2.3. Using bisection to locate
the root. Employ initial guesses of xl = 0 and xu = 1 and iterate until the estimated
error εa falls below a level of εs = 10%.

We have
𝑓(0) = −2.3
𝑓(1) = 2.7

Iteration 𝒙𝒍 𝒙𝒖 𝒙𝒓 𝒇(𝒙𝒓 ) 𝜺𝒂 (%)


1 0 1 0.5 0.2
2 0 0.5 0.25 -0.8625 100%
3 0.25 0.5 0.375 -0.3078 33.333%
4 0.375 0.5 0.4375 -0.0510 14.286%
5 0.4375 0.5 0.46875 0.0749 6.667% < 𝜀𝑠

HVUS 1
2. Determine the highest real root of f (x) = 2x3 − 11.7x2 + 17.7x – 5. Using
Newton-Raphson method (three iterations, x0 = 3).

The first derivative: 𝑓 ′ (𝑥) = 6𝑥 2 − 23.4𝑥 + 17.7

𝑓(𝑥) 2𝑥 3 −11.7𝑥 2 +17.7𝑥−5


Using Newton-Raphson method: 𝑥𝑖+1 = 𝑥𝑖 − 𝑓′ (𝑥) = 𝑥𝑖 − 6𝑥 2 −23.4𝑥+17.7

Starting with initial guess of 𝑥0 = 3:

i 𝒙𝒊 𝜺𝒂 (%)
0 3
1 5.1333 41.558%
2 4.2697 20.226%
3 3.7929 12.571%

HVUS 2
3. Divide a polynomial f(x)=x4 − 5x3 + 5x2 + 5x − 6 by the monomial factor x − 2. Is
x = 2 a root?

𝑥 3 − 3𝑥 2 − 𝑥 + 3
𝑥−2 𝑥 4 − 5𝑥 3 + 5𝑥 2 + 5𝑥 − 6
𝑥 4 − 2𝑥 3
−3𝑥 3 + 5𝑥 2
−3𝑥 3 + 6𝑥 2
− 𝑥 2 + 5𝑥
− 𝑥 2 + 2𝑥
3𝑥 − 6
3𝑥 − 6
0

The remainder of the division is zero, hence 𝑥 = 2 is a root of 𝑓(𝑥).

HVUS 3

You might also like