summaryrefslogtreecommitdiff
path: root/2465/CH3/EX3.4/Examlpe_4.sce
blob: 2a9fb99e142d0bee4347a2e8058d7007fd63ce8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//Chapter-3,Example 4,Page 57
clc;
close;

m=234  // atomic mass of uranium

M_0 = 4   // initial mass of uranium

t_half= 2.48*10^5  // half life of uranium 

t= 62000*365*24*3600  // time period

lamda=8.88*10^-14

M= M_0*exp(-lamda*t)

printf('Mass of uranium left unchanged is %.3f mg', M)

N= (M*6.023*10^20)/m

A= lamda*N

printf(' \n activity of uranium is %.3f disintigrations/sec ', A)