document.write( "Question 1207745: A candy store sells boxes of candy containing caramels and cremes.Each box sells for $12.50 and holds 30 pieces of candy (all pieces are the same size).If the caramels cost $0.25 to produce and the cremes cost $0.45 to produce,how many of each should be in a box to make a profit of $3? \n" ); document.write( "
Algebra.Com's Answer #845792 by mccravyedwin(407)\"\" \"About 
You can put this solution on YOUR website!
\r\n" );
document.write( "This problem is shown to be really comical when you work it the following way!\r\n" );
document.write( "LOL! J\r\n" );
document.write( "\r\n" );
document.write( "Suppose each box were to contain 30 caramels and no cremes.\r\n" );
document.write( "\r\n" );
document.write( "Then the profit would be $12.50 - 30($0.25) = $5.00 per box.\r\n" );
document.write( "\r\n" );
document.write( "But they would be making too much profit that way! (LOL). They only want to make\r\n" );
document.write( "$3.00 profit per box.  So they need to swap some of those caramels for cremes to\r\n" );
document.write( "reduce their profit down to only $3.00 per box instead of $5.00 per box. \r\n" );
document.write( "\r\n" );
document.write( "Let x be the number of caramels they need to remove from each box and replace\r\n" );
document.write( "with x cremes in order to reduce their profit from $5 down to only $3.\r\n" );
document.write( "\r\n" );
document.write( "Since each creme costs $0.45 and each caramel $0.25, their profit will reduce\r\n" );
document.write( "by $0.45-$0.25 = $0.20 per swap.\r\n" );
document.write( "\r\n" );
document.write( "Since they will be making x swaps they will be reducing their total profit by\r\n" );
document.write( "$0.20x. \r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\"%22%245%22\"\"%22%22-%22%22\"\"%22%240.20%22%2Ax\"\"%22%22=%22%22\"\"%22%243%22\"\r\n" );
document.write( "\r\n" );
document.write( "\"5\"\"%22%22-%22%22\"\"0.20x\"\"%22%22=%22%22\"\"3\"\r\n" );
document.write( "\r\n" );
document.write( "\"-0.20x\"\"%22%22=%22%22\"\"3\"\"%22%22-%22%22\"\"5\"\r\n" );
document.write( "\r\n" );
document.write( "\"-0.20x\"\"%22%22=%22%22\"\"-2\"\r\n" );
document.write( "\r\n" );
document.write( "\"x\"\"%22%22=%22%22\"\"%28-2%29%2F%28-0.20%29\"\r\n" );
document.write( "\r\n" );
document.write( "\"x\"\"%22%22=%22%22\"\"%28-2%29%2F%28-0.20%29\"\r\n" );
document.write( "\r\n" );
document.write( "\"x\"\"%22%22=%22%22\"\"10\"\r\n" );
document.write( "\r\n" );
document.write( "So after 10 swaps, each box will contain 10 cremes and 20 caramels. Then,\r\n" );
document.write( "they'll have their lower profit of only $3 per box. J\r\n" );
document.write( "\r\n" );
document.write( "Edwin
\n" ); document.write( "
\n" );