Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Matlab From elementary physics and Homework #1, we know that the distance a projectile travels when fired from a cannon depends on both the initial
Matlab
From elementary physics and Homework #1, we know that the distance a projectile travels when fired from a cannon depends on both the initial velocity v and the launch angle 0: x(t)- v tcos (e) y(t)-u tsin (?)--gt2 2 where x(t) and y(t) are the distances traveled in x and y, respectively, after time t has passed (g is gravity, g 9.8 meters/second2). Assume an initial velocity of 13.5 meters per second and an angle of 89 degrees above the ground. Use fzero to find the time and x location where the projectile hits the ground. Print the time and location to 4 decimal places. Self-check: It lands really, really, close to the cannon after x.7xx7 seconds
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