Question: hey so i had a problem with my code. I am using MATLAB and anytime I try to debug/run the program, it will not plot

hey so i had a problem with my code. I am usingMATLAB and anytime I try to debug/run the program, it will nothey so i had a problem with my code. I am using MATLAB and anytime I try to debug/run the program, it will not plot the graph. How do i fix this? (the first screenshot is the code with the assignment problem, the second screenshot is just the code itself). Thanks!

A ball thrown upwards with an initial velocity of 20 m/s from a point on the ground Calculate the time taken to attain the maximun height %(i) the maximum height (ii) plot a graph (t,y) for the entire duration of the flight %Assume g. 9.8 m/s*2 %Background Information %at max height v=0 total time of flight tt=2tmax v0 20 %m/ s g - 9.8 grn/s^2 tmaxv0/g tt-2*tmax t-0,tt plot (tt, ymax)

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 Databases Questions!