Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

help with this please. 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 -

image text in transcribedhelp with this please.

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 1. Create anonymous functions for each of f1, f2. 2. Plot the equations over the interval [0, 100]. This will enable you to get good starting guesses to find the roots. 3. Find the first positive root of each equation above using 1. A bisection function of your own. 2. 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. 3. The matlab function fzero(). 4. 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 with AI-Powered 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