Plotting the radial wave function of Deuteron in a finite well

AI Thread Summary
To plot the radial wave function of the deuteron in a finite well, numerical solutions for the regions defined by the potential well are necessary. Continuity at the boundary, r=R, requires that both the wave function and its derivative are equal, leading to a root-finding problem represented by A*sin(kr) - D*e^(-κr) = 0. The relationship between k and κ must be determined numerically, with k^2 and κ^2 defined in terms of the potential V0 and energy E. It is essential to evaluate u(r) and its derivative at r=R to ensure accuracy before plotting. The wave function should be expressed in terms of a single constant, either A or D, if normalization is not performed.
TopologyisGeometry
Messages
2
Reaction score
2
Homework Statement
Plot the wave function ##u(r)## as a function of ##r## from 0 to 10 fm. Since ##u##is not normalized, you won't need units on the y axis.
Relevant Equations
$$\frac{-\hbar^2}{2\mu}\frac{d^2u(r)}{dr^2}+V(r)u(r) = Eu(r)$$ Where $$V(r) = \begin{cases}-V_0 \quad r<R\\ 0\quad r>R\end{cases}$$ Which has the solutions previously found to be

$$u(r)=\begin{cases}A\sin(kr)\quad r<R\\ De^{-\kappa r}\qquad r>R\end{cases}$$
To plot ##u(r)## we need to find the solutions for each region. Which is in the relevant equations part. Now, I have to do this numerically. Using python 3.7 I made an ##u## which is filled with zeros and a for loop with if/elseif statement, basically telling it to plot values for whenever ##r<R## and ##r>R##. Here is the plot generated by my simple code

1584374866735.png


Due to continuity at $r=R$ they need to have the same value. Which makes me believe that this is a root finding problem, basically ##A\sin(kr)-De^{-\kappa r}=0## Now I don't know how to implement this onto my code, at first I thought make another elif statement for when ##r==R## to use the roots as the values, how would I go on about this problem? Have I forgotten something?
 
Physics news on Phys.org
You have some prepping to do that it is better done with pencil and paper, not code. At ##r=R##, the wavefunction and its derivative must be continuous. This will give you a relation between ##k## and ##\kappa## which you will have to solve numerically (the root finding part) to find ##k## and ##\kappa## for an assumed numerical value of ##V_0.## Then you can write the unnormalized wavefunction in terms of ##A## or ##D## and plot.
 
kuruman said:
You have some prepping to do that it is better done with pencil and paper, not code. At ##r=R##, the wavefunction and its derivative must be continuous. This will give you a relation between ##k## and ##\kappa## which you will have to solve numerically (the root finding part) to find ##k## and ##\kappa## for an assumed numerical value of ##V_0.## Then you can write the unnormalized wavefunction in terms of ##A## or ##D## and plot.
I found that ##k\cot{kr} = -\kappa## which comes from the fact that we claim ##u(r)## to be continuous everywhere and it's derivate too, then I just divided to get rid of the coefficients, where ##k^2=2\mu(E+V0)/\hbar^2## and ##\kappa^2=2\mu E/\hbar^2## if that's what you're asking ##V0=35MeV## and I found that ##E=-2.223 MeV## This should be everything to plot this right?
 
Before plotting, I would evaluate ##u(r)## and its derivative at ##r=R## to make sure that I did not make any mistakes. Also, if you are not going to normalize ##u(r)##, be sure to use one of the continuity equations in order to write ##u(r)## in terms of single constant, ##A## or ##D##.
 
Thread 'Help with Time-Independent Perturbation Theory "Good" States Proof'
(Disclaimer: this is not a HW question. I am self-studying, and this felt like the type of question I've seen in this forum. If there is somewhere better for me to share this doubt, please let me know and I'll transfer it right away.) I am currently reviewing Chapter 7 of Introduction to QM by Griffiths. I have been stuck for an hour or so trying to understand the last paragraph of this proof (pls check the attached file). It claims that we can express Ψ_{γ}(0) as a linear combination of...
Back
Top