The flux of
is given by the surface integral
where
is the given square region, which we can parameterize by
with
and
. The area element is
where
is the normal vector to
. Depending on the orientation of
, this vector could be
or
; either way, the integral reduces to