# Thread: Help Please I Need To Solce This Story Problem Urgent

1. ## Help Please I Need To Solce This Story Problem Urgent

I was getting ready to go riding my dirtbikes and atv’s with the family this weekend… A gallon of gas costs $2.99 and a bottle of 2-cycle oil costs 1.49. I spent a total 35.87 at the gas station (tax not included). How many gallons of gas and bottles of 2-cycle oil did I buy? (Whole units only) THANK YOU! 2. Originally Posted by ROZZALI I was getting ready to go riding my dirtbikes and atv’s with the family this weekend… A gallon of gas costs$2.99 and a bottle of 2-cycle oil costs 1.49. I spent a total 35.87 at the gas station (tax not included). How many gallons of gas and bottles of 2-cycle oil did I buy?
(Whole units only)

THANK YOU!
unless i am missing something, this problem is not complete.

if g is the number of gallons of gas you bought and b is the number of bottles of oil you bought, then we know that:

2.99g + 1.49b = 35.87

we have two unknowns and one equation. now, if this has integer solutions (which i would assume it does, since we are talking whole units here), we can do this by trial and error. otherwise, there must be some other clue. like what proportion of oil to gas you would need or something.

3. Suppose that b is even ie. b=2n.
2.99g+2.98n = 35.87
2.98(g+n)+.01g = 35.87
2.98>>.01 so $\displaystyle g+n\approx 35.87/2.98$
rounding to integer we get g+n = 12
2.98(12)+.01g = 35.87
.01g= .11
g=11, n = 1, b=2

If this hadn't worked (if we didn't get g between 0 and 12) then we would have set b = 2n+1 and solved from there.