Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

in MATLAB For the function () = 7.25 3 32 + 2 2.5 a. Find the root of on the interval [2,3] [6,8] with a

in MATLAB For the function () = 7.25 3 32 + 2 2.5 a. Find the root of on the interval [2,3] [6,8] with a tolerance of 1012 using the false position method. Use the absolute relative error (i.e., absolute value of the approximate error). Your code should throw an error message if the provided number of maximum iterations is too small (say 10). If the provided number of maximum iterations is large enough (say 400), print the root and the number of iterations required. b. The same questions as a) but for secant method. Note: even though secant method is an open method, but it requires 2 initial guesses (see my iPad notes). c. Rewrite your false position method so that it saves the sequence of approximations of the root and the sequence of the error in two vectors. Plot the absolute relative error (i.e., absolute value of the approximate error) as a function of iteration on a base-10 logarithmic scales on both axes. Does the plot make sense? Why? d. The same questions as c) but for secant method

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_2

Step: 3

blur-text-image_3

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

Intro Stats

Authors: Richard D. De Veaux, Paul F. Velleman, David E. Bock

3rd edition

321533283, 321533289, 9780321463708, 9780321503848, 9780321503800, 9780321499431, 9780321499417, 978-0321500458

More Books

Students also viewed these Mathematics questions

Question

T 9 HW Question 1 6 Curve A contains Nodes

Answered: 1 week ago