Show transcribed image text Let f(x) = x2-5. Write a program. (using Matlab/Octave or C/C++) that implements Newton's method as discussed in class (i.e., do not use any built-in Newton's method functions, if they are available). Run your program using po-2.5 and e = 10-6. How many iterations were required to achieve an absolute error less than e? What were the final pn and en-1 values? Give your answers using 9 significant figures (8 digits after the decimal).
Let f(x) = x2-5. Write a program. (using Matlab/Octave or C/C++) that implements Newton's method as discussed in class (i.e., do not use any built-in Newton's method functions, if they are available). Run your program using po-2.5 and e = 10-6. How many iterations were required to achieve an absolute error less than e? What were the final pn and en-1 values? Give your answers using 9 significant figures (8 digits after the decimal).





