Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please show all work. using Matlab complete the following questions of the Parabolic Interpolation. fill in the charts below with the equation. 1. Given the

please show all work.

image text in transcribed

using Matlab complete the following questions of the Parabolic Interpolation. fill in the charts below with the equation.

1. Given the function f(x)=1.5x62x4+12x a. Plot the function. Please include the plot in the lab. b. Employ initial guesses of x1=0 and x2=1, and x3=2 and perform three iterations by hand like we did in class. Fill out the table below. To save you time, I have created the MATLAB equation to compute x4 that you can paste into MATLAB. c. What is the max/min of this function? List both the x-position and the function value. x4=x20.5((x2x1)2(f2fx3)(x2x3)2(fx2fx1))/((x2x1)(f2f3)(x2x3)(fx2f1)) 2. Given the function f(x)=4x1.8x2+1.2x30.3x4 a. Plot the function. Please include the plot in the lab b. Employ initial guesses of x1=1.75 and x2=2, and x3=2.5 and perform five iterations to solve for the maximum value. For this problem, develop a MATLAB file to execute the iterations. As a starting point, you can begin with the Golden section code from the last lab. Provide your MATLAB code in text format. (not a screen capture). In order to test your code and verify it works, you might want to rerun problem 1 above and verify the results match. c. What is the maximum of this function? List both the x-position and the function value. d. Populate the table below with the results x4=x20.5((x2x1)2(fx2fx3)(x2x3)2(fx2f1))/((x2x1)(f2fx3)(x2x3)(fx2fx1))

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 Design And Implementation

Authors: Edward Sciore

2nd Edition

3030338355, 978-3030338350

More Books

Students also viewed these Databases questions

Question

State the three objectives of the book.

Answered: 1 week ago