Jump to content

Calculate max profit per day

Joveice
Go to solution Solved by mariushm,

If you ignore acceleration and deceleration, waiting for passengers to get in and all that... basically 914 km/h is the average speed each hour. Assuming trip means travel to destination and back to station.

 

Divide that 914 km into the smallest units, ... ex 914000 meters / 3600 s = 253 meters per second

The ship will do 2694 km , so these will be done in 2694000/253 = 10648 seconds

There's 24x 3600s = 86400 seconds in a day, so you can do  floor ( 86400/10648) = 8 full trips , making 8x4 persons x 100 = 3200$

If you include partial trips, you have 8.114 x 4 x 100 = 3244$

So I'm probably not thinking correctly as my math did not make any sense from what I expected so I hope someone can look at this and tell me how it should be done.

 

So a station has 400 persons.

The rocket can take 4 at a time.

The trip is 2694km.

The rocket does 914km/h.

The rocket flies for 24hours a day.

The rocket makes $100 on each person.


How do you calculate the maximum the rocket can make each day?
I first did this without taking the max trips into the calculation and when I did add it some of my lower tests became higher which made no sense, but I did a while under 24 hour add trip and not a calculation.

 

Back-end developer, electronics "hacker"

Link to comment
Share on other sites

Link to post
Share on other sites

If you ignore acceleration and deceleration, waiting for passengers to get in and all that... basically 914 km/h is the average speed each hour. Assuming trip means travel to destination and back to station.

 

Divide that 914 km into the smallest units, ... ex 914000 meters / 3600 s = 253 meters per second

The ship will do 2694 km , so these will be done in 2694000/253 = 10648 seconds

There's 24x 3600s = 86400 seconds in a day, so you can do  floor ( 86400/10648) = 8 full trips , making 8x4 persons x 100 = 3200$

If you include partial trips, you have 8.114 x 4 x 100 = 3244$

Link to comment
Share on other sites

Link to post
Share on other sites

Since the rocket moves at 914 kilometers per hour, it can cover 914 * 24 = 21,936 kilometers in a single day. That means, assuming that it never stops and that it never slows down, it can complete the trip 21936 / 2694 (~8.14) times per day. I'll leave it as a fraction because decimals are the devil. Also, rounding too early will produce the wrong answer.

 

Now, per trip the rocket makes $400. The amount of money it makes per day is the amount of trips it can take per day times the amount of money it can make per trip. That is the amount of revenue that the rocket generates each day is (21936 / 2694) * (400) ~ $3,257.02.

Link to comment
Share on other sites

Link to post
Share on other sites

9 minutes ago, Joveice said:

So a station has 400 persons

Irrelevant with regards to the question.

 

9 minutes ago, Joveice said:

The trip is 2694km

One way or there and back?

 

10 minutes ago, Joveice said:

The rocket does 914km/h

If the above question's answer is one way, it takes 2694km * 2 / 914/km/h per trip, ie. ~5.89h. If it's there and back, it takes 2694km / 914km/h per trip, ie. ~2.95h. So, 24h / 5.89h = ~4.07 trips per day for the first one and ~8.14 trips for the second one. Since only a full trip gives you the $100, we can ignore the fractions and only multiply full trips with 4, ie. the number of people aboard and get $1600 a day for the first one and $3200 for the second one.

Hand, n. A singular instrument worn at the end of the human arm and commonly thrust into somebody’s pocket.

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×