An amount of Rs.15000 was invested in bank A and B at simple interest 15% and 10% pa respectively. If the person earned at total of Rs. 5400 as simple interest in 3 years. The amount invested in bank A and B are respectively
Rs.6000, Rs.9000
Let P is amount invested in bank A
P×15×3100+(15000−P)×10×3100 = 5400
P = 6000