document.write( "Question 60861: Sally bought three chocolate bars and a pack of gum and paid $1.75. Jake bought two chocolate bars and four packs of gum and paid $2.00. Find the cost of a chocolate bar and the cost of a pack of gum. \n" ); document.write( "
Algebra.Com's Answer #41811 by jai_kos(139)![]() ![]() ![]() You can put this solution on YOUR website! Let the cost of the chocolate bar = “x” \n" ); document.write( "The cost of the pack of the gum = “y”\r \n" ); document.write( "\n" ); document.write( "Sally bought 3 chocolate bars and a pack of gum = $1.75 \n" ); document.write( "3(chocolate bars) +(pack of a gum)= $1.75 \n" ); document.write( "3x + y = $1.75 (1)\r \n" ); document.write( "\n" ); document.write( "Jake bought two chocolate bars and 4 packs of gum =$2.00 \n" ); document.write( "2(chocolate bars) + 4 ( packs of a gum) = $2.00 \n" ); document.write( "2x + 4y = 2.00 (2)\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Solving the simultaneous equation, we get \n" ); document.write( "3x + y = 1. 75 \n" ); document.write( "2x + 4y = 2.00\r \n" ); document.write( "\n" ); document.write( "Now multiply equation(1) by 4, \n" ); document.write( "3x * 4 + y * 4 = 1. 75 * 4 \n" ); document.write( "2x + 4y = 2.00 \r \n" ); document.write( "\n" ); document.write( "We get,\r \n" ); document.write( "\n" ); document.write( "12x + 4 y = 7 (3) \n" ); document.write( " 2x + 4y = 2 (2)\r \n" ); document.write( "\n" ); document.write( "Subtract the two equations, we get\r \n" ); document.write( "\n" ); document.write( "10x = 5 \n" ); document.write( "x = (5/10) \n" ); document.write( "x = (1/2) = 0 .5\r \n" ); document.write( "\n" ); document.write( "Now we shall find the value of “y” by substituting the value of “x” in equation(2), we get \n" ); document.write( "2(1/2) + 4 y = 2 \n" ); document.write( "1 + 4y = 2 \n" ); document.write( "4y = 2 -1 \n" ); document.write( "4y = 1 \n" ); document.write( "y = (1/4) = 0.25\r \n" ); document.write( "\n" ); document.write( "Therefore the value of “x” is 0.5 and value of y is 0.25. \n" ); document.write( "That is \n" ); document.write( "The cost of chocolate bar = $0.5 \n" ); document.write( "The cost of the pack of gum = $0.25\r \n" ); document.write( "\n" ); document.write( " \n" ); document.write( " |