Question: Using the Newton method, you will write a matlab function to find the root of the following equation between 1 and 3 . f (

Using the Newton method, you will write a matlab function to find the root of the following equation between 1and 3.
f(x)= x^3-x^2-4x+1
Specifically, you need to find the value of in the interval such that the function is equal to zero .
The Newton method starts from an initial guess value . In this case, we pick between 1and 3.
Write a matlab function named root_newtonthat
takes the parameter x, the initial guess, and returns the value of the calculated root;
applies Newton method iteration until the absolute value of the function at x_rootis less than 0.0001.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!