Magnetic Energy Of A Solenoid