Modelling Radioactive Decay

Radioactive decay is the process by which an unstable atomic nucleus emits radiation such as an alpha particle, beta particle or gamma particle with a neutrino. This process is a good example of exponential decay.
Consider the case of
In the case of element
the first decay is represented by the above equation however we need a new differential equation for the second decay of
The creation rate of the stable
For this model, the following values were assumed:
Command | Value | Description |
---|---|---|
1.1 hours | time for half of | |
9.2 hours | time for half of | |
100 | number of atoms of | |
0 | number of atoms of | |
0 | number of atoms of | |
50 hours | time for full simulation |
Analytical Solutions
This approach included solving the first three equations by integrating both sides to find equations for
or, the decay constant can be represented as
This formula is later used to calculate
Similarily, solving the second equation we get
and solving the third we get
where values of
Numerical Solutions
Here, the finite difference approach was used in computing the values for
Applying this to the first three differential equations we get
re-arranging,
Lastly, the above equations just need to be converted into numpy arrays.
na[i] = (- lambda_list[0] * na[i-1] * t_del) + na[i-1]
nb[i] = ((-lambda_list[1]*nb[i-1]) + (lambda_list[0]*na[i-1]))*t_del
+ nb[i-1]
nc[i] = (lambda_list[1]*nb[i-1]*t_del) + nc[i-1]
To iteratively acheive this, these were then programmed as a function
