Solenoid magnetic field energy

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