Question: 4. Write one matlab script that computes the root for f(x) = ex + x3 + 2x2 1.2 for Xo = -0.4 (x1 = 0

 4. Write one matlab script that computes the root for f(x)

4. Write one matlab script that computes the root for f(x) = ex + x3 + 2x2 1.2 for Xo = -0.4 (x1 = 0 for secant and false-positioning) using all three methods (newton- raphson, secant and false-positioning). You need to store the roots of the three different methods in three different arrays: rootNR, rootSCT, rootFP. The array will hold the results of the solutions at each iteration and is indexed by the iteration number. The iterations should continue until the worst solution among the three solutions reaches 5 significant digits. 5. Write a Matlab script that estimates the roots of an nth order polynomial using QD method until m significant digits are correct. You need to test you're your function at least with two different polynomials to show it works

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 Databases Questions!