title: Double sqrt solution in Matlab?
body: <p>I would like to know how can I get both the positive and the negative solution from a sqrt in Matlab.</p>
  
  <p>For example if I have:</p>
  
  <pre><code>sin(a) = sqrt(1-cos(a)^2); 
  </code></pre>