Given a certain Physics problem create a function(projectilemotion_solver) that would take in the following inputs below and return the needed information when the function is called. Name the program containing the function projectilemotion.py then create another program main_program.py and import projectilemotion.py "A long jumper leaves the ground at an angle of 20.0° above the horizontal and at a speed of 11.0 m/s. " (a) How far does he jump in the horizontal direction? (b) What is the maximum height reached? Given a projectile motion problem like this where the angle and speed are given, the range or distance travelled in the horizontal direction can be determined by using the formula: v²sin20₁ R = a

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter6: User-defined Functions
Section: Chapter Questions
Problem 19PE
icon
Related questions
Question

Code in Python

2. Given a certain Physics problem create a function(projectilemotion_solver) that would take in the following inputs below
and return the needed information when the function is called. Name the program containing the function
projectilemotion.py then create another program main_program.py and import projectilemotion.py
"A long jumper leaves the ground at an angle of 20.0° above the horizontal and at a speed of 11.0 m/s. "
How far does he jump in the horizontal direction?
(a)
(b) What is the maximum height reached?
Given a projectile motion problem like this where the angle and speed are given, the range or distance travelled in
the horizontal direction can be determined by using the formula:
v²sin20
R
g
The maximum height can be determined using the formula:
v²sin20
h=
2g
Reference: Sonuoy lowot (2010) Phusion for Scientists and Enginoor On
Transcribed Image Text:2. Given a certain Physics problem create a function(projectilemotion_solver) that would take in the following inputs below and return the needed information when the function is called. Name the program containing the function projectilemotion.py then create another program main_program.py and import projectilemotion.py "A long jumper leaves the ground at an angle of 20.0° above the horizontal and at a speed of 11.0 m/s. " How far does he jump in the horizontal direction? (a) (b) What is the maximum height reached? Given a projectile motion problem like this where the angle and speed are given, the range or distance travelled in the horizontal direction can be determined by using the formula: v²sin20 R g The maximum height can be determined using the formula: v²sin20 h= 2g Reference: Sonuoy lowot (2010) Phusion for Scientists and Enginoor On
Expert Solution
steps

Step by step

Solved in 3 steps with 3 images

Blurred answer
Knowledge Booster
Variables
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr