Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

the conceptual problems I won't need help with as much, I'm trying to learn Matlab right now so what would be really helpful is the

image text in transcribed

the conceptual problems I won't need help with as much, I'm trying to learn Matlab right now so what would be really helpful is the programming part of this in matlab. I understand it's really specific but a thumbs up to anything that helps me with the programming at all!

(2) (Root finding and Optimization) (Programming) (a) Suppose f(x) is differentiable on [a, b]. Discuss how you might use a rootfinding method to identify a local extremum of f(x) inside [a, b]. (b) Let /(x) = log2 - sina. Prove that f(x) has a unique maximum in the interval [4,6]. (Note that log means natural logarithm.) (c) Approximate this local maximum using 12 iterations of the enclosure methods (Bi- section and False Position) with starting interval (4,6). You should code these two methods yourself. (d) What is your best estimate for p, the location of the maximum? (e) Compare the two algorithms using the following two tables. Table 1: Approximation Pr versus iteration number n Iteration n Bisection False Position Table 2: Absolute errorP-pl versus iteration number n Iteration n Bisection False Position (1) Plot the log of the absolute error for the two methods on the same graph. (g) Don't forget to turn in your code

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

Data Mining Concepts And Techniques

Authors: Jiawei Han, Micheline Kamber, Jian Pei

3rd Edition

0123814790, 9780123814791

More Books

Students also viewed these Databases questions

Question

Does the research have to be based in an organisation?

Answered: 1 week ago