Question
I need help with this Matlab problem Please If the equation modeling the vertical distance traveled by a projectile as a function of time is
I need help with this Matlab problem Please
If the equation modeling the vertical distance traveled by a projectile as a function of time is
then, from calculus, the velocity in the vertical direction is
Create a vector t from 0 to 20 s, and calculate both the vertical position and the velocity in the vertical direction, assuming a launch angle of radians and an initial velocity of 100 m/s. Plot both quantities on the same graph with separate y-axes. Be sure to label both y-axes. Use g = 9.8 m/s2. The velocity should be zero at the point where the projectile is the highest in the vertical direction. Does your graph support this position?
Hint: Need to use a=plotyy to label both y-axis.
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