Question: Please help with this mathlab computer science work. Please use mathlab. Thank you 3. write a program named PlotBal Name.m that plots the mathematical function:

Please help with this mathlab computer science work. Please use mathlab. Thank you
 Please help with this mathlab computer science work. Please use mathlab.

3. write a program named PlotBal Name.m that plots the mathematical function: where, t time, h height, ho initial height, vo initial velocity (upwards), and g acceleration due to gravity. Evaluate the independent variabletat o to 5 seconds with n 50 data points (including o and 5). Hint: Use linspace(tmin,tmax,n). Use the following values: ho 10 m, vo 20 m/s, and g 9.8 m/s Use the ylim function to display o to 35 m in the y-axis of the plot. The x-axis label should be: 't time (s)' and y-axis label should be: height (m). Use the disp function to display the maximum height off the projectile and the time it occurred. Hint Use the max function with the two output form, then use the second output as an index to the time vector. Also, display on the Command Window using the disp function the time when the object falls back to the ground at height 0 m. max at about h att E 20 15 10 0 0.5 1 1.5 2 25 3 35 4.5 t time (s) Command Window m, which occurred at The naximum height is The object will fall to the ground at

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!