document.write( "Question 1171918: Bob bought a popcorn, a soda, and a hotdog at the movies for $6.94. Popcorn costs $1 more than a hotdog. A soda costs $0.81 less than a hotdog. How much is each item? \n" ); document.write( "
Algebra.Com's Answer #796819 by Theo(13342)\"\" \"About 
You can put this solution on YOUR website!
p = price of a box of popcorn
\n" ); document.write( "s = price of one soda
\n" ); document.write( "h = price of one hotdog
\n" ); document.write( "t = total price\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "your equation is:
\n" ); document.write( "t = p + s + h\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "you are given that the price of a box of popcorn is 1 dollar more than the price of a hotdog.
\n" ); document.write( "the equation for that is:
\n" ); document.write( "p = h + 1\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "you are given that the price of a soda is .81 less than the price of a hotdog.
\n" ); document.write( "the equation for that is:
\n" ); document.write( "s = h - .81\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the equations you have so far are:
\n" ); document.write( "t = p + s + h
\n" ); document.write( "p = h + 1
\n" ); document.write( "s = h - .81\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "what you want to do is reduce the number of unknowns in the equation of t = p + s + h down to 1.
\n" ); document.write( "then you can solve for that one unknown.
\n" ); document.write( "once you have that, you can use that value to solve for the rest of the unknowns.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "looking at p = h + 1 and s = h - .81, it looks like h is in both of them.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "we should be able to solve for p and s in terms of h.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "we have p = h + 1 so we don't have to do anything with that because p is already solved for in terms of h.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "we have s = h - .81 so we don't have to do anything with that because s is already solved for in terms of h.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "in the equation of t = p + s + h, replace p with h + 1 and replace s with h - .81 to get:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "t = p + s + h becomes:
\n" ); document.write( "t = (h + 1) + (h - .81) + h
\n" ); document.write( "simplify to get:
\n" ); document.write( "t = h + 1 + h - .81 + h
\n" ); document.write( "regroup the terms so that like terms are grouped together to get:
\n" ); document.write( "t = (h + h + h) + (1 - .81).
\n" ); document.write( "combine like terms to get:
\n" ); document.write( "t = 3h + .19\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "since t = 6.94, the equation becomes:
\n" ); document.write( "6.94 = 3h + .19
\n" ); document.write( "subtract .19 from both sides of the equation to get:
\n" ); document.write( "6.94 - .19 = 3h
\n" ); document.write( "simplify to get:
\n" ); document.write( "6.75 = 3h
\n" ); document.write( "solve for h to get:
\n" ); document.write( "h = 6.75 / 3 = 2.25\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "from s = h - .81, you get s = 2.25 - .81 which becomes:
\n" ); document.write( "s = 1.44\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "from p = h + 1, you get p = 2.25 + 1 which becomes:
\n" ); document.write( "p = 3.25\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "you now have:
\n" ); document.write( "p = 3.25
\n" ); document.write( "s = 1.44
\n" ); document.write( "h = 2.25\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "t = p + s + h becomes:
\n" ); document.write( "t = 3.25 + 1.44 + 2.25 = 6.94
\n" ); document.write( "this agrees with t is supposed to be, so the numbers for p and s and h look good.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "your solution is that the price of a box of popcorn is 3.25 and the price of a soda is 1.44 and the price of a hotdog is 2.25.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );