document.write( "Question 39961: During an election campaign a candidate gave away 5000 little advertisements. The pens she gave away cost $.23 cents each and the little bumper stickers cost $.14 cents each. He spent a total of $970.00. How many pens did he give away?
\n" ); document.write( "
\n" ); document.write( "thanx
\n" ); document.write( "

Algebra.Com's Answer #25479 by fractalier(6550)\"\" \"About 
You can put this solution on YOUR website!
Let p be the number of pens and b be the number of bumper stickers.
\n" ); document.write( "Their costs are then .23p and .14b, respectively...so we have
\n" ); document.write( "p + b = 5000
\n" ); document.write( ".23p + .14b = 970
\n" ); document.write( "We can combine these by a linear sum by multiplying the first equation by 14 and the second by 100...then we subtract the equations...we get
\n" ); document.write( "14p + 14b = 70000
\n" ); document.write( "-(23p + 14b = 97000)
\n" ); document.write( "and get
\n" ); document.write( "-9p = - 27000
\n" ); document.write( "p = 3000
\n" ); document.write( "Thus he/she gave away 3000 pens and 2000 bumper stickers.
\n" ); document.write( "
\n" );