Electrons are not particles, but have wavelike characteristics.
Schrodinger's equation:
where H= a nasty mathematical operator (the "Hamiltonian")
is used to calculate the probability of an electron being at a certain place.