Let the required number of years be x
Simple Interest I = \(\frac{pnr}{100}\)
Principal P1 = Rs 3000
Rate of interest (r) = 8 %
Time (n1) = n1 years
Simple Interest I1 = \(\frac{3000\,\times\,8\,\times\,n_1}{100}\)
= 240 n1
Principal (P2) = Rs 4000
Rate of interest (r) = 12 %
Time n2 = 4 years
Simple Interest I2 = \(\frac{4000\times12\times4}{100}\)
I2 = 1920
If I1 = I2
240 n1 = 1920
n1 = \(\frac{1920}{240}\)
= 8
∴ The required time = 8 years