Calculate the energies of the n=1,n=2, and n=3 levels for an electron in a box with a length of 310 pm .

An electron confined to a one-dimensional box has energy levels given by the equation En=n2h2/8mL2 where n is a quantum number with possible values of 1,2,3,…;m is the mass of the particle; and L is the length of the box.