title: Using sine, cosine, and tangent in Java
body: <p>I'm working on program that lets the user declare values that they already know (like angles and sides).  The program will use trigonometry to fill in the blanks. I'm using the class <code>java.lang.Math</code> to do this. I have been using these methods:</p>
  
  <pre><code>Math.sin(Double radians)
  Math.cos(Double radians)
  </code></pre>
  
  <p>Both of those methods require that you convert the value from angles to radians, which I've been doing through:</p>
  
  <pre><code>Math.toRadians(Double angle)
  </code></pre>
  
  <p>I'm trying to use the inverse functions of sine and cosine (also known as; sin^-1(), asin(), cos^-1(), or acos()). They have methods in the same class, listed as:</p>
  
  <pre><code>Math.asin(Double num)
  Math.acos(Double num)
  </code></pre>
  
  <p>Do they require conversion? Before you pass the variable that represents the angle, do you need to convert it from angle to radian (like I did earlier)?</p>