Energy In A Magnetic Field