Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

for any firing angle and muzzle velocity Vo where g=9.81m/s2;x and y are in meters and t is the time in seconds. For any muzzle

image text in transcribed
for any firing angle and muzzle velocity Vo where g=9.81m/s2;x and y are in meters and t is the time in seconds. For any muzzle velocity Vo and firing angle the time of flight tf is tf=g2Vosin (a) Create two MATLAB functions: one function tof that takes the muzzle velocity Vo and firing angle as its input, and computes the time of flight tf, and another function traj that takes the velocity Vo, firing angle , and time t as inputs, and computes the trajectory coordinates (x,y). The function traj should be able to take the input t as an array. (b) Write a MATLAB script file that uses the functions created above to compute and plot trajectories of projectiles fired by an artillery cannon whose muzzle velocity is Vo=300m/s for the firing angles of 5,25,45,50, and 85. Label the axes appropriately and use legend to identify the trajectory (c) Use gtext to mark the trajectory that achieves the maximum x-range as ' Best Range'. Save your plot as a JPG file using a name of your choice and attach it with your submission

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional Microsoft SQL Server 2014 Integration Services

Authors: Brian Knight, Devin Knight

1st Edition

1118850904, 9781118850909

More Books

Students also viewed these Databases questions