document.write( "Question 1034902: A man bought 18 fruits. Some cost $1.50 each and the remainder cost $2.00 each. He spent a cost of $32.50. How many of each fruit did he buy? \n" ); document.write( "
Algebra.Com's Answer #649579 by ikleyn(52943)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "A man bought 18 fruits. Some cost $1.50 each and the remainder cost $2.00 each. He spent a cost of $32.50. How many of each fruit did he buy?
\n" ); document.write( "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\r\n" );
document.write( "Let x = # of fruits that cost $1.50 each.\r\n" );
document.write( "Then the number of fruits that cost $2.00 is 18-x.\r\n" );
document.write( "\r\n" );
document.write( "x fruits by $1.50 each cost 1.50*x dollars.\r\n" );
document.write( "(18-x) fruits by $2.00 each cost 2.00*(18-x).\r\n" );
document.write( "\r\n" );
document.write( "So, you have this equation\r\n" );
document.write( "\r\n" );
document.write( "1.5x + 2*(18-x) = 32.50.\r\n" );
document.write( "\r\n" );
document.write( "Simplify and solve it:\r\n" );
document.write( "\r\n" );
document.write( "1.5x + 36 - 2x = 32.50,\r\n" );
document.write( "\r\n" );
document.write( "-0.5x = 32.50 - 36,\r\n" );
document.write( "\r\n" );
document.write( "-0.5x = - 3.5,\r\n" );
document.write( "\r\n" );
document.write( "x = \"%28-3.5%29%2F%28-0.5%29\" = 7.\r\n" );
document.write( "\r\n" );
document.write( "Answer. 7 fruits by $1.50 and (18-7) = 11 fruits by $2.00.\r\n" );
document.write( "\r\n" );
document.write( "Check.  1.50*7 + 2.00*11 = 10.50 + 22.00 = 32.50.   Correct!\r\n" );
document.write( "

\n" ); document.write( "
\n" ); document.write( "
\n" );