title: Partial derivatives in Julia
body: <p>I'm trying to numerically solve a nonlinear system of equations in Julia. I'm using Newthon method. The only thing I don't know how to do, is to compute an Jacobian matrix.  So far I couldn't find the function to compute partial derivatives.</p>
  
  <p>My system:</p>
  
  <pre><code>f(x1, x2) = 2*x2^2+x1^2
  g(x1, x2) = (x1-1)^2 + (x2-1/2)^2
  </code></pre>
  
  <p>Thanks for your support,
  Best regards,
  Szymon.</p>