The document describes using the secant method to find the roots of an equation. It provides two examples, outputting the iteration number, initial guesses for x0 and x1, their function values fx0 and fx1, the next estimate x2, and difference d until reaching the accuracy threshold of 0.001. The solution is then reported.
The document describes using the secant method to find the roots of an equation. It provides two examples, outputting the iteration number, initial guesses for x0 and x1, their function values fx0 and fx1, the next estimate x2, and difference d until reaching the accuracy threshold of 0.001. The solution is then reported.
The document describes using the secant method to find the roots of an equation. It provides two examples, outputting the iteration number, initial guesses for x0 and x1, their function values fx0 and fx1, the next estimate x2, and difference d until reaching the accuracy threshold of 0.001. The solution is then reported.
PS C:\Users\M-H\Desktop\1h2Ashowna> ./a.exe To find the roots of the given equation,give the interval. 0.5 1.0 Give accuracy e 0.001 it x0 x1 fx0 fx1 x2 d 1 0.5 1 -0.375 1 0.636364 0.363636 2 1 0.636364 1 -0.105935 0.671196 0.034832 3 0.636364 0.671196 -0.105935 -0.0264283 0.682774 0.0115783 4 0.671196 0.682774 -0.0264283 0.00106954 0.682324 0.000450313 The solution of the equation is:0.682324 PS C:\Users\M-H\Desktop\1h2Ashowna>