Previous Up Next

2.50.5  Rotationnal : curl

curl takes two arguments : a 3-d vector field depending on 3 variables.
curl returns the rotationnal of the vector, defined by:

curl([A,B,C],[x,y,z])= [∂ C/∂ y−∂ B/∂ z, ∂ A/∂ z−∂ C/∂ x, ∂ B/∂ x−∂ A/∂ y]

Note that n must be equal to 3.
Input :

curl([x*z,-y^2,2*x^y],[x,y,z])

Output :

[2*x^y*log(x),x-2*y*x^(y-1),0]

Previous Up Next