document.write( "Question 213082: sherry spent the amount of money at the grocery store as she did at drug store. At the grocery store , she spent $3.40 on steak , $1.19 on bread and bought apples that cost $0.15 each. at the drug store , she spent $4.99 on shampoo and bought pencils that cost $0.10 each. how many pencils and how many apples did sherry buy?\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #160980 by RAY100(1637)\"\" \"About 
You can put this solution on YOUR website!
Let a = # apples,,,,and p=# pencils
\n" ); document.write( ".
\n" ); document.write( "$ @ Grocery = 3.40 +1.19 +.15a = 4.59 + .15a
\n" ); document.write( ".
\n" ); document.write( "$@ Drug Store = 4.99 + .10 p
\n" ); document.write( ".
\n" ); document.write( "but amounts are equal
\n" ); document.write( ".
\n" ); document.write( "4.59 + .15 a = 4.99 + .10p
\n" ); document.write( ".
\n" ); document.write( ".15a - .10 p = .40,,,,,,,mult by 10
\n" ); document.write( ".
\n" ); document.write( "15a -10p = 40,,,,,divide by 5
\n" ); document.write( ".
\n" ); document.write( "3a -2p =8,,,,, this is one eqn for two unknown
\n" ); document.write( ".
\n" ); document.write( "Lets examine potential answers
\n" ); document.write( ".
\n" ); document.write( "#a,,,,,#p,,,,,,,,,,,,,,,,,,,,,,,,,,,#p,,,,,#a
\n" ); document.write( ".
\n" ); document.write( "0,,,,,,-4,,,,,,,,,,,,,,,,,,,,,,,,,,,,0,,,,,,,8/3
\n" ); document.write( "1,,,,,,-2.5,,,,,,,,,,,,,,,,,,,,,,,,,,1,,,,,,,,10/3
\n" ); document.write( "2,,,,,,-1,,,,,,,,,,,,,,,,,,,,,,,,,,,,2,,,,,,,,4,,,,,,1st practical answer
\n" ); document.write( "3,,,,,,1/2
\n" ); document.write( "4,,,,,,,2,,,,,,1st practical answer
\n" ); document.write( ".
\n" ); document.write( "therefore we can say that we must buy at least 4 apples,and 2 pencils
\n" ); document.write( "in the ratio 2 apples for each 4 pencils
\n" ); document.write( ".
\n" ); document.write( ". check,, 4.99 + .10(2) = 4.59 + .15(4) = 5.19,,,0k\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );