The energy stored in the magnetic field of solenoid 30 cm long and 3 cm diameter wound with 1000 turns of wire carrying a current of 10 A is