Answer:
Amount invested at 8% is $9000 and amount invested at 18% is $21000.
Explanation:
Let amount invested at 8% be x.
Let amount invested at 18% be y.
We get the 1st equation as:
........(1)
We get the second equation as:
![0.08x+0.18(y)=0.15*30000](https://img.qammunity.org/2020/formulas/mathematics/high-school/1vldregdixc8gfuerrtg5z4kp32k3l1ex8.png)
=>
![0.08x+0.18y=4500](https://img.qammunity.org/2020/formulas/mathematics/high-school/t0hi7vrokzhf0rwhypx4mcm0pwjgybn0jw.png)
or getting rid of the decimal by multiplying by 100 on both sides.
........(2)
Multiplying (1) by 8 and subtracting from (2) we get
So, y = 21000
And
![x+21000=30000](https://img.qammunity.org/2020/formulas/mathematics/high-school/1xeb3oomdnub0afxnbc0f8q5bj3fmu2tr6.png)
![x = 30000-21000](https://img.qammunity.org/2020/formulas/mathematics/high-school/57hpxaxmjq6wo3o4o6ddpyfihre3edm00q.png)
So, x = 9000
Therefore, amount invested at 8% is $9000 and amount invested at 18% is $21000.