blob: 371a55fec39fed1232c10183ef3b2d273e61b0d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
//Chapter-5,Example 5,Page 123
clc();
close();
t_half=17 //half life period
k=0.693/t_half //rate constant
a=100
x= 75
t=(2.303/k)*log10(a/(a-x))
printf('the rate constant is k = %.5f /min',k)
printf('\n the time taken t = %.1f min', t)
|