3. -x + 3x + 7 = 0 i) Explain Secant algorithm. (5p) ii) Write a computer code for Secant algorithm. (5p) iii) Calculate
Posted: Sun Apr 10, 2022 8:30 am
3. -x + 3x + 7 = 0 i) Explain Secant algorithm. (5p) ii) Write a computer code for Secant algorithm. (5p) iii) Calculate first three step of the secant algorithm by hand to find negative root of the equation for initial points Xo = -1; *1 = 0. (5p) iv) Use your computer code to find the root with error less than IXn+1 - xnl = 10-6 for initial point Xo = -1; x1 = 0. Obtain the table which contains n, xn-1, XmXn+1, Xn+1 - xnvalues for each iteration step. (5p)