Projectile Motion (Suggestion: Create a script file for this)
The x and y position (in meters) of a projectile fired at an initial speed of Vo (m/s), at an angle of θ, and at an initial height above the ground of y0 (m) are a function of time (s):
(a) Assume the projectile is fired at 90 m/s and the initial height is 0. On a single graph, plot the y-position of the projectile on the y-axis and time, t, on the x-axis using five different launch angles: 10o, 25o, 45o, 65o, and 85o. Your time, t, should range from 0 to 20 seconds in increments of 0.01 seconds. Remember: In MATLAB use sind not sin when the angle is in degrees.
Using MATLAB commands or plot tools or a combination of both, do the following:
- Label the x-axis as Time (s) and the y-axis as Projectile Height (m).
- Adjust the y-axis so the Projectile Height is non-negative.
- Add a legend to show the various launch angles.
1 Comment
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/338404-how-can-i-solve-this-problem-please-help#comment_450598
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/338404-how-can-i-solve-this-problem-please-help#comment_450598
Sign in to comment.