Skip to main content

expectation_p

Function expectation_p 

Source
pub fn expectation_p(psi: &WaveFunction1D, hbar: f64) -> f64
Expand description

Expectation value of momentum:

= -i hbar integral psi* dpsi/dx dx.