Semiclassical computations of energy levels