document.write( "Question 1203240: There are $925 in $5, $10, and $20 bills in a cash register. There is a total of 71 bills. The number of $20 bills is 7 less than the total number of $5 bills and $10 bills. How many bills of each denomination are in the cash register? \n" ); document.write( "
Algebra.Com's Answer #838656 by ikleyn(53765)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "There are $925 in $5, $10, and $20 bills in a cash register. There is a total of 71 bills.
\n" ); document.write( "The number of $20 bills is 7 less than the total number of $5 bills and $10 bills.
\n" ); document.write( "How many bills of each denomination are in the cash register?
\n" ); document.write( "~~~~~~~~~~~~~~~~~~\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "        I will show you how to solve the problem
\n" ); document.write( "        using two unknowns (and two equations) only.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\r\n" );
document.write( "Let x be the number of the  5-dollar bills;\r\n" );
document.write( "Let y be the number of the 10-dollar bills.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Then the number of the 20-dollar bills is (x+y-7).\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Write an equation for the total number of bills\r\n" );
document.write( "\r\n" );
document.write( "    x + y + (x+y-7) = 71.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Simplify it\r\n" );
document.write( "\r\n" );
document.write( "    2x + 2y = 71 + 7 = 78,\r\n" );
document.write( "\r\n" );
document.write( "or\r\n" );
document.write( "\r\n" );
document.write( "    x + y = 39.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Write second equation for the total money\r\n" );
document.write( "\r\n" );
document.write( "    5x + 10y + 20(x+y-7) = 925.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Simplify it\r\n" );
document.write( "\r\n" );
document.write( "     x + 2y + 4(x+y-7) = 185\r\n" );
document.write( "\r\n" );
document.write( "     x + 2y + 4x + 4y - 28 = 185\r\n" );
document.write( "\r\n" );
document.write( "    5x + 6y = 185 + 28 = 213\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "So, you have now the system of two equations\r\n" );
document.write( "\r\n" );
document.write( "     x +  y =  39,    (1)\r\n" );
document.write( "\r\n" );
document.write( "    5x + 6y = 213.    (2)\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "To solve it, multiply equation (1) by 5 (both sides); keep equation (2) as is.  You will get\r\n" );
document.write( "\r\n" );
document.write( "    5x + 5y = 195,    (1')\r\n" );
document.write( "\r\n" );
document.write( "    5x + 6y = 213.    (2')\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Subtract equation (1') from equation (2').  You will get\r\n" );
document.write( "\r\n" );
document.write( "    6y - 5y = 213 - 195\r\n" );
document.write( "\r\n" );
document.write( "      y     =    18.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Now from equation (1)  x = 39-y = 39-18 = 21.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "ANSWER.   There are 21 of the 5-dollar bills,  18 of the 10-dollar bills, and (x+y-7) = (21+18-7) = 32 of the 20-dollar bills.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "CHECK.   21*5 + 18*10 + 32*20 = 925 dollars 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( "
\n" ); document.write( "
\n" );