Mathematical Equations that lead to electron cloud model