Question: Computational Physics project using Matlab, I need the answer for it, but I would like to understand how we can code it and explain it
Computational Physics project using Matlab, I need the answer for it, but I would like to understand how we can code it and explain it with good details because I have to write a journal article about it!!
Consider a radioactive decay problem involving two types of nuclei, A and B, with populations NA(t) and NB(t). Suppose that type A nuclei decay to form type B nuclei, which then also decay.
This dual decay is described by the following differential equations:
dNA/ dt = NA/ A
dNB/ dt = NA/ A NB/ B
where A and B are the decay time constants for each type of nucleus.
First, normalize this set of equations. You will find that the normalization is very simple. Use the Euler method to solve these coupled equations numerically for NA(t) and NB(t) as a function of time. To avoid having to assign too many numerical values, use NA(0) = 100,NB(0) = 10, and A = 1 as the unit of time. Then, obtain the analytical solutions for this system of differential equations by using either the paper-and-pencil method or Mathematica.
Compare your analytical solution with the numerical one. Explore what controls the stability and accuracy of your numerical solution. Describe your findings in your journal article with plots to back up your conclusions.
Examine the three different cases for relative Aand B.
(a) A > B
(b) A =B
( (c) A<B
Explore the different behavior of these three cases and when possible highlight the physics controlling this behavior. In particular, try to interpret the short and long time behaviors for different values of the ratio A/B. Write up your findings in your journal article, using plots of these three cases to back up your findings. Make sure to include the exact solutions also in your plot to show that the numerical solutions are accurate.
Part II
Consider again the same problem as in Part I, but now suppose that nuclei of type A decay into the ones of type B, while nuclei of type B decay into the ones of type A. Strictly speaking, this is not a decay, since it is possible for the type B nuclei to turn back into type A nuclei. A better analogy would be a resonance in which a system can tunnel or move back and forth between two states A and B which have equal energies. The corresponding rate equations are:
dNA/dt= NB/t - NA/t
dNB/dt= NA/t - NB/t
where for simplicity we assume that the two types of decay are characterized by the same constant
. Solve this system of equations numerically for the numbers of nuclei NA(t) and NB(t), with initial conditions NA(0) = 100 and NB(0) = 10, and take = 1 as the unit of time. Show that your numerical results are consistent with the idea that the system reaches a steady state in which NA and NB are constant. In such a steady state, the time derivatives dNA/dt and dNB/dt should vanish.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
