Problem:
Find the curl of the vector field $f(x,y,z)\uvec{i} + g(x,y,z)\uvec{j} + h(x,y,z)\uvec{k}$ where $f(x,y,z) = \log \left(\frac{y}{x}\right)$, $g(x,y,z) = \frac{x^2}{y^2}$, and $h(x,y,z) = \cos ^{-1}(z)$
from sympy import *
from sympy.vector import *

C = CoordSys3D('C')
x, y, z = C.x, C.y, C.z
f = log((y/x))
g = ((x**2)/(y**2))
h = ((x**2)/(y**2))
print(curl(f * C.i + g * C.j + h * C.k))

