Let Principal be P. Rate of interest (R) is 1313%. Let Time (T) be T.
Now, according to the question,
Amount (A)=3×P
∴SI=A−P=3P−P=2P
⇒SI=PRT100
⇒2P=P×40×T3×100
⇒2P×300P×40=T
∴T=15 years