clear //Given t=1500 N=0.01 N0=0.999 //Calculation // T=t*log(N)/log(0.5) T1=t*log(N0)/log(0.5) //Result printf("\n (i) Years will reduce to 1 centigram is %0.1f years",T) printf("\n (ii) Years will lose 1 mg is %0.2f years",T1)