Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

ANDRES, MARTY JOHN R.

BSEEIII-B

Problem:
Determine the first positive root (lowest positive root) of the equation 𝑦 = 𝑥 2 |sin 𝑥| − 4 (x is in radian)
by the graphical and bisection methods. Use a stopping criterion below ∊𝑠 = 0.5% for the bisection
method.

Answer:
x 0 0.5 1 1.5 2 2.5 3 3.5

f(x) -4.0000000 -3.8801436 -3.1585290 -1.7556363 -0.3628103 -0.2595491 -2.7299199 0.2970945

Iteration f(Xl)* f(Xr) Remarks


Xl Xr Xu f(Xl) f(Xr) (subinterval)
|∊a |, %
1 3 3.25 3.500 -2.7299199 -2.8571889 >0 2nd
2 3.25 3.375 3.500 -2.8571889 -1.3654189 >0 2nd 3.703704
3 3.375 3.4375 3.500 -1.3654189 -0.5542428 >0 2nd 1.818182
4 3.4375 3.46875 3.500 -0.5542428 -0.1334145 >0 2nd 0.900901
5 3.46875 3.484375 3.500 -0.1334145 0.0806538 <0 1st 0.44843

In iteration 5, the percent absolute relative approximate error is 0.44843, which is less than ∊𝑠 = 0.5%.
Therefore, the root is equal to 3.484375.

You might also like