In this lecture we learnt how to plot our graphs for currentFuel / time.

How did you get on with drawing the line for when maxFuel = 150 and burnRate = 3. Did you notice anything interesting in relation to the other lines we plotted?

In this lecture we learnt how to plot our graphs for currentFuel / time.

How did you get on with drawing the line for when maxFuel = 150 and burnRate = 3. Did you notice anything interesting in relation to the other lines we plotted?

1 Like

It was double the orange line and triple the red line.

At t = 0, m = 150.

At c = 0, t = 30.

So since when t = 0, c = m

When t = 0, c = 150

Since t = (m - c) / b

When c = 0, t = (150 - 0) / 3

So when c = 0, t = 50

Again, the tank lasts 50 seconds. So no matter how much we multiply the original maxFuel (100), if we also multiply the burnRate by the same amount it will last the same time.