Calculates the flux (line/surface integration over a vector field) of a parametric curve or a parametric surface through a 2D or 3D vector field, respectively.
The vector field
The function
The lower t-bound (for both 2D and 3D)
The upper t-bound (for both 2D and 3D)
Optional
The lower s-bound (only for 3D)
The upper s-bound (only for 3D)
const field = Chalkboard.vect.field((x, y, z) => x, (x, y, z) => y, (x, y, z) => z);const surface = Chalkboard.real.define((t, s) => t, (t, s) => s, (t, s) => 1);const flux = Chalkboard.calc.fnds(field, surface, 0, 1, 0, 1); // Computes the surface flux Copy
const field = Chalkboard.vect.field((x, y, z) => x, (x, y, z) => y, (x, y, z) => z);const surface = Chalkboard.real.define((t, s) => t, (t, s) => s, (t, s) => 1);const flux = Chalkboard.calc.fnds(field, surface, 0, 1, 0, 1); // Computes the surface flux
Calculates the flux (line/surface integration over a vector field) of a parametric curve or a parametric surface through a 2D or 3D vector field, respectively.