On the first day of the month, Jessica had $900 in her savings account and started spending $10 a week. Her friend Karina had $500 and started saving $15 a week. After how many weeks will the friends have the same amount?

you want w when

900+10w = 500+15w

let the number of weeks be w

when is 900 - 10w = 500 + 15w
solve for w

Oops. I misread the problem.

To find out after how many weeks Jessica and Karina will have the same amount of money, we can set up an equation using their starting amounts and the rate at which their savings change.

Let's assume the number of weeks needed is "w".

For Jessica, her savings decrease by $10 every week. So, her savings after "w" weeks can be represented as:
Total savings for Jessica = $900 - ($10 x w)

For Karina, her savings increase by $15 every week. So, her savings after "w" weeks can be represented as:
Total savings for Karina = $500 + ($15 x w)

Now, we need to find the value of "w" when their savings become equal. We can set up the equation:

$900 - ($10 x w) = $500 + ($15 x w)

Now, let's solve this equation to find the value of "w".

$900 - $10w = $500 + $15w

Collecting like terms:

$900 - $500 = $15w + $10w

$400 = $25w

Dividing both sides by $25:

$400 / $25 = $25w / $25

16 = w

Therefore, after 16 weeks, Jessica and Karina will have the same amount of money in their savings accounts.