Total Energy Formula Atomic Structure