Fermi Energy Formula in Shell Model