1 2 3 4 5 6 7 8 9 10 11 12 13
clear //Given a=2*10**12 b=9.0*10**12 T=80 //Calculation // c=log(a/b) t=-(c*T)/0.693 //Result printf("\n Time required is %0.0f second",t)