Question: How would I go about solving this in MatLab? and the inputs as well as the outputs from the command window. Part 5 Within a
and the inputs as well as the outputs from the command window. Part 5 Within a script file in Matlab, plot projectile trajectories using equations for ideal projectile motion: x(t)-,+(vo cos(0.)) where, (1) is the vertical distance and x(1) is the horizontal distance traveled by the projectile in metres, g is the acceleration due to Earth's gravity-9.8 m/s and t is time in seconds. Assume that the initial velocity of the projectile vo = 50.75 m/s and the projectile's launching angle 0-5/12 radians. The initial vertical and horizontal positions of the projectile are given by yo-o mand xo = 0 m. Ploty vs. , and x vs. t in two separate graphs with the vector: H-0.1-10 representing time in seconds. Give appropriate titles to the graphs and label the axes. Make sure the grid lines are visible. Name the script as: Team HW4AB2 PS. Copy the code in script file as well as the outputs generated in the command window in the Word document under the heading Part S, Copy and paste the plot figure in the word file. Clearly indicate the script and the outputs from the command window
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
