Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Marketing Database Analytics

Authors: Andrew D. Banasiewicz

1st Edition

0415657881, 978-0415657884

More Books

Students also viewed these Databases questions

Question

What are 3PLs and what role do they play in SCM?

Answered: 1 week ago

Question

Identify several ways to make better decisions about retirement.

Answered: 1 week ago