Quantum effects of electric fields and potentials on electron motion: an introduction to theoretical and practical aspects