Patty’s Burgers sells three hamburgers and two milkshakes for three dollars and thirty five cents. One hamburger and one milkshake cost one dollar and thirty cents. Find the cost of a hamburger. I got 89 cents but its not working

3h + 2m = 3.35

h + m = 1.30 ---> m = 1.3-h

back in the first:
3h + 2(1.3 - h) = 3.35
3h + 2.6 - 2h = 3.35
h = .75 , m = .55

Wow, time to update those textbooks from the 1950's

To solve this problem, let's assign variables to the unknown quantities. Let's say the cost of one hamburger is "h" dollars, and the cost of one milkshake is "m" dollars.

From the given information, we have:

3 hamburgers + 2 milkshakes = $3.35
1 hamburger + 1 milkshake = $1.30

Now, let's set up a system of equations to represent these statements:

Equation 1:
3h + 2m = 3.35

Equation 2:
1h + 1m = 1.30

Now, we can solve this system of equations to find the values of "h" and "m". There are multiple methods to do this, but for simplicity, we'll use the substitution method.

Solve Equation 2 for m:
1m = 1.30 - 1h
m = 1.30 - h

Substitute this expression for m into Equation 1:
3h + 2(1.30 - h) = 3.35

Now, simplify the equation:
3h + 2.60 - 2h = 3.35
h + 2.60 = 3.35
h = 3.35 - 2.60
h = 0.75

Therefore, the cost of one hamburger is 75 cents, not 89 cents.