document.write( "Question 758664: MATH QUESTION---
\n" ); document.write( "A man bought some articles for $540. He lost 2 and sold the rest at $6 per article more than he gave for them. On the whole transaction he gained 10% on his outlay. How many articles did he buy?\r
\n" ); document.write( "\n" ); document.write( "Please help!
\n" ); document.write( "Thank You for Your Time :D
\n" ); document.write( "

Algebra.Com's Answer #461642 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
Let \"+n+\" = the number of articles he bought
\n" ); document.write( "\"+540%2Fn+\" = the cost / article that he bought
\n" ); document.write( "He lost 2, so he had \"+n+-+2+\" left
\n" ); document.write( "He sold the rest at $6 per article more than he gave for them
\n" ); document.write( "\"+540%2Fn+%2B+6+\" per item is what he sold \"+n+-+2+\" items for
\n" ); document.write( "-----------------
\n" ); document.write( "He gained 10% overall
\n" ); document.write( "\"+540+%2B+.1%2A540+=+594+\"
\n" ); document.write( "He ended up with $594
\n" ); document.write( "\"+%28+540%2Fn+%2B+6+%29%2A%28+n+-+2+%29+=+594+\"
\n" ); document.write( "\"+540+%2B+6n+-+1080%2Fn+-+12+=+594+\"
\n" ); document.write( "\"+6n+=+594+-+528+%2B+1080%2Fn+\"
\n" ); document.write( "\"+6n%5E2+=+66n+%2B+1080+\"
\n" ); document.write( "\"+-n%5E2+%2B+11n+%2B+180+=+0+\"
\n" ); document.write( "Use quadratic formula
\n" ); document.write( "\"+n+=+%28-b+%2B-+sqrt%28+b%5E2+-+4%2Aa%2Ac+%29%29+%2F+%282%2Aa%29+\"
\n" ); document.write( "\"+a+=+-1+\"
\n" ); document.write( "\"+b+=+11+\"
\n" ); document.write( "\"+c+=+180+\"
\n" ); document.write( "------------
\n" ); document.write( "\"+n+=+%28-11+%2B-+sqrt%28+11%5E2+-+4%2A%28-1%29%2A180+%29%29+%2F+%282%2A%28-1%29%29+\"
\n" ); document.write( "\"+n+=+%28-11+%2B-+sqrt%28+121+%2B+720+%29%29+%2F+%28-2%29+%29+\"
\n" ); document.write( "\"+n+=+%28-11+%2B-+sqrt%28+841+%29%29+%2F+%28-2%29+%29+\"
\n" ); document.write( "\"+n+=+%28-11+%2B-+29%29+%2F+%28-2%29+%29+\"
\n" ); document.write( "\"+n+=+%28+-11+-+29+%29+%2F+%28-2%29+\"
\n" ); document.write( "\"+n+=+20+\"
\n" ); document.write( "(Note that I can't use the (+) square root )
\n" ); document.write( "He bought 20 articles
\n" ); document.write( "check:
\n" ); document.write( "540/20 = 27
\n" ); document.write( "He lost 2 and had 18
\n" ); document.write( "\"+18%2A%28+27+%2B+6+%29+=+18%2A33+\"
\n" ); document.write( "\"+18%2A33+=+594+\"
\n" ); document.write( "This is 10% more that he paid originally
\n" ); document.write( "OK\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );