Question 1130799
----
----
Juan had $P and chose to split the money into two different mutual funds. During the first year, Fund A earned L% interest and Fund B earned H% interest. If he received a total of $G in interest, how much had he invested into each account? 
----
----


x into account A
y into account B


{{{system(x+y=P,Lx/100+Hy/100=G)}}}

-

{{{y=P-x}}}
-
{{{Lx+Hy=100G}}}
{{{Lx+H(P-x)=100G}}}
{{{Lx+HP-Hx=100G}}}
{{{(Lx-Hx)=100G-HP}}}
{{{Hx-Lx=HP-100G}}}
{{{(H-L)x=HP-100G}}}

{{{highlight(x=(HP-100G)/(H-L))}}}


Solve for x and use it to evaluate y.