Monte Carlo Simulations of Radioactivity Using Python
Monte Carlo Simulations of Radioactivity Using Python
Seminar
Used in physical and mathematical problems and are most useful when it
is difficult or impossible to use other approaches.
Monte Carlo methods are useful for simulating systems with many coupled
degrees of freedom, such as fluids, disordered materials, strongly coupled
solids, and cellular structures, interacting particle systems , statistical
physics (Ising model). Evaluation of multidimensional definite integrals
with complicated boundary conditions.
Radioactivity Simulation using Monte
Carlo Methods
What is radioactivity?
The spontaneous decomposition of a nucleus into other nucleus with emission
of radiations is called radioactivity.
In a radioactive source containing a very large number of radioactive nuclei, it is
not possible to predict when any one of the nuclei will decay. Although the decay
time for any one particular nucleus cannot be predicted, the average rate of
decay of a large sample of radioactive nuclei is highly predictable.
Radioactive nuclei that emit α,β, and γ radiations. It is not possible to predict
when any one radioactive nucleus will decay and emit a particle.
Since radioactive materials contains a large number of nuclei, it is possible to
predict the average rate of decay with high probability.
There are a predictable number of decays per second even though it is not
possible to predict which nuclei among the sample will decay.
Simulation of Radioactivity using Monte
Carlo Methods
Algorithm:
Step 1:START
Step 2:Define No /*Total number of nuclei*/
time/*Total time of study*/
dT/*Time step*/
P/*Probability of decay*/
Initialize clock T=0
Step 3:Set Nundecayed=No/*Number of undecayed nuclei equal to No*/
Step 4: Loop: I to Nundecayed
4.1:Generate a random number x
Step 5:If |x-P|<0.01 and T<time:No =No -1
Update Clock:T=T+dt
Step 6:If No >0 and T<time:GOTO Step 3
Else:END
Python Program
Inputs:
Output:
Actual Graph of Radioactive decay
Thank You!