Question: 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.

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
Get step-by-step solutions from verified subject matter experts
