document.write( "Question 619771: A teller gave a customer change for $500 bills in $5, $10,$20 bills. Three are twice as much
\n" ); document.write( "10 bills as $20 bills altogether there are 40 bills. How much of each bill did the customer get
\n" ); document.write( "

Algebra.Com's Answer #389856 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
A teller gave a customer change for $500 bills in $5, $10,$20 bills.
\n" ); document.write( "There are twice as much 10 bills as $20 bills
\n" ); document.write( " altogether there are 40 bills.
\n" ); document.write( " How much of each bill did the customer get
\n" ); document.write( ":
\n" ); document.write( "Let x = no. of $5
\n" ); document.write( "Let y = no. of $10
\n" ); document.write( "Let z = no. of $20
\n" ); document.write( ":
\n" ); document.write( "\"There are twice as much 10 bills as $20 bills\"
\n" ); document.write( "y = 2z
\n" ); document.write( ":
\n" ); document.write( "\"altogether there are 40 bills.\"
\n" ); document.write( "x + y + z = 40
\n" ); document.write( "and the total value equation
\n" ); document.write( "5x + 10y + 20z = $500
\n" ); document.write( "Replace y with 2z
\n" ); document.write( "5x + 10(2z) + 20z = 500
\n" ); document.write( "5x + 20z + 20z = 500
\n" ); document.write( "5x + 40z = 500
\n" ); document.write( "simplify, divide by 5
\n" ); document.write( "x + 8z = 100
\n" ); document.write( "x = (100-8z)
\n" ); document.write( ":
\n" ); document.write( "The total bill equation, replace x with (100-8z) and y with 2z
\n" ); document.write( "(100-8z) + 2z + z = 40
\n" ); document.write( "-5z = 40 - 100
\n" ); document.write( "-5z = -60
\n" ); document.write( "z = -60/-5
\n" ); document.write( "z = 12 ea 20 dollar bills
\n" ); document.write( "Find y
\n" ); document.write( "y = 2(12)
\n" ); document.write( "y = 24 ea $10 bills
\n" ); document.write( "Find x
\n" ); document.write( "x = 100 - 8(12)
\n" ); document.write( "x = 100 - 96
\n" ); document.write( "x = 4 ea $5 bills
\n" ); document.write( ":
\n" ); document.write( ":
\n" ); document.write( "Confirm this, find the total$
\n" ); document.write( "4(5) + 24(10) + 12(20) =
\n" ); document.write( "20 + 240 + 240 = 500\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );