\[\left.p(s)\left(\frac{\partial\mathcal{K}}{\partial s}w(s)-\mathcal{K}\frac{%
\mathrm{d}w(s)}{\mathrm{d}s}\right)\right|_{C_{2}}=0,\]