Add comment to numerov-2

This commit is contained in:
orosmatthew 2024-05-02 17:14:27 -04:00
parent ca675b83ca
commit b85c3dcd33

View File

@ -7,7 +7,7 @@ iterations = 60000 # iterations for approximation
step = 0.0001 # step size for x
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
psi = 0.0 # initial value of wave function