Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need help with the false position part and down please. Should only need to change one line of the bisection function in order to

image text in transcribedI need help with the false position part and down please. Should only need to change one line of the bisection function in order to get a false position. Unfortunately, thats all the info I have

For the equations: f1(x) = -452.736- 180.389x + 188.285 x^2 + 12.4001x^3 - 12.28 x^4 + x^5 f2(x) = x - cos(2 x/pi) + 2 exp(-x/3) - (x/10)^2 Create anonymous functions for each of f1, f2. Plot the equations over the interval [0, 100]. This will enable you to get good starting guesses to find the roots. Find the first positive root of each equation above using A bisection function of your own. A false position function of your own. Note that if you get the bisection routine running, you only need one line to change it to a false position routine. The matlab function fzero(). For the first two of these (bisection, false position), compare how many iterations it takes to find the root to a stopping criterion of 1e-6, using the same starting guesses for each method (but different guesses for each equation f1, f2). Comment on this

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

Students also viewed these Databases questions