Question 1026948

<pre>
Let the number of nickels be x
Let the number of dimes be y


                      Value      Value
Type       Number       of         of
 of          of        EACH       ALL
coin        coins      coin      coins
-------------------------------------------
nickels       x      $0.05       $0.05x
dimes         y      $0.10       $0.10y
-------------------------------------------
TOTALS       45      -----       $3.65

The first equation comes from the "Number of coins" column.

  {{{(matrix(3,1,Number,of,nickels))}}}{{{""+""}}}{{{(matrix(3,1,Number,of,dimes))}}}{{{""=""}}}{{{(matrix(4,1,total,number,of,coins))}}}

                   x + y = 45

 The second equation comes from the last column.
  {{{(matrix(4,1,Value,of,ALL,nickels))}}}{{{""+""}}}{{{(matrix(4,1,Value,of,ALL,dimes))}}}{{{""=""}}}{{{(matrix(5,1,Total,value,of,ALL,coins))}}}

           0.05x + 0.10y = 3.65

Get rid of decimals by multiplying every term by 100:

                5x + 10y = 365

 So we have the system of equations:
               {{{system(x + y = 45,5x + 10y = 365)}}}.

We solve by substitution.  Solve the first equation for y:

                    x + y = 45
                        y = 45 - x

Substitute (45 - x) for y in 5x + 10y = 365

          5x + 10(45 - x) = 365
           5x + 450 - 10x = 365
                -5x + 450 = 365
                      -5x = -85
                        x = 17 = the number of nickels.

          Substitute in y = 45 - x
                        y = 45 - (17)
                        y = 28 dimes.

Checking:  17 nickels is $0.85 and 28 dimes is $2.80
            That's 45 coins.
            And indeed $0.85 + $2.80 = $3.65
Edwin</pre>