Using your function for projectile range from DIN problem #2,
now write a program that will search through a range of launch
angles to try to hit a target 650 meters away with a 4 kg cannon
ball launched at 90 m/s. Let’s say the cannon is on a platform that
can go from 2 meters above ground level up to 20 meters. Ask the
user for the height to be used.
Your output should appear something like:
The optimal angle to hit the target at 650 meters
from height meters is angle degrees.
DIN Problem 2 question is- Projectile motion: Write a
python program that will ask the user for an initial
height y0, initial velocity v, launch
angle theta, and mass m. Create two functions, one
that will calculate max height of the projectile, and one that will
calculate the range. Ask the user which one he/she would like
to calculate, then present them with the answer. (use kg, m
and m/s)
PLEASE SHARE A SCREENSHOT OF THE INPUT AND OUTPUT!!!
Using your function for projectile range from DIN problem #2, now write a program that will search through a range of la
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Using your function for projectile range from DIN problem #2, now write a program that will search through a range of la
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!