observe below:
\(\displaystyle \iint _{\Sigma }(\nabla \times \mathbf {F} )\cdot \mathrm {d} \mathbf {\Sigma } =\oint _{\partial \Sigma }\mathbf {F} \cdot \mathrm {d} \mathbf {\Gamma }\)
\(\displaystyle \iint _{\Sigma }(\nabla \times \mathbf {F} )\cdot \mathrm {d} \mathbf {\Sigma } =0\)
Note that there may be small differences in LHS and RHS due to numerical inaccuracies.
We approximate the Stokes-theorem computationally using a framework:
$$
\iint_S (\nabla \times \vec{F}) \cdot d\vec{S}
\approx \sum_{u,v} \left[ (\nabla \times \vec{F})(\vec{r}(u,v)) \cdot
\left( \frac{\partial \vec{r}}{\partial u} \times \frac{\partial \vec{r}}{\partial v} \right) \right] \Delta u\, \Delta v
$$
and:
$$
\oint_{\partial S} \vec{F} \cdot d\vec{\Gamma}
\approx \sum_{\partial S} \left[ \vec{F}(\vec{r}(u,v)) \cdot
\left( \frac{\partial \vec{r}}{\partial u} \Delta v + \frac{\partial \vec{r}}{\partial v} \Delta u \right) \right]
$$
\(r_x(u, v)\) =
\(r_y(u, v)\) =
\(r_z(u, v)\) =
\(F_x(x, y, z)\) =
\(F_y(x, y, z)\) =
\(F_z(x, y, z)\) =