Answer:
8%: $1554
21%: $2446
Step-by-step explanation:
This is a simple interest problem.
The simple interest formula is given by:
[tex]E = P*I*t[/tex]
In which E are the earnings, P is the principal(the initial amount of money), I is the interest rate(yearly, as a decimal) and t is the time.
After t years, the total amount of money is:
[tex]T = E + P[/tex].
In this question:
Two earnings, that i am going to call A(8% per year) and B(21% per year).
Two principals, for A i am going to call P and for B it is the rest, so 4000 - P.
A:
One year, so [tex]t = 1[/tex]
8% interest, so [tex]r = 0.08[/tex]
Earnings A.
[tex]A = P*I*t[/tex]
[tex]A = 0.08P[/tex]
B:
21% interest, so [tex]r = 0.21[/tex]
Principal (4000 - P).
[tex]B = P*I*t[/tex]
[tex]B = 0.21*(4000 - P)[/tex]
You'd like to earn exactly $638 in interest each year.
This means that [tex]A + B = 638[/tex]
Then
[tex]B = 638 - A[/tex]
Now we have to solve the following system:
[tex]A = 0.08P[/tex]
[tex]638 - A = 0.21*(4000 - P)[/tex]
So, on the second equation:
[tex]A = 638 - 0.21*(4000 - P)[/tex]
Replacing on the first:
[tex]A = 0.08P[/tex]
[tex]638 - 0.21*(4000 - P) = 0.08P[/tex]
[tex]638 - 840 + 0.21P = 0.08P[/tex]
[tex]0.21P - 0.08P = 840 - 638[/tex]
[tex]0.13P = 202[/tex]
[tex]P = \frac{202}{0.13}[/tex]
[tex]P = 1553.8[/tex]
Rounding up to the nearest integer
P = 1554.
So on A, the 8% interest, you invest $1554.
On B, the 21% interest, you invest 4000 - 1554 = $2446.