The height and speed of a projectile (such as a

The height and speed of a projectile (such as a thrown ball) launched with a speed of υ0 at an angle A to the horizontal are given by

 

where g is the acceleration due to gravity. The projectile will strike the ground when h(t) = 0, which gives the time to hit thit = 2(υ0/g)sinA.

Use the switch structure to write a MATLAB program to compute the maximum height reached by the projectile, the total horizontal distance traveled, or the time to hit. The program should accept as input the user’s choice of which quantity to compute and the values of υ0, A, and g. Test the program for the case where υ0 = m/s, A = 30°, and g = 9.81 m/s2.

 

Leave a Comment

Your email address will not be published. Required fields are marked *

GradeEssays.com
We are GradeEssays.com, the best college essay writing service. We offer educational and research assistance to assist our customers in managing their academic work. At GradeEssays.com, we promise quality and 100% original essays written from scratch.
Contact Us

Enjoy 24/7 customer support for any queries or concerns you have.

Phone: +1 213 3772458

Email: support@gradeessays.com

© 2024 - GradeEssays.com. All rights reserved.

WE HAVE A GIFT FOR YOU!

15% OFF 🎁

Get 15% OFF on your order with us

Scroll to Top