There are 7 dimes and 9 quarters in his pocket.
If there are 16coins in total, hence;
If hamid has $2. 95 in dimes and quarters, this is expressed as:
From equation 1
Substitute equation 3 into 2 to have:
0.1x + 0.25y = 2.95
0.1(16-y) + 0.25y = 2.95
1.6 - 0.1y + 0.25y = 2.95
1.6 + 0.15y = 2.95
0.15y = 1.35
y = 1.35/0.15
y = 9
Since x + y = 16
x = 16 - y
x = 16 - 9
x = 7
Hence there are 7 dimes and 9 quarters in his pocket.
Learn more on simultaneous equations here: https://brainly.com/question/16863577