Answer:
Amount invested at 8% is $9000 and amount invested at 18% is $21000.
Step-by-step explanation:
Let amount invested at 8% be x.
Let amount invested at 18% be y.
We get the 1st equation as:
[tex]x+y=30000[/tex] ........(1)
We get the second equation as:
[tex]0.08x+0.18(y)=0.15\times30000[/tex]
=> [tex]0.08x+0.18y=4500[/tex]
or getting rid of the decimal by multiplying by 100 on both sides.
[tex]8x+18y=450000[/tex] ........(2)
Multiplying (1) by 8 and subtracting from (2) we get
[tex]10y=210000[/tex]
So, y = 21000
And [tex]x+21000=30000[/tex]
[tex]x = 30000-21000[/tex]
So, x = 9000
Therefore, amount invested at 8% is $9000 and amount invested at 18% is $21000.