Total Gaussian curvature of a surface-of-revolution strip (source code)

= Total Gaussian curvature of a surface-of-revolution strip

For $a\leq x\leq b$, the curvature formula is an exact derivative and gives
$$
\int K\,dA
=-2\pi\left[
\frac{f'}{\sqrt{1+f'^2}}
\right]_{a}^{b}.
$$