Let the number of nickels be n
Let the number of pennies be p
As total number of coins given are 25
so n + p = 25 --------(i)
1 nickle = $0.05
1 penny = $0.01
So putting in the values of nickle and penny we get
0.05 n + 0.01 p = 1.01 ------(ii)
From equation (i) we get
n = 25 - p
Putting the value of n in equation (ii)
0.05(25-p) + 0.01 p= 1.01
1.25 - 0.05p + 0.01p = 10.0
-0.04p = -0.24
p=
![(-0.24)/(-0.04)= 6](https://img.qammunity.org/2019/formulas/mathematics/high-school/c78zmwr9c64burbtw9b2h0zs84mc6bz9bm.png)
Hence p = 6
Now putting the value of p in equation (i)
n + 6 = 25
n = 19
So Jamie has a total of 19 nickles and 6 pennies.