Question 1022702
<pre>
I do not know your money system.  So I'm guessing.

Let the number of 1phps be x
Let the number of 25centavos be y


                      Value      Value
Type       Number       of         of
 of          of        EACH       ALL
coin        coins      coin      coins
-------------------------------------------
1phps        x      1php          1x php
25centavos   y      0.25php    0.25y php
-------------------------------------------
TOTALS       200      -----       95 php

 The first equation comes from the second column.

  {{{(matrix(3,1,Number,of,1phps))}}}{{{""+""}}}{{{(matrix(3,1,Number,of,25centavos))}}}{{{""=""}}}{{{(matrix(4,1,total,number,of,coins))}}}

                 x + y = 200

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

            1x + 0.25y = 95

Get rid of decimals by multiplying every term by 100:

          100x + 25y = 9500

 So we have the system of equations:
           {{{system(x + y = 200,100x + 25y = 9500)}}}.

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

           x + y = 200
               y = 200 - x

Substitute (200 - x) for y in 100x + 25y = 9500

   100x + 25(200 - x) = 9500
    100x + 5000 - 25x = 9500
           75x + 5000 = 9500
                  75x = 4500
                    x = 60 = the number of 1phps.

Substitute in y = 200 - x
              y = 200 - (60)
              y = 140 25centavos.


Edwin</pre>