Energy Formula In Atomic Structure