Challenge: Rocket Fuel Play Time

Designer wants play time to be 120 before running out of fuel.

m = maxFuel
b = burnRate
c = currentFuel
t = time

t = 120, c = 0

If m = 100:
b = (c - m) / -t
b = (0 - 100) / -120
b = -100/-120
b = 0.8

If b = 2
m = c + bt
m = 0 + 2(120)
m = 240

1 Like

m=c+(bxt)
c=0
t=120
b=2
m=0+(2x120)
m=240

b=(-c+m)/t
c=0
m=100
t=120
b=100/120
b=.83

Privacy & Terms