Question: load rocket.mat th 0 = 4 5 ; g = 9 . 8 1 ; f = @ ( c ) sum ( tand (

load rocket.mat
th0=45;
g=9.81;
f=@(c) sum(tand(th0)*x-g/2/c(1).2/cosd(th0)2.*x.^2+c(2)-y);
c=fminsearch(f,[0,1.1902])
v0=c(1)
y0=c(2)
**Is what I have correct? Also does it matter what I put in the brackets for fminsearch()?
*What I have currently in brackets is what the output is for v0 and y0. I initially put [1,1] and then I put those values in the brackets.
load rocket.mat th 0 = 4 5 ; g = 9 . 8 1 ; f = @

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mechanical Engineering Questions!