blob: 25ca34d73572e4d71c1d1c6cb273ff7e2253914e (
plain)
1
2
3
4
5
6
7
8
|
//Chapter 5, Example 5.4, Page 127
clc
clear
//Time takes for the activity of daughter is within 5% of that of parent
t = -log(1-0.95)/(1.083*10^-2)
printf("\n Time = %f h ",t);
printf("\n Time = %f d ",t/24);
//Answer may vary due to round off error
|