Python and physics: Harmonic oscillator graphically up to n= 4?
I'd like to review the lectures I took at university. We were on the topic of harmonic oscillators, and I'd like to create a plot that looks something like this. However, up to n=4. So once the stationary (psi_n(x)) and once the probability of residence |psi_n(x)|^2 The parable is meant to represent the potential. The…