Given:
The total amount is P = $10,000.
The rate of interest is r(1) = 10% 0.10.
The other rate of interest is r(2) = 8%=0.08.
The number of years for both accounts is n = 1 year.
The total interest earned is A = $820.
The objective is to find the amount invested in each account.
Step-by-step explanation:
Consider the amount invested for r(1) as P(1), and the interest earned as A(1).
The equation for the amount obtained for r(1) can be calculated as,

Consider the amount invested for r(2) as P(2), and the interest earned as A(2).
The equation for the amount obtained for r(2) can be calculated as,

Since, it is given that the total interest earned is A=$820. Then, it can be represented as,

On plugging the obtained values in equation (3),

Also, it is given that the total amount is P = $10,000. Then, it can be represented as,

Substitute the equation (3) in equation (4).
![undefined]()