Solution (source code)

= Solution

For a <velocity potential>, $u=\nabla\phi$. Writing $\theta=x-t$ gives
$$
\boxed{u=(\varepsilon y\cos\theta,\varepsilon\sin\theta)}.
$$
Its <divergence> is
$$
\boxed{\nabla\mathbin{\cdot}u
=-\varepsilon y\sin\theta}.
$$
\b[Thus this potential flow is generally compressible.]