Answer: 17 dimes or 23 nickels
Explanation:
Let's use two variables to represent the number of nickels and dimes that Daniel has. Let: n be the number of nickels, and d be the number of dimes.
We can write two equations based on the information given in the problem:
n + d = 40 (because Daniel has a total of 40 coins)
0.05n + 0.1d = 2.85 (because the total value of the coins is $2.85)
To solve for n and d, we can use the first equation to express one variable in terms of the other, and substitute that expression into the second equation:n + d = 40
n = 40 - d0.05n + 0.1d = 2.85
0.05(40 - d) + 0.1d = 2.85
2 - 0.05d + 0.1d = 2.85
0.05d = 0.85
d = 17
So Daniel has 17 dimes. We can substitute this value back into the first equation to solve for n:n + d = 40
n + 17 = 40
n = 23
So Daniel has 23 nickels.
Therefore, Daniel has 23 nickels and 17 dimes.