Schrodinger Equation, Finite Difference, Quantum Machanics, Numerical Methods, Python.
Vpot(x): return x**2 enter computational parameters a = float(input('enter lower limit of the domain: ')) b = float(input('enter upper limit of the domain: ')) N = int(input('enter number of grid points: ')) define x grid and step size x = np.linspace(a,b,N) h = x[1]-x[0] create kinetic energy