Question: This needs to be solved in Matlab. Find the minimum of the following function within the bounds [ -2 pi,2 pi ] f(x) 2 cosr

This needs to be solved in Matlab.
Find the minimum of the following function within the bounds [ -2 pi,2 pi ] f(x) 2 cosr Store your result in a variable myfmin". Your answer should have at least three significant figures, accurate to within 0.1 %. (Eg. 123, and . 3.33e-8 both have three significant figures.) You should review how to write functions in fzero and fplot: prefixing a statement with @(x), you can write the function in the same line symbolically rather than needing a separate file. Do that here
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
