The amount invested in the account that yields 7% interest is $4000.
The amount invested in the account that yields 12% interest is $1000.
<h3>What are the linear equations that represent the question?</h3>
a + b = 5000 equation 1
0.07a + 0.12b = 400 equation 2
Where:
a = amount invested in the account that yields 7% interest.
b = amount invested in the account that yields 12% interest.
<h3>How much is invested at each rate?</h3>
Multiply equation 1 by 0.07
0.07a + 0.07b = 350 equation 3
Subtract equation 3 from equation 2
0.05b = 50
b = 50 / 0.05
b = 1000
Subtract 1000 from 5000: 5000 - 1000 = 4000
To learn more about linear functions, please check: brainly.com/question/26434260
#SPJ1