Answer: she invested $4000 in fund B.
Explanation:
Let x represent the amount invested in fund B.
The $2000 that she invested in fund A returned a 4% profit. It means that the profit made from fund A is
4/100 × 2000 = 0.04 × 2000 = 80
The amount that she invested in fund b returned B 1% profit. It means that the profit made from fund B is
1/100 × x = 0.01x
if both funds returned a 2% profit, it means that the profit made from both accounts is
2/100 × (2000 + x) = 0.02(2000 + x)
= 40 + 0.02x
The expression becomes
80 + 0.01x = 40 + 0.02x
0.02x - 0.01x = 80 - 40
0.01x = 40
x = 40/0.01
x = 4000