summaryrefslogtreecommitdiff
path: root/3769/CH25/EX25.18/Ex25_18.sce
blob: 57dd880fdca49616ad53101b209afbda88796bb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
clear
//Given
T=30.0

//Calculation
//
l=0.693/T
T1=1/l
t=log(4)/l
t1=log(8)/l

//Result
printf("\n (i) average life is %0.4f  /day",l)
printf("\n (ii) The time taken for 3/4 of the original no. to disintegrate is %0.2f  days",T1)
printf("\n (iii) Time taken is %0.0f  days",t)
printf("\n (iv) Time taken is %0.0f  days",t1)