Sharedsupport / 2015-02-06-190915-3d.sagewsOpen in CoCalc
Authors: Harald Schilly, ℏal Snyder, William A. Stein
License: GNU General Public License v3.0
Description: Examples for support purposes.
Plot vector field F(x,y,z)\vec{F}(x,y,z)
i+\vec{i} +
j+\vec{j} +
k\vec{k}
Box:
x\leq x \leq
,,\quad
y\leq y \leq
,,\quad
z\leq z \leq
Plot parametric curve CC given by r(t)\vec{r}(t) for
t\leq t \leq
i+\vec{i} +
j+\vec{j} +
k\vec{k}
Plot parametric surface SS given by r(u,v)\vec{r}(u, v) for
u\leq u \leq
,,\quad
v\leq v \leq
i+\vec{i} +
j+\vec{j} +
k\vec{k}
Axes
Origin
Unit normals to SS
Try to compute flux/circulation
Interact: please open in CoCalc

Notes

  • If you have vanishing denominators and things don't work, try to change xyzxyz-limits a little, e.g. F=(1/x,0,0)\vec{F} = (1/x, 0, 0) does not work for xx limits [1,1][-1,1], but [1.1,1][-1.1, 1] is OK.
  • To work with 2D curves and fields (and to compute the flux across CC), set zz-components to zero.