document.write( "Question 151570: A vending machine will accept nickels and dimes only. The attendant checks the machine and finds a total of 42 coins whose value is $3.40. How many coins of each type were there? \n" ); document.write( "
Algebra.Com's Answer #111462 by checkley77(12844)\"\" \"About 
You can put this solution on YOUR website!
D+N=42 OR D=42-N
\n" ); document.write( ".10D+.05N=3.40
\n" ); document.write( ".10(42-N)+.05N=3.40
\n" ); document.write( "4.20-.10N+.05N=3.40
\n" ); document.write( "-.05N=3.40-4.20
\n" ); document.write( "-.05N=.80
\n" ); document.write( "N=-.80/-.05
\n" ); document.write( "N=16 NUMBER OF NICKLES.
\n" ); document.write( "42-16=26 NUMBER OF DIMES.
\n" ); document.write( "PROOF:
\n" ); document.write( ".10*26+.05*18=3.40
\n" ); document.write( "2.60+.80=3.40
\n" ); document.write( "3.40=3.40
\n" ); document.write( "
\n" ); document.write( "
\n" );