\[\frac{\mathrm{d}w}{\mathrm{d}z}+a^{2}w^{2}=1,\]