Problem:
Find the jacobian of the vector valued function $\begin{pmatrix} f(x,y,z)\\ g(x,y,z) \\ h(x,y,z)\end{pmatrix}$ where $f(x,y,z) = \cos ^{-1}(x-z)$, $g(x,y,z) = y^3$, and $h(x,y,z) = \tanh \left(\frac{z}{y}\right)$
from sympy import *
from sympy.abc import x, y, z

f = acos(x-z)
g = y**3
h = tanh(z/y)
X = Matrix([f, g, h]) 
print(X.jacobian((x, y, z)))
