Add comment to numerov-2
This commit is contained in:
parent
ca675b83ca
commit
b85c3dcd33
@ -7,7 +7,7 @@ iterations = 60000 # iterations for approximation
|
|||||||
step = 0.0001 # step size for x
|
step = 0.0001 # step size for x
|
||||||
step_sqrd = pow(step, 2) # square of step size
|
step_sqrd = pow(step, 2) # square of step size
|
||||||
|
|
||||||
n = 2
|
n = 2 # three solutions are 1, 2, and 3
|
||||||
epsilon = (n * np.pi) ** 2 / (12 ** 2) # energy level, should be integer n+1/2 for good solutions
|
epsilon = (n * np.pi) ** 2 / (12 ** 2) # energy level, should be integer n+1/2 for good solutions
|
||||||
|
|
||||||
psi = 0.0 # initial value of wave function
|
psi = 0.0 # initial value of wave function
|
||||||
|
Loading…
Reference in New Issue
Block a user