Suppose that a nonnegative function $y=f(x)$ has a continuous first derivative on $[a, b]$. Let $C$ be the boundary of the region in the $x y$-plane that is bounded below by the $x$-axis, above by the graph of $f$, and on the sides by the lines $x=a$ and $x=b$. Show that
$$
\int_a^b f(x) d x=-\oint_C y d x
$$