She should invest $30000 in the 9% fund and $10000 in the 13% fund.
Explanation
Suppose, the amount of investment at 9% rate is [tex]x[/tex] dollar.
As the total amount of investment is $40000 , so the investment at 13% rate will be: [tex](40000-x) dollar[/tex]
So, the amount of earnings per year from 9% fund [tex]= 0.09x[/tex] dollar
and the amount of earnings per year from 13% fund [tex]= 0.13(40000-x)[/tex] dollar.
Given that, the total earnings per year is $4000. So the equation will be......
[tex]0.09x+0.13(40000-x)=4000\\ \\ 0.09x+5200-0.13x=4000\\ \\ -0.04x=4000-5200\\ \\ -0.04x= -1200\\ \\ x= \frac{-1200}{-0.04}=30000[/tex]
So, the amount of investment at 9% fund is $30000 and the amount of investment at 13% fund = ($40000- $30000)= $10000