# We then pack these into a sympy Matrix, so that we can use the .jacobian () # method, rather than having to take all the partial derivatives manually F = sympy.Matrix ( [x_component, y_component, ...