document.write( "Question 241631: A vendor sells hot dogs and bags of potato chips. A customer buys 5 hot dogs and 3 bags of potato chips for $17.00. Another customer buys 3 hot dogs and 2 bags of potato chips for $10.50. Find the cost of each item. \n" ); document.write( "
Algebra.Com's Answer #176983 by stanbon(75887)![]() ![]() ![]() You can put this solution on YOUR website! A vendor sells hot dogs and bags of potato chips. A customer buys 5 hot dogs and 3 bags of potato chips for $17.00. Another customer buys 3 hot dogs and 2 bags of potato chips for $10.50. Find the cost of each item. \n" ); document.write( "------------- \n" ); document.write( "Equations: \n" ); document.write( "5h + 3p = 17 \n" ); document.write( "3h + 2p = 10.5 \n" ); document.write( "---------------------- \n" ); document.write( "Multiply thru the 1st by 3 \n" ); document.write( "Multiply thru the 2nd by 5 \n" ); document.write( "---------------------- \n" ); document.write( "15h + 9p = 51 \n" ); document.write( "15h + 10p = 52.5 \n" ); document.write( "------------------------- \n" ); document.write( "Subtract 1st from 2nd and solve for \"p\": \n" ); document.write( "p = $1.50 (cost of a bag of potato chips) \n" ); document.write( "--- \n" ); document.write( "Substitute into 5h+3p=17 to solve for \"h\": \n" ); document.write( "5h + 3(1.5) = 17 \n" ); document.write( "5h = 12.5 \n" ); document.write( "h = $2.50 (cost of a hot dog) \n" ); document.write( "================================ \n" ); document.write( "Cheers, \n" ); document.write( "Stan H. \n" ); document.write( " |