document.write( "Question 1025173: If Cesar has 17 nickels and quarters in his pocket, and they have a combined value of 265 cents, how many of each coin does he have ? \n" ); document.write( "
Algebra.Com's Answer #640503 by Edwin McCravy(20060)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "
\r\n" );
document.write( "Let the number of nickels be x\r\n" );
document.write( "Let the number of quarters be y\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "                      Value      Value\r\n" );
document.write( "Type       Number       of         of\r\n" );
document.write( " of          of        EACH       ALL\r\n" );
document.write( "coin        coins      coin      coins\r\n" );
document.write( "-------------------------------------------\r\n" );
document.write( "nickels        x      $0.05       $0.05x\r\n" );
document.write( "quarters       y      $0.25       $0.25y\r\n" );
document.write( "-------------------------------------------\r\n" );
document.write( "TOTALS        17      -----       $2.65\r\n" );
document.write( "\r\n" );
document.write( " The first equation comes from the second column.\r\n" );
document.write( "\r\n" );
document.write( "  \"%28matrix%283%2C1%2CNumber%2Cof%2Cnickels%29%29\"\"%22%22%2B%22%22\"\"%28matrix%283%2C1%2CNumber%2Cof%2Cquarters%29%29\"\"%22%22=%22%22\"\"%28matrix%284%2C1%2Ctotal%2Cnumber%2Cof%2Ccoins%29%29\"\r\n" );
document.write( "            \r\n" );
document.write( "                   x + y = 17\r\n" );
document.write( "\r\n" );
document.write( " The second equation comes from the last column.\r\n" );
document.write( "  \"%28matrix%284%2C1%2CValue%2Cof%2CALL%2Cnickels%29%29\"\"%22%22%2B%22%22\"\"%28matrix%284%2C1%2CValue%2Cof%2CALL%2Cquarters%29%29\"\"%22%22=%22%22\"\"%28matrix%285%2C1%2CTotal%2Cvalue%2Cof%2CALL%2Ccoins%29%29\"\r\n" );
document.write( "\r\n" );
document.write( "           0.05x + 0.25y = 2.65\r\n" );
document.write( "\r\n" );
document.write( "Get rid of decimals by multiplying every term by 100:\r\n" );
document.write( "\r\n" );
document.write( "                5x + 25y = 265\r\n" );
document.write( "\r\n" );
document.write( " So we have the system of equations:\r\n" );
document.write( "           \"system%28x+%2B+y+=+17%2C5x+%2B+25y+=+265%29\".\r\n" );
document.write( "\r\n" );
document.write( "We solve by substitution.  Solve the first equation for y:\r\n" );
document.write( "\r\n" );
document.write( "           x + y = 17\r\n" );
document.write( "               y = 17 - x\r\n" );
document.write( "\r\n" );
document.write( "Substitute (17 - x) for y in 5x + 25y = 265\r\n" );
document.write( "\r\n" );
document.write( "     5x + 25(17 - x) = 265\r\n" );
document.write( "      5x + 425 - 25x = 265\r\n" );
document.write( "          -20x + 425 = 265\r\n" );
document.write( "                -20x = -160\r\n" );
document.write( "                   x = 8 = the number of nickels.\r\n" );
document.write( "\r\n" );
document.write( "Substitute in y = 17 - x\r\n" );
document.write( "              y = 17 - (8\r\n" );
document.write( "              y = 9 quarters.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Checking:  8 nickels is $0.40 and 9 quarters is $2.25\r\n" );
document.write( "            That's 17 coins.\r\n" );
document.write( "            And indeed $0.40 + $2.25 = $2.65\r\n" );
document.write( "Edwin

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