Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Develop a MATLAB function which estimates the root of a given function utilizing false position. Your function should have the following: Inputs: Inputs: func -

Develop a MATLAB function which estimates the root of a given function utilizing false position. Your function should have the following:

Inputs:

Inputs:

func - the function being evaluated

xl- the lower guess

xu- the upper guess

es - the desired relative error (should default to 0.0001%)

maxit - the maximum number of iterations to use (should default to 200)

varargin, . . . - any additional parameters used by the function

Outputs:

root - the estimated root location

fx - the function evaluated at the root location

ea - the approximate relative error (%)

iter - how many iterations were performed

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

Hands-On Database

Authors: Steve Conger

2nd Edition

0133024415, 978-0133024418

More Books

Students also viewed these Databases questions

Question

Write the difference between sexual and asexual reproduction.

Answered: 1 week ago

Question

What your favourite topic in mathematics?

Answered: 1 week ago

Question

Briefly describe vegetative reproduction in plants.

Answered: 1 week ago