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) = \tanh (x)$, $g(x,y,z) = z$, and $h(x,y,z) = z$
from sympy import *
from sympy.abc import x, y, z

f = tanh(x)
g = z
h = z
X = Matrix([f, g, h]) 
print(X.jacobian((x, y, z)))
