Solenoid magnetic field energy

$$W = \frac{B\cdot H\cdot V}{2}$$
Find   It is known that:
      =