A man has coins in his pocket, all of which are and . If the total value of his change is . How many and how many does he have?
Step-1: Form a pair of linear equations:
Given that,
Let the number of be and the number of be
Then, according to the question
As and
So,
Step-2: Find the number of and :
Solve and to find the value of and
From , we get;
Substitute the above value of in ,
Now substitute in , we get;
Hence, he has and .