0

I'm trying to find a formula for this scenario:

I need \$$302$.

I gain \$$2$ every second.

I gain \$$5$ every $5$ seconds.

When will I reach \$$302$? Both of these rates are working together.

Visually:

$2 $2 $2 $2 ($2 $5) $2 $2 $2 $2 ($2 $5)

I'm able to find the answer by diving by \$$15$ and figuring out how many sequences there were, but I'm looking for an equation.

$302 / 15 = ~20$

$20$ x $5$s + $1$s = $101$s

Sil
  • 16,612
  • Find the LCM of $2$ seconds and $5$ seconds, which is $10$ seconds. 2. Calculate the amount of money that you make during those $10$ seconds. 3. Divide $302$ dollars by that amount. BTW, if you're looking for an equation, then we're looking for variable names, which you haven't specified in your question.
  • – barak manos Mar 06 '16 at 12:03
  • @barakmanos sorry i meant $302 – John Smith Mar 06 '16 at 12:04
  • @barakmanos thought there would be an equation for this like summation of rates or something like that – John Smith Mar 06 '16 at 12:07
  • You've already written an equation for your specific values. If you want a general equation, then you need to specify general names for your values (a.k.a variables). – barak manos Mar 06 '16 at 12:09
  • On average you get 3 dollars per second. After 100 seconds you get 300 dollars. At the second 101 you get your last 2 dollars. – Crostul Mar 06 '16 at 12:17