Question

A drop test is performed on a particle free-falling through air. The theoretical y-coordinate of a...

A drop test is performed on a particle free-falling through air. The theoretical y-coordinate of a particle dropped from an initial height is

? = ?? − 0.5??2

where, y = height above the ground

yi = initial height above the ground

g = gravity (386.4 in/s2)

t = time after particle release.

Your task is to create a program that prompt user to input initial height above the ground (yi). Then call a function (that you create) to calculate the time when the particle reaches the ground.

Display your result.

Exemplary input/output format:

Enter initial height above the ground (in inch):

Time to reach ground (in second):

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Python 3.6 Code:

***refer to the attached snapshot for indentation***

================================================================
#function for calculating time
#takes height as input
def time(h):
#g is 386.4 inch/s^2
#h is also in inches
g=386.4
#y=yi-0.5gt2
#when the particle reaches ground then y=0
#=>yi=0.5gt2=>t=((2*yi)/g)^(0.5)
t=((2*h)/g)**0.5
return t

#input for height in inches
yi = int(input("Enter initial height above the ground(in inch): "))
#display the result
print("Time to reach ground(in seconds):",round(time(yi),4))
===========================================================================

Sanpshot

Sample OUTPUT

Add a comment
Know the answer?
Add Answer to:
A drop test is performed on a particle free-falling through air. The theoretical y-coordinate of a...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 9). A small bag of sand is released from an ascending hot‑air balloon whose constant, upward...

    9). A small bag of sand is released from an ascending hot‑air balloon whose constant, upward velocity is ?0=2.75 m/s. Knowing that at the time of the release the balloon was 58.3 m above the ground, determine the time ? it takes for the bag to reach the ground from the moment of its release. Use  ?=9.81 m/s2. r= 10) You throw a baseball directly upward at time ?=0 at an initial speed of 14.1 m/s. What is the maximum height...

  • 6. [10 points) For the following question, to model the free fall of a falling rock,...

    6. [10 points) For the following question, to model the free fall of a falling rock, assume the usual idealizing simplifications for solving "free fall" problems. Work with the approximate value g = 9.8 m/s2 for the Earth's gravitational acceleration. Consider the following experiment. The Leaning Tower of Pisa is known worldwide for its nearly four- degree lean. The height of the tower is 55.86 meters from the ground on the low side, and 56.67 meters on the high side....

  • a. An attacker at the base of a castle wall 3.65 m high throws a rock...

    a. An attacker at the base of a castle wall 3.65 m high throws a rock straight up with speed 7.40 m/s from a height of 1.55 m above the ground. Will the rock reach the top of the wall? If so, how fast is it moving when it reaches the top. If not, what initial speed must it have to reach the top? b. To defend the castle, a rock is thrown downwards from the top of the wall...

  • An attacker at the base of a castle wall 3.65 m high throws a rock straight up with speed 7.40 m/s from a height of 1.55 m above the ground.

    a. An attacker at the base of a castle wall 3.65 m high throws a rock straight up with speed 7.40 m/s from a height of 1.55 m above the ground. Will the rock reach the top of the wall? If so, how fast is it moving when it reaches the top. If not, what initial speed must it have to reach the top? b. To defend the castle, a rock is thrown downwards from the top of the wall with...

  • EXPLORE A projectile is launched with a launch angle of 30° with respect to the horizontal...

    EXPLORE A projectile is launched with a launch angle of 30° with respect to the horizontal direction and with an initial speed of 40 m/s. (A) How do the vertical and horizontal components of the projectile's velocity vary with time? (B) How long does it remain in flight? (C) For a given launch speed, what launch angle produces the longest time of flight? CONCEPTUALIZE Consider the projectile to be a point mass that starts with an initial velocity, upward and...

  • 1. A locomotive is accelerating at 1.46 m/s2. It passes through a 24.2-m-wide crossing in a...

    1. A locomotive is accelerating at 1.46 m/s2. It passes through a 24.2-m-wide crossing in a time of 2.30 s. After the locomotive leaves the crossing, how much time is required until its speed reaches 29.7 m/s? 2. A ball is thrown straight upward. At 6.60 m above its launch point, the ball’s speed is one-half its launch speed. What maximum height above its launch point does the ball attain? 3.While standing on a bridge 18.9 m above the ground,...

  • Two Thrown Balls 1 2 3 45678 A blue ball is thrown upward with an initial...

    Two Thrown Balls 1 2 3 45678 A blue ball is thrown upward with an initial speed of 19.8 m/s, from a height of 0.6 meters above the ground. 2.4 seconds after the blue ball is thrown, a red ball is thrown down with an initial speed of 8.9 m/s from a height of 22.3 meters above the ground. The force of gravity due to the earth results in the bals each having a constant downward acceleration of 9.81 m/s2....

  • Student Name 1. A particle confined to motion along the x axis moves with constant acceleration...

    Student Name 1. A particle confined to motion along the x axis moves with constant acceleration fromx = 2.0 m to x 8.0 m during a 2.5-s time interval. The velocity of the particle at x - 8.0 m is 2.8 m/s. What is the acceleration during this time interval? 2. The polar coordinates of a point are r=5.50 m and Angle 240°. What are the Cartesian coordinates of this point? 3. On occasion, the notation A= [A, O] will...

  • LEARN MORE REMARKS This example emphasizes the independence of the x- and y components in projectile...

    LEARN MORE REMARKS This example emphasizes the independence of the x- and y components in projectile motion problems. QUESTION How does the magnitude of the velocity vector at impact compare with the magnitude of the initial velocity vector? O It is greater at impact. They are the same since the magnitude of the vertical component of velocity is the same at each height on the way up and on the way down. O It is greater initially O They are...

  • How do I answer these questions Chapter 2-Kinematies in One Dimension Free-fall motion . A ball...

    How do I answer these questions Chapter 2-Kinematies in One Dimension Free-fall motion . A ball is thrown vertically upward at an initial speed of 4of K to be the ground; leaves the hand when it is 15 m above the ground (about the that the effects of air resistance can be ignored. Choose your landm then att-0, y.-+15 m, V +49 m/s speed in mph? Do you think this is a realistic possibility? b. (10 pts) What is the...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT