Question: Run the program and enter the following Enter the given function: cos(x) Enter the derivative of the given function: -sin(x) Enter initial approximation: 1 Enter

Run the program and enter the following Enter the given function: cos(x) Enter the derivative of the given function: -sin(x) Enter initial approximation: 1 Enter no. of iterations, n: 30 Enter tolerance, tol: 0.0001 Write the output below Approximate solution of cos(x) is xn= 1.570796327 on 4th iterations
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
