Coefficient of a Restitution Hints


Posted on 16th Feb 2014 07:03 pm by admin

Hello. I was wondering if anyone can give me hints on how to write this program...

The coefficient of a restitution of a ball, a number between 0 and 1, specifiies how much energy is conserved when a ball hits a rigid surface. A coefficient of .9, for instance, means a bouncing ball will rise 90 percent of its previous height after each bounce. Write a program to input a coefficient of restitution and an intial hright in meters, and report how many times a ball bounces when dropped from its initial height before it rises to a height of less than 10 centimeters. Also report the total distance traveled by the ball before this point. The coefficients of restitution of a tennis ball, basketball, super ball, and softball are 0.7, 0.75, 0.9, and 0.3, respectively.

No comments posted yet

Your Answer:

Login to answer
154 Like 31 Dislike
Previous forums Next forums
Other forums

Limiting uploaded file type
Hi. First post here
I am working on a simple upload script, and I need it to limit the allowed f

Do something every fifth time?
I'm trying to write a loop, but I want it to do something different after every fifth instance. Like

building a function with multiple outputs
I want to build a function that has multiple outputs.

I know but am not to sure how I should

Output Buffering question
Hi all,

I've been trying to wrap my head around output buffering. So far I've found tons of

ereg_replace issue
hi there people

i have this code happening with regards to my wamp server. is this something

Namespace Problem
I'm having problem with a section of code with a variable namespace.

This code works fine:

Open browser page depending on XML results
Hello,

I have some PHP code that sends webbased from data to an external url ( in the form of

Character Set Setup
Whats the best character set to use if you want every character to work, and also how do you make yo

Help with echo()
I'm having some problems with this code:

Code: echo '
<A HREF="jav

Comma seperated implode & modifying returned string.
I have a PHP post form that posts up to 4 variables. I need whatever variables are passed to be comb

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash