#include #include using namespace std; //use units #include #include #include #include #include using namespace boost::units; using namespace boost::units::si; using namespace boost::units::si::constants::codata; //use units end double psi( int n // n - order of wavefunction , const quantity m // m - mass of particle , const quantity omega // oscillator frequency ) { typedef derived_dimension::type reciprocal_area; quantity E ( hbar*omega*(n+0.5) ); // energy of oscillator quantity lambda ( 2.0*m*E / (hbar*hbar) ); // quantity alpha ( m*omega/root<2>(hbar) ); double lambda_per_alpha ( lambda / alpha ); complex i(0,1); complex a(0); } int main() { return false; }