How do you know the number of electrons in the outermost energy level of an atom?

↳Redirected from "How do I change #int_0^1int_0^sqrt(1-x^2)int_sqrt(x^2+y^2)^sqrt(2-x^2-y^2)xydzdydx# to cylindrical or spherical coordinates?"