Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using Matlab only, answer B and C Expert Q&A Done Using Matlab only, answer A through D 4. The polynomial y is defined as y-50x2+x+6r

Using Matlab only, answer B and C image text in transcribed
Expert Q&A Done Using Matlab only, answer A through D 4. The polynomial y is defined as y-50x2+x+6r +15 in a script file named Initiais HK 04.Jb04 do the following a. write an anonymous function that evaluate the polynomial when value is given. y-e DO NOT use polyval command herel b. Call the anonymous function to find the values of y over the interval-3sx S 3 with a step of 05 c Use xlevrite to save the variable y value to an Excel file with the name d. Use fplot to plot the anonymous function over the given interval. Add a grid and labels e. Use fzero to find the zeros of the anonymous function near x =-3,-1. 1 & 3. y value- Initials HW 04 Pb 04xsx in a sheet called Problem 04 starting at cellC to both axes. Eplot (y x02 f. Use fminbnd to find the 2 minimum values of the anonymous function between x -3 and xm 0 and between x-0and x. 3 Find the value of both x and y when the function is minimum. Repeat part f using fminsearch and initial values of x as-2 and 2 [xmin1, ymin1 ]afminsearch &

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

Beginning VB 2008 Databases

Authors: Vidya Vrat Agarwal, James Huddleston

1st Edition

1590599470, 978-1590599471

More Books

Students also viewed these Databases questions