Newton Method Code Math Lab
Info
This question is closed. Reopen it to edit or answer.
Show older comments
Hello Forum,
I have to solve the following question using Matlab:
Problem 1 The function f(x) = sin(x) has a zero on the interval (3, 4), namely, x∗ = π. Perform three iterations of Newton method to approximate this zero, using x1 = 4. Determine the absolute error in each of the computed approximations. What is the apparent order of convergence?
My problem is that I know absolute zero stuff about coding, I know the theory and how to do it on paper but I dont know how to do it with code. Does anyone have a template similar to this question? I need a beginning or something I can work on and then modify.
I am begging for help.
2 Comments
Emmanuel Pardo-Cerezo
on 4 Oct 2019
Answers (0)
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!