The deformation energy and the six inertial functions of the generalized Bohr Hamiltonian are calculated as functions of quadrupole deformations. For this purpose, we use the macroscopic-microscopic method and the cranking approximation. The deformed Woods-Saxon potential is utilized to obtain the single-particle states. Our calculations are applied to the deficient neutron isotopes of Barium, Xenon and Cerium. In addition, we evaluate the 'dynamic' equilibrium shape and the moments of inertia of the ground state by using a computer code that solves the Bohr Hamiltonian.