Find Jobs
Hire Freelancers

Assignment 3B

$30-5000 USD

Closed
Posted over 20 years ago

$30-5000 USD

Paid on delivery
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 distance traveled for each successive bounce is the distance to the floor plus 0.6 of the distance as the ball comes back up. Write a C/C++ program that lets the user enter the initial height of the ball and the number of times the ball is allowed to continue bouncing. Output should be the total distance traveled by the ball. At some point in this process, the distance traveled by the ball becomes negligible. Use the constant section to define a "negligible" distance (for example, 0.00001 inches). Terminate the computing when the distance becomes negligible. When this stage is reached, include the number of bounces as part of the output. Use of functions in this program is not necessary, however if you can develop an appropriate function it will improve the readability of your program. Submit outputs with: 1. a drop from 25 feet and let it bounce 5 times - output the distance traveled by the ball 2. a drop from 5 feet and let it bounce 100 times - output the distance traveled and the number of bounces that will bring the ball to a rest. ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Complete ownership and distribution copyrights to all work purchased. ## Platform Windows XP, MS Visual C++
Project ID: 2976318

About the project

26 proposals
Remote project
Active 20 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
26 freelancers are bidding on average $13 USD for this job
User Avatar
See private message.
$5.95 USD in 3 days
4.8 (117 reviews)
6.6
6.6
User Avatar
See private message.
$17 USD in 3 days
5.0 (99 reviews)
6.5
6.5
User Avatar
See private message.
$6.80 USD in 3 days
5.0 (160 reviews)
6.0
6.0
User Avatar
See private message.
$8.50 USD in 3 days
4.9 (175 reviews)
5.9
5.9
User Avatar
See private message.
$8.50 USD in 3 days
4.9 (62 reviews)
5.4
5.4
User Avatar
See private message.
$17 USD in 3 days
4.4 (72 reviews)
5.5
5.5
User Avatar
See private message.
$8.50 USD in 3 days
4.9 (101 reviews)
5.1
5.1
User Avatar
See private message.
$17 USD in 3 days
5.0 (39 reviews)
5.0
5.0
User Avatar
See private message.
$34 USD in 3 days
4.9 (37 reviews)
4.6
4.6
User Avatar
See private message.
$4.25 USD in 3 days
5.0 (46 reviews)
4.6
4.6
User Avatar
See private message.
$8.50 USD in 3 days
4.8 (61 reviews)
4.5
4.5
User Avatar
See private message.
$4.25 USD in 3 days
5.0 (55 reviews)
4.4
4.4
User Avatar
See private message.
$6.80 USD in 3 days
4.9 (94 reviews)
4.3
4.3
User Avatar
See private message.
$5.95 USD in 3 days
4.9 (36 reviews)
3.8
3.8
User Avatar
See private message.
$85 USD in 3 days
4.7 (15 reviews)
3.8
3.8
User Avatar
See private message.
$3.40 USD in 3 days
5.0 (10 reviews)
3.6
3.6
User Avatar
See private message.
$8.50 USD in 3 days
5.0 (18 reviews)
3.5
3.5
User Avatar
See private message.
$12.75 USD in 3 days
4.4 (5 reviews)
2.8
2.8
User Avatar
See private message.
$5.95 USD in 3 days
4.9 (11 reviews)
2.1
2.1
User Avatar
See private message.
$17 USD in 3 days
5.0 (8 reviews)
2.0
2.0

About the client

Flag of KOREA, REPUBLIC OF
Korea, Republic of
5.0
7
Member since Sep 17, 2003

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.