Question

Language: Python Create a program that determines how quickly an object is traveling when it hits...

Language: Python

Create a program that determines how quickly an object is traveling when it hits the ground. The user will enter the height from which the object is dropped in meters (m). Because the object is dropped its initial speed is 0m/s. Assume that the acceleration due to gravity is 9.8m/s. You can use the formula

vf =v^2i + 2ad to compute the final speed, vf, acceleration, a, and distance, d, are known.

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

The answer to the given question is shown below.....

Type this command in the terminal to check if it's correct or not....

#Program start

from math import sqrt

#Defining the constant

GRAVITY = 9.8  

#Read the input from user for calculation

height = float(input("Height from which object is dropped (in meters): "))

#Calculate the velocity of fall

velocity = sqrt(2 * GRAVITY * height)

#Display the result of velocity

print("Object will hit the ground at %.2f m/s." % velocity)

Add a comment
Know the answer?
Add Answer to:
Language: Python Create a program that determines how quickly an object is traveling when it hits...
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
  • PYTHON HOMEWORK When an object is falling because of gravity, the following formula can be used...

    PYTHON HOMEWORK When an object is falling because of gravity, the following formula can be used ot determine the distance the object falls during a specific time period: d=1/2 g t^2 The variables in the formula are as follows: d is the distance in meters(m), g is the acceleration due to gravity, an and its value is 9.8 m/s^2, t is the time duration in seconds(s). Write a function named falling_distance() that accepts an object's falling duration(time) in seconds as...

  • An object is dropped from the top of a building. It hits the ground with a...

    An object is dropped from the top of a building. It hits the ground with a speed of 40 m/s. a) How high is the building? b) How long was the object in the air? Kinematics (motion in a straight line with constant acceleration): xo+ vot +at2 vvo + at v2 v+2a(x -x.) dx dv 12 = a= dt dt Kinematics (motion in a straight line with no-constant acceleration): C. a dt v dt v= Vo t o x xo...

  • A car traveling at 35 mi/h crashes into a tree. The front end of the car...

    A car traveling at 35 mi/h crashes into a tree. The front end of the car compresses and the driver comes to rest after traveling 0.75 m. What was the magnitude of the average acceleration of the driver during the collision? Express your answer in terms of "gs", where 1g 9.80 m/s. Determine the time interval of the collision, in milliseconds. 6. The tower of Pisa is 54.5 m tall. Assuming that Galileo dropped his object from rest from the...

  • Create a program that plots the trajectory, from the initial height to the ground, of a...

    Create a program that plots the trajectory, from the initial height to the ground, of a projectile accelerating both in the horizontal and vertical directions. -Matlab Code PROBLEM 4: In your physics class, projectile motion has two components: constant-velocity motion in the horizontal direction and free-fall motion in the vertical direction. However, in reality, the horizontal motion has acceleration due to air resistance, wind, and other factors. The goal of this problem is to visualize the trajectory of a projectile...

  • Description Create an object-oriented program that uses inheritance to perform calculations on a rectangle or a...

    Description Create an object-oriented program that uses inheritance to perform calculations on a rectangle or a square. Sample Output (Your output should be similar to the text in the following box) Rectangle Calculator Rectangle or square? (r/s): r Height: 5 Width: 10 Perimeter: 30 Area: 50 Continue? (y/n): y Rectangle or square? (r/s): s Length: 5 Perimeter: 20 Area: 25 Continue? (y/n): n Thank you for using my app Specifications Use a Rectangle class that provides attributes to store the...

  • 1. A car accelerates from zero to 105 km/h in 5.21 s. What is its average...

    1. A car accelerates from zero to 105 km/h in 5.21 s. What is its average acceleration in km/h/s and m/s? 2. An object moving in the x-direction has a position described by the function x(t) - 6.30t + 8.70t2, where t is in seconds and x is in meters. What is the acceleration as a function of time? The figure shows the graph of v vs t for the motion of a motorcyle that starts from rest and moves...

  • CODE GIVEN % Create a program to plot the motion of the ping pong ball with...

    CODE GIVEN % Create a program to plot the motion of the ping pong ball with drag. % The program will take inputs for velocity in m/s and angle of launch. % note that with a high speed camera I estmated a launch speed for a ping % pong ball could be 30 m/s. vel=30; %m/s angle=60; % convert the degrees into radians so MATLAB likes it angle=angle*pi/180; % set initial values (time, distance, mass, gravity, drag) x(1)=0; % meters...

  • Can someone help me with number 2. Thank you . A van traveling 60 mi/hr sees...

    Can someone help me with number 2. Thank you . A van traveling 60 mi/hr sees a duck in the distance and slams on its brakes. If the duck is exactly 3 feet away when the van begins braking, how quickly must it accelerate in order to save c. A duck on a motorcycle is speeding down the highway at 65 mi/hr where the speed limit is 00 the duck? only 55 mi/hr. It passes a police car on the...

  • Hello, please solve this problem for object oriented programming in C++ program language. I have final...

    Hello, please solve this problem for object oriented programming in C++ program language. I have final tomorrow so it will be very helpful. thank you. PROBLEM 1: application that simulates the highway Create an In order to solve above mentioned requirements, it is necessary to implement several classes: 1. Class Vehicle contains information about the vehicles that drive on the highway. Each vehicle has information about its a Type (can be one of these: Motorcycle, Car, Truck) b. License number...

  • 1. A pole is held vertically by attaching wires at a height of 13.4 m above...

    1. A pole is held vertically by attaching wires at a height of 13.4 m above the ground. The other end of each wire is anchored in the ground at a distance of 9.54 m from the base of the pole. The pole makes a right angle with the ground. What is the length of each wire? 2. A bug crawls 2.25 m along the base of a wall. Upon reaching a corner, the bug's direction of travel changes from...

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