Problem Set #9: Secant Method: Iteration, The Root of A Given Function Has Found and It Is - 0.65927
Problem Set #9: Secant Method: Iteration, The Root of A Given Function Has Found and It Is - 0.65927
Arranguez
Course, Year and Section: BSIE 2-E
Advance Mathematics
Problem Set #9: Secant Method
EXERCISE 4. Solve the following problems using Secant method and show the graph of a
function.
1.) Find a root of a function (𝑥) = cos(𝑥) + 2 sin(𝑥) + 𝑥2. Use 𝑥0 = 0 𝑎𝑛𝑑 𝑥1 = 0.1 as initial
approximations. Perform a maximum 100 number of iterations.
Answer: 100 iterations cannot be performed. After 9th iteration, the root of a given
function has found and it is -0.65927.
3.) Locate the first positive root of (𝑥) = sin 𝑥 + cos(1 + 𝑥2) − 1 where 𝑥 is in radians. Use
four iterations of the secant method with initial guesses of (a) 𝑥𝑖−1 = 1.0 and 𝑥𝑖 = 3.0;
(b) 𝑥𝑖−1 = 1.5 and 𝑥𝑖 = 2.5; and (c) 𝑥𝑖−1 = 1.5 and 𝑥𝑖 = 2.25 to locate the root.
Answer: With 4th iteration, the positive root of the given function is 2.532107.
Answer: With 4th iteration, the first positive root of the given function is 1.944608.
4.) Determine the root of (𝑥) = 𝑥4.5 −80 using initial approximations 𝑥0 = 0 𝑎𝑛𝑑 𝑥1 = 1 up
to six decimal places.
5.) Find the root of a function (𝑥) = −2𝑥6 − 1.5𝑥4 + 10𝑥 + 2 using initial approximations 𝑥0
= 0.5 𝑎𝑛𝑑 𝑥1 = 1.5 up to six decimal places.
29