Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Determine the real roots of f ( x ) = - 0 . 5 x 2 + 2 . 5 x + 4 . 5

Determine the real roots of f(x)=-0.5x2+2.5x+4.5 :
a. Graphically: Plot the function and eyeball the roots. Plot this in Matlab.
b. Using the quadratic formula: Use the function that you developed in Homework Matlab
Refresher.
c. Using the Bisection method to determine the highest root: Employ initial guesses of xl=5
and x4=10. Compute and output the value of the root, the relative approximate error
and the relative true error after each iteration.
i. Do this by hand for five iterations.
ii. Write a Matlab script that solves the problem using your own Bisection
function. The Bisection function should allow the input of any function, upper
and lower guesses, number of iterations to perform, and relative approximate
stopping criteria. Conduct 10 iterations.
image text in transcribed

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

Database Processing Fundamentals Design

Authors: Marion Donnie Dutton Don F. Seaman

14th Edition Globel Edition

1292107634, 978-1292107639

More Books

Students also viewed these Databases questions