Find Jobs
Hire Freelancers

Assignment 3B

$30-5000 USD

Cerrado
Publicado hace más de 20 años

$30-5000 USD

Pagado a la entrega
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++
ID del proyecto: 2976318

Información sobre el proyecto

26 propuestas
Proyecto remoto
Activo hace 21 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
26 freelancers están ofertando un promedio de $13 USD por este trabajo
Avatar del usuario
See private message.
$5,95 USD en 3 días
4,8 (117 comentarios)
6,6
6,6
Avatar del usuario
See private message.
$17 USD en 3 días
5,0 (99 comentarios)
6,5
6,5
Avatar del usuario
See private message.
$6,80 USD en 3 días
5,0 (160 comentarios)
6,0
6,0
Avatar del usuario
See private message.
$8,50 USD en 3 días
4,9 (175 comentarios)
5,9
5,9
Avatar del usuario
See private message.
$8,50 USD en 3 días
4,9 (62 comentarios)
5,4
5,4
Avatar del usuario
See private message.
$17 USD en 3 días
4,4 (72 comentarios)
5,5
5,5
Avatar del usuario
See private message.
$8,50 USD en 3 días
4,9 (101 comentarios)
5,1
5,1
Avatar del usuario
See private message.
$17 USD en 3 días
5,0 (39 comentarios)
5,0
5,0
Avatar del usuario
See private message.
$34 USD en 3 días
4,9 (37 comentarios)
4,6
4,6
Avatar del usuario
See private message.
$4,25 USD en 3 días
5,0 (46 comentarios)
4,6
4,6
Avatar del usuario
See private message.
$8,50 USD en 3 días
4,8 (61 comentarios)
4,5
4,5
Avatar del usuario
See private message.
$4,25 USD en 3 días
5,0 (55 comentarios)
4,4
4,4
Avatar del usuario
See private message.
$6,80 USD en 3 días
4,9 (94 comentarios)
4,3
4,3
Avatar del usuario
See private message.
$5,95 USD en 3 días
4,9 (36 comentarios)
3,8
3,8
Avatar del usuario
See private message.
$85 USD en 3 días
4,7 (15 comentarios)
3,8
3,8
Avatar del usuario
See private message.
$3,40 USD en 3 días
5,0 (10 comentarios)
3,6
3,6
Avatar del usuario
See private message.
$8,50 USD en 3 días
5,0 (18 comentarios)
3,5
3,5
Avatar del usuario
See private message.
$12,75 USD en 3 días
4,4 (5 comentarios)
2,8
2,8
Avatar del usuario
See private message.
$5,95 USD en 3 días
4,9 (11 comentarios)
2,1
2,1
Avatar del usuario
See private message.
$17 USD en 3 días
5,0 (8 comentarios)
2,0
2,0

Sobre este cliente

Bandera de KOREA, REPUBLIC OF
Korea, Republic of
5,0
7
Miembro desde sept 17, 2003

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.