Question
Creating a matlab code to Calculate the trajectory of our cannon shell including both air drag and the reduced air density at high altitudes so
Creating a matlab code to Calculate the trajectory of our cannon shell including both air drag and the reduced air density at high altitudes so that you can reproduce the results in Figure 2.5. Perform your calculation for different firing angles and determine the value of the angle that gives the maximum range.
Another promt for the question: The output of your code should produce a well annotated plot that shows the y vs. x (trajectory) for the projectile using the isothermal model for variation in air density. Your code should also display the range of the projectile - i.e. the point where it hits the ground, when launched on a level plane.
Figure 2.5:
Cannon shell trajectory 10 With density correction Without density correction 20 10 30 x (km) Figure 2.5: Trajectory of a cannon shell with (solid curves) and without (dotted curves) the effect of the lower air density at high altitudes taken into account. In all cases the air resistance was included with B2/m 4 x 10 5 m 1, and the initial speed was 700 m/s. The lower two curves were for a firing angle of 35, while for the top curves it was 450
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started