pub fn expectation_p(psi: &WaveFunction1D, hbar: f64) -> f64Expand description
Expectation value of momentum:
= -i hbar integral psi* dpsi/dx dx.
pub fn expectation_p(psi: &WaveFunction1D, hbar: f64) -> f64Expectation value of momentum:
= -i hbar integral psi* dpsi/dx dx.