Question: Do the whole code in C++ and please share the whole code. Problem Statement: Determine the real root of the equation: f(x) = x3 -

Do the whole code in C++ and please share the whole code.
Problem Statement: Determine the real root of the equation: f(x) = x3 - * - 3 using Secant Method. Employ initial guess of Xo = 1 and X1 = 3 and iterate until the two consecutive approximate roots are correct upto 4 decimal places Tasks: 1. Write a program using Secant method to locate the approximate root of the function f(x) =X3 -- 3 with initial guesses Xo = 1 and x = 3. 2. Iterate until two consecutive approximate roots are correct upto 4 decimal places. 3. Use Horner's method to evaluate the function. 4. Use appropriate math function for your code. 5. Print the following table that show the values of approximate root Xo, X1, X2, f(xo).f(x1) and f(x2) Sample Input/output ENTER THE TOTAL NO. OF POWER 111 ) x"0:1-3 * 2:10 THE POLYNOMIAL IS !!! 1x3+ 0x2 -1x13x0 INTIAL XI-> 80 ---->1 Iteration x1 f(x1) (x2)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
