document.write( "Question 682108: Sour Balls are 2 cents each, And lollipops are 5 cents each. Hannah spent $1.00 and got 35 pieces of candy. How many sourballs did she get? \n" ); document.write( "
Algebra.Com's Answer #423042 by tsewaitung(11)![]() ![]() ![]() You can put this solution on YOUR website! let hannah had got x sour balls and y lollipops. \n" ); document.write( "from the question, we have \n" ); document.write( "x+y=35--------(first) \n" ); document.write( "2x+5y=100--------(second) \n" ); document.write( "(100 cents=$1.00) \n" ); document.write( "from the first equation, we have \n" ); document.write( "x+y=35 \n" ); document.write( "y=35-x--------(third) \n" ); document.write( "by substituting the third equation into the second one, we have \n" ); document.write( "2x+5(35-x)=100 \n" ); document.write( "2x+175-5x=100 \n" ); document.write( "175-3x=100 \n" ); document.write( "175-100=3x \n" ); document.write( "3x=75 \n" ); document.write( " \n" ); document.write( "by substituting x=25 into the third equation, we have \n" ); document.write( "y=35-25 \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "checking: \n" ); document.write( "(first):25+10=35 \n" ); document.write( "(second):2*25+5*10=50+50=100\r \n" ); document.write( "\n" ); document.write( "Hannah had got 25 sour balls and 10 lollipops. \n" ); document.write( " \n" ); document.write( " |