Solution (source code)

= Solution

$S\prime$ has the same bottom boundary and induced orientation, so Stokes’ theorem makes the answer independent of its shape: $-3\pi a^4/2$.