A standard science experiment is to drop a ball and see how high it bounces. Once...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
A standard science experiment is to drop a ball and see how high it bounces. Once the "bounciness" of the ball has been determined, the ratio gives a bounciness index. For example, if a ball dropped from a height of 10 feet bounces 6 feet high, the index is 0.6, and the total distance traveled by the ball is 16 feet after one bounce. If the ball were to continue bouncing, the distance after two bounces would be 10 ft +6 ft +6 ft 3.6 ft = 25.6 ft. Note that the distance traveled for each successive bounce is the distance to the floor plus 0.6 of that distance as the ball comes back up. Write a program that lets the user enter the initial height from which the ball is dropped, the bounciness index, and the number of times the ball is allowed to continue bouncing. Output should be the total distance traveled by the ball. Below is an example of the program input and output: Enter the height from which the ball is Enter the bounciness index of the ball: Enter the number of times the ball is a A standard science experiment is to drop a ball and see how high it bounces. Once the "bounciness" of the ball has been determined, the ratio gives a bounciness index. For example, if a ball dropped from a height of 10 feet bounces 6 feet high, the index is 0.6, and the total distance traveled by the ball is 16 feet after one bounce. If the ball were to continue bouncing, the distance after two bounces would be 10 ft +6 ft +6 ft 3.6 ft = 25.6 ft. Note that the distance traveled for each successive bounce is the distance to the floor plus 0.6 of that distance as the ball comes back up. Write a program that lets the user enter the initial height from which the ball is dropped, the bounciness index, and the number of times the ball is allowed to continue bouncing. Output should be the total distance traveled by the ball. Below is an example of the program input and output: Enter the height from which the ball is Enter the bounciness index of the ball: Enter the number of times the ball is a
Expert Answer:
Answer rating: 100% (QA)
Heres a simple Python program to achieve the described functionality python def calculate... View the full answer
Related Book For
Foundations of Financial Management
ISBN: 978-1259024979
10th Canadian edition
Authors: Stanley Block, Geoffrey Hirt, Bartley Danielsen, Doug Short, Michael Perretta
Posted Date:
Students also viewed these programming questions
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Managing Scope Changes Case Study Scope changes on a project can occur regardless of how well the project is planned or executed. Scope changes can be the result of something that was omitted during...
-
After the car reaches 1 0 0 km / hthe driver immediately steps on the brakes and comes to a stop in 2 . 5 5 s . The brakes are at a distance 1 5 . 9 cm from the center of the wheel and the force they...
-
Construct a normal probability plot of the O-ring joint temperature data in Exercise 6-13. Does it seem reasonable to assume that O-ring joint temperature is normally distributed? Discuss any...
-
Thoma Pharmaceutical Company may buy DNA testing equipment costing $60,000. This equipment is expected to reduce labor costs of clinical staff by $20,000 annually. The equipment has a useful life of...
-
How do you prevent name clashes when using header files?
-
Rivera Company has several processing departments. Costs charged to the Assembly Department for November 2012 totaled $2,280,000 as follows. Production records show that 35,000 units were in...
-
4. Let N+ denote the set of positive natural numbers {1, 2, 3, 4, . Z with d > 0. Define }. Let x, d - M {x qd qZ}. Prove that MN is non-empty. 4
-
The finance director of RM plc is considering several investment projects and has collected the following information about them. Projects D and E are mutually exclusive. The capital available for...
-
A doctor has been caught having sexual relationships with his patients. The doctor tells his lawyer that he was recently divorced and suffers from depression. This mental illness and the divorce have...
-
I have collected real data on the sale of a microwavable cup of soup across 20 different cities for the same time period (a month). The variables in the dataset are: Quantity sold in the city for...
-
How involved are parents in your school? Give me three or more examples of how parents play an active role in classroom learning. Other than PTOs/PTAs, what other opportunities are available to...
-
Let X be normally distributed with mean = 22 and standard deviation = 15. [You may find it useful to reference the z table.] a. Find PX 1). (Round your final answer to 4 decimal places.) P(X 1) b....
-
1. (20 pts) For the crank-slider shown (all measurements are in inches), take 2 to be the input and derive the geometric condition that defines the dead positions. Y 1.25 2.00 1 * X
-
Everyone complains about the budget deficit, now, here is your opportunity todosomething about it. But, as the King/Queen of the World, your major concern is getting reelected. After finishing the...
-
Two partners A and B invests in the ratio 3: 4 in a business. Their monthly expenditure is Rs. 36000. What should be their income so that A gets Rs 6000 as profit: 1. Rs. 50000 Rs. 36000 3. Rs. 48000...
-
Use a calculator to evaluate the expression. Round your result to the nearest thousandth. V (32 + #)
-
The Office Automation Corporation is considering a foreign investment. The initial cash outlay will be $10 million. The current foreign exchange rate is 2 ugans = $1. Thus the investment in foreign...
-
Galaxydoughs Tea Ltd. has been considering a special investment for some time. This project will require an immediate capital expenditure of $1 million for required equipment. Galaxydoughs Tea will...
-
Boatler Used Cadillac Co. requires $850,000 in financing over the next three years. The firm can borrow the funds for two years at 8 percent interest per year. Mr. Boatler decides to do forecasting...
-
An engineering organisational system is composed of major groups such as management, research and development, preliminary design, experiments, product design and drafting, fabrication and...
-
The student-teacher learning activity is inherently a feedback exercise intended to reduce the system error to a minimum. The desired output is the knowledge being studied, and the student is the...
-
Give two examples of feedback control systems in which a human acts as a controller.
Study smarter with the SolutionInn App