document.write( "Question 734854: At a concession stand, five hotdogs and two hamburgers cost $10.25; two hotdogs and five hamburgers cost $12.50. How much does one hotdog cost?\r
\n" );
document.write( "\n" );
document.write( "Thank you very much for your help! \n" );
document.write( "
Algebra.Com's Answer #449164 by rothauserc(4718)![]() ![]() You can put this solution on YOUR website! Let x = cost of hot dog, y = cost of hamburger,\r \n" ); document.write( "\n" ); document.write( "we have\r \n" ); document.write( "\n" ); document.write( "5x + 2y = 10.25 and\r \n" ); document.write( "\n" ); document.write( "2x + 5y = 12.50\r \n" ); document.write( "\n" ); document.write( "we need to know the value for x\r \n" ); document.write( "\n" ); document.write( "solve the second equation for y and we have\r \n" ); document.write( "\n" ); document.write( "y = (12.50 - 2x) / 5 = 2.50 - 2x/5\r \n" ); document.write( "\n" ); document.write( "now we substitute for y in our first equation,\r \n" ); document.write( "\n" ); document.write( "5x + 2 (2.50 - 2x/5) = 10.25 combining like terms,\r \n" ); document.write( "\n" ); document.write( "5x + 5.00 - 4x/5 = 10.25 and\r \n" ); document.write( "\n" ); document.write( "5x - 4x/5 = 5.25 and\r \n" ); document.write( "\n" ); document.write( "25x - 4x = 26.25 and 21x = 26.25\r \n" ); document.write( "\n" ); document.write( "x = $1.25, so the hot dog costs $1.25\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( " \n" ); document.write( " |