title: Solving a non-linear System of Equations in SciLab
body: <p>I am trying to solve the following system of equations in SciLab:</p>
  
  <pre><code>  x^2 + y^2 = 0
    x^4 + y^4 - 10 = 0
  </code></pre>
  
  <p>I defined the following function in SciLab:</p>
  
  <pre><code>function y=f3(x,y)
      y = [x^2+y^2,x^4+y^4-10]
  endfunction
  </code></pre>
  
  <p>That appeared to work. I found that <code>f3(1,1)</code> is:    <code>2.  -8.</code>
  So I then ran the following:</p>
  
  <pre><code>fsolve([0,0], f3)
  </code></pre>
  
  <p>and I got:</p>
  
  <pre><code>fsolve: exception caught in 'fct' subroutine.
  at line     2 of function f3
  in builtin                fsolve
  
  Undefined variable: y
  </code></pre>
  
  <p>I then defined the function <code>fct</code> as follows:</p>
  
  <pre><code>function y=fct(x,y)
      y = [2*x+2*y, 4*x^3+4*y^3]
  endfunction
  </code></pre>
  
  <p>I then ran the command:</p>
  
  <pre><code>fsolve([0,0], f3, fct)
  </code></pre>
  
  <p>and that produced the following message:  </p>
  
  <pre><code>fsolve: exception caught in 'jac' subroutine.
  at line     2 of function f3
  in builtin                fsolve
  
  Undefined variable: y
  </code></pre>
  
  <p>Any additional comments? What am I doing wrong?</p>