David invests $\$7000$ in two different accounts. The first account paid 4 %, the second account paid 8 % ininterest. At the end of the first year he had earned $\$476$ in interest. How much was in each account?
Two amounts x and 7000- x
.04 x + .08 (7000 -x) = 476 solve for 'x' the 4% amount the 8% other amount is 7000 - x