Question: NUMERICAL ANALYSIS Write a MATLAB program for the Newton-Raphson method. Write your name, ID, and number of the Section inside the code. Test your algorithm
NUMERICAL ANALYSIS
Write a MATLAB program for the Newton-Raphson method. Write your name, ID, and number of the Section inside the code.
Test your algorithm to find the root of the function:
f(x) = cos(x) + 1/(1+x^2) defined on the interval [0.4, 4.5]. The angles are in radian.
Start with the initial value for x to be 1.2.
Stop the running until 10 iterations or relative approximated error is less than 0.05.
Display the output for each iteration.
Type or paste question here
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
