Given:
The number of coins =30.
The total value of the coins in the jar is $ 4.70.
We know that quarter is worth 25 cents, nickels is worth 5 cents and a dollar is worth 100 cents.
Let x be the number of coins of the quarter.
The value of quarter =25x.
Let y be the number of coins of the nickles.
The value of nickels =5y.
Conver the dollar into cents by multiplying 100, we get
Substitute x=30-y in this equation to find the value of y.
Subtracting 750 from both sides, we get
Dividing both sides by (-2), we get
Substitute y=14 in x=30-y to find the value of x.
We get x=16.
Hence the number of coins of the quaters = 16 and the number of coins of the nickels =14.