document.write( "Question 166436: a piggy bank contains pennies, nickels, and dimes---a total of 222 coins. if the bank helb 3 times as many dimes, half as many pennies, and 8 times as many nickels, it would contain twice as much money. how many of each type of coin are actually in the bank?
\n" ); document.write( "--i need to know how you did it too
\n" ); document.write( " thanks
\n" ); document.write( "

Algebra.Com's Answer #122673 by ptaylor(2198)\"\" \"About 
You can put this solution on YOUR website!
OK
\n" ); document.write( "FIRST OF ALL, WE HAVE MORE UNKNOWNS IN THIS PROBLEM THAN WE HAVE EQUATIONS. IN THIS SITUATION, WE SOMETIMES HAVE MULTIPLE ANSWERS AND WE ALMOST ALWAYS WILL HAVE TO DO SOME TRIAL AND ERROR TO GET AT THE SOLUTIONS. HAVING SAID THAT, LETS SOLVE THE PROBLEM:
\n" ); document.write( "Let x=number of pennies
\n" ); document.write( "Let y=number of nickels
\n" ); document.write( "Let z=number of dimes
\n" ); document.write( "Let A=amount of money in the initial 222 coins
\n" ); document.write( "Now we are told that:
\n" ); document.write( "x+y+z=222-----------------------------------------------------eq1
\n" ); document.write( "And we know that (lets deal in pennies):
\n" ); document.write( "x+5y+10z=A----------------------------------------------------eq2
\n" ); document.write( "Now we are also told that:
\n" ); document.write( "\"If the bank held 3 times as many dimes, half as many pennies, and 8 times as many nickels, it would contain twice as much money.\" This translates into the following equation (deal in pennies again):
\n" ); document.write( "(x/2)+5*8y+10*3z=2A multiply each term by 2 and simplify
\n" ); document.write( "x+80y+60z=4A---------------------------------------------------eq3
\n" ); document.write( "Next, multiply eq2 by 4 (we get: 4x+20y+40z=4A) and subtract eq3 from it and this yields:
\n" ); document.write( "4x+20y+40z=4A
\n" ); document.write( "-x-80y-60z=-4A
\n" ); document.write( "which equals:
\n" ); document.write( "3x-60y-20z=0------------------------------------------------------eq3a
\n" ); document.write( "Next, we multiply eq1 by 3 (we get: 3x+3y+3z=666) and subtract it from eq3a and this gives us:
\n" ); document.write( "-63y-23z=-666 multiply each term by -1
\n" ); document.write( "63y+23z=666 solve for z
\n" ); document.write( "z=(666-63y)/23-----------------------------------------------------eq3b
\n" ); document.write( "Eq3b gives us a relationship between the number of dimes and the number of nickels:
\n" ); document.write( "Now we know the following information about this problem which will help greatly in solving it:
\n" ); document.write( "(1) We cannot have negative coins--------our answers have to be positive numbers
\n" ); document.write( "(2) We cannot have fractions of coins-----our answers have to be whole numbers\r
\n" ); document.write( "\n" ); document.write( "Armed with the above information, by inspection, we can see from eq3b that y has to be less than or equal to 10, otherwise we start getting negative dimes. So, we have established that:
\n" ); document.write( "y<=10
\n" ); document.write( "Next, we will deal with the fractional aspect of this problem. We'll do this by calculating the value of z for the values of y between 1 and 10. Any whole numbers that we get are possible solutions:\r
\n" ); document.write( "\n" ); document.write( "y=1, z=26.22------------------------no good
\n" ); document.write( "y=2, z=23.5-------------------------no good
\n" ); document.write( "y=3, z=20.74------------------------no good
\n" ); document.write( "y=4, z=18---------------------------BINGO!!!!!!! possible answer
\n" ); document.write( "y=5, z=15.3-------------------------no good
\n" ); document.write( "y=6, z=12.5-------------------------no good
\n" ); document.write( "y=7, z=9.8--------------------------no good
\n" ); document.write( "y=8, z=7.04-------------------------no good
\n" ); document.write( "y=9, z=4.3--------------------------no good
\n" ); document.write( "y=10, z=1.57------------------------no good\r
\n" ); document.write( "\n" ); document.write( "So, out of all the possible values for y, we have only one possible solution:\r
\n" ); document.write( "\n" ); document.write( "y=4 and
\n" ); document.write( "z=18\r
\n" ); document.write( "\n" ); document.write( "Substitute y=4 and z=18 into eq1 and solve for x:
\n" ); document.write( "x+4+18=222 solve for x
\n" ); document.write( "x=200
\n" ); document.write( "So our answer is
\n" ); document.write( "x=200 pennies
\n" ); document.write( "y=4 nickels
\n" ); document.write( "z=18 dimes
\n" ); document.write( "CK
\n" ); document.write( "Original amount of money:
\n" ); document.write( "200*1+4*5+10*18=200+20+180=400
\n" ); document.write( "\"If the bank held 3 times as many dimes, half as many pennies, and 8 times as many nickels, it would contain twice as much money.\" This translates into the following amount:
\n" ); document.write( "(200/2)*1+5*4*8+10*3*18=800
\n" ); document.write( "100+160+540=800
\n" ); document.write( "800=800\r
\n" ); document.write( "\n" ); document.write( "Niche problem!!!!
\n" ); document.write( "Hope this helps---ptaylor\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );