Find Jobs
Hire Freelancers

A simple C++ project

$10-30 USD

Completed
Posted about 8 years ago

$10-30 USD

Paid on delivery
The average person can jump off the ground with a launch velocity of 7 mph without fear of leaving the planet. However, if an astronaut jumps with this launch velocity while standing on Halley’s Comet, will the astronaut ever come back down? Create a program that allows the user to input a launch velocity (in mph) from the surface of Halley’s Comet and determine whether a jumper will return to the surface. If not, the program should calculate how much more massive the comet must be in order to return the jumper to the surface. Allow the user to continue input as long as he/she wishes. (no negative launch velocities allowed). Exponential form is acceptable. Use at least two (2) void functions. Escape velocity is SQRT (2 * G * M / R) (use cmath for sqrt) G = gravitational constant = 6.67 * 10-11 N m2/kg2 M = mass of of Halley’s Comet = 1.3 * 1022 kg R = Halley’s Comet radius = 1.153 * 106 m Hint: The following constants can be used in your program. const double G = 6.67E-11; const double MASS = 1.3E22; const double RADIUS = 1.153E6; SAMPLE OUTPUT: Enter launch velocity in mph =>7 Jumper will return Another input?, press 1=>1 Enter launch velocity in mph =>3400 Jumper would return if the mass was at least 1.99675e+22 Another input?, press 1=>1 Enter launch velocity in mph =>540 Jumper will return Another input?, press 1=>2
Project ID: 10043477

About the project

5 proposals
Remote project
Active 8 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
Awarded to:
User Avatar
Hello. It is easy assignment, it can be completed in about 40 minutes, maybe even sooner.
$11 USD in 1 day
4.9 (663 reviews)
6.9
6.9
5 freelancers are bidding on average $20 USD for this job
User Avatar
Hello, Before you select a part time developer from here, take a look at fugacode.com. If you like what you see, contact us. That's all. "Why hire freelancers? when you can hire professional developers for the same cost" Regards, FUGACODE Team
$210 USD in 1 day
5.0 (9 reviews)
5.4
5.4
User Avatar
Hi, I would be happy to help you with this small task - I'm familiar with all maths-physics-programming related topics involved here, so I can do this for cheap and deliver quickly. Best regards Jan
$20 USD in 2 days
4.9 (8 reviews)
3.6
3.6
User Avatar
Hi,sir. I am interested in your project. I am a talented and experienced Mathematician, C, C++ professional,Web Developer, Website scraper, more than 10 years experiences on Mathematics, Matlab ,C,C++,Excel,Web scraping,Data mining,Website development,Reversing,Engineering,Algorithm. Pls, contact with me. Best regards.
$25 USD in 1 day
4.3 (12 reviews)
3.5
3.5
User Avatar
hello sir i can have track record of doing c++ task you can check my profile and my show case i can do this task and start it immediately I feel that my excellent interpersonal and analytical skills coupled with my leadership qualities and strong work ethic would make me a great fit for job and completing work on time I am a fast and accurate developer, with a keen eye for on every detail, to satisfied client. I am able to take on the responsibility of this position immediately, and have the enthusiasm and determination to ensure that I make success of It.
$20 USD in 1 day
4.9 (7 reviews)
2.8
2.8

About the client

Flag of UNITED STATES
PALM BAY, United States
5.0
7
Member since Jan 28, 2016

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.