document.write( "Question 961723: A vending machine has $6.30 in it. There are 52 coins total and the machine only accepts nickels, dimes, and quarters. There are five more dimes than nickels. How many of each coin are in the machine. \n" ); document.write( "
Algebra.Com's Answer #808182 by ikleyn(52788)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "A vending machine has $6.30 in it. There are 52 coins total and the machine only accepts nickels,
\n" ); document.write( "dimes, and quarters. There are five more dimes than nickels. How many of each coin are in the machine ?
\n" ); document.write( "~~~~~~~~~~~~~\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "            It is a typical problem to be solved using only one single unknown and only one single equation.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
    \r\n" );
document.write( "Let x be the number of nickels.\r\n" );
document.write( "\r\n" );
document.write( "Then the number of dimes is (x+5), according to the condition.\r\n" );
document.write( "\r\n" );
document.write( "The quarters are the rest coins, and their number is  (52-x-(x+5)) = (47-2x).\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Having it, you write the total money equation\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "    5x + 10(x+5) + 25*(47-2x) = 630   cents.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Simplify and solve\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "    5x + 10x + 50 + 25*47 - 50x = 630\r\n" );
document.write( "\r\n" );
document.write( "         -35x                   = 630 - 50 - 25*47 = -595\r\n" );
document.write( "\r\n" );
document.write( "            x                                      = \"%28-595%29%2F%28-35%29\" = 17.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "ANSWER.  17 nickels, 22 dimes and the rest 52 - 17-22 = 13  coins are quaters.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "CHECK.  17*5 + 22*10 + 13*25 = 630 cents, in total.    ! Correct !\r\n" );
document.write( "
\r
\n" ); document.write( "\n" ); document.write( "Solved.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "--------------------\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "It is how this problem is intended and is expected to be solved.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Only the persons UNFAMILIAR with a standard basic mathematical education principles, \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "like  @josgarithmetic or  @Penguin,  may think differently . . . \r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );