How To Calculate The Energy