document.write( "Question 35290: A vending machine which takes only nickles and dimes contains $4.50. The number of dimes is 5 more than twice the number of nickles. How many of each coin are there?\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "I started with 2n + 5 = 4.50
\n" ); document.write( "

Algebra.Com's Answer #21450 by narayaba(40)\"\" \"About 
You can put this solution on YOUR website!
let x denote the number of nickels present in the vending machine
\n" ); document.write( "the number of dimes is 5 more than twice the number of nickels
\n" ); document.write( "therefore the number of dimes present in the vending machine is 2x + 5 \r
\n" ); document.write( "\n" ); document.write( "the total amount in the vending machine is $4.50 which is 450 cents\r
\n" ); document.write( "\n" ); document.write( "a dime is 10 cents and nickel is 5 cents\r
\n" ); document.write( "\n" ); document.write( "the amount from the dimes is (2x + 5)*10
\n" ); document.write( "the amount from nickels is x*5\r
\n" ); document.write( "\n" ); document.write( "(2x+5)*10 + 5*x = 450
\n" ); document.write( "25x + 50 = 450
\n" ); document.write( "25x = 400
\n" ); document.write( "x = 16
\n" ); document.write( "the number of nickels is 16
\n" ); document.write( "the number of dimes is 2*16 + 5 = 37
\n" ); document.write( "
\n" );