From b85c3dcd33ce10f6a0c75dfda2d50554e4fffd68 Mon Sep 17 00:00:00 2001 From: orosmatthew Date: Thu, 2 May 2024 17:14:27 -0400 Subject: [PATCH] Add comment to numerov-2 --- numerov-2-ani.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/numerov-2-ani.py b/numerov-2-ani.py index 566a091..2e5c78e 100644 --- a/numerov-2-ani.py +++ b/numerov-2-ani.py @@ -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