sin, cos, tan: Trigonometric functions

static double acos(double a)
Returns the arc cosine of a value.
static double asin(double a)
Returns the arc sine of a value.
static double atan(double a)
Returns the arc tangent of a value.
static double atan2(double y, double x)
Returns the angle theta.
static double cos(double a)
Returns the trigonometric cosine of an angle.
static double cosh(double x)
Returns the hyperbolic cosine of a double value.
static double sin(double a)
Returns the trigonometric sine of an angle.
static double sinh(double x)
Returns the hyperbolic sine of a double value.
static double tan(double a)
Returns the trigonometric tangent of an angle.
static double tanh(double x)
Returns the hyperbolic tangent of a double value.

public class Main {
  public static void main(String[] args) {

    System.out.print(Math.sin(1));
  }
}

The output:


0.8414709848078965
Home 
  Java Book 
    Essential Classes  

Math:
  1. Math class
  2. Constant E and PI
  3. Get the absolute value
  4. sin, cos, tan: Trigonometric functions
  5. Cube root and square root
  6. Ceilling and flooring value
  7. Copy sign
  8. Raise the power
  9. Get exponent
  10. sqrt(x2 +y2)
  11. IEEE remainder
  12. logarithm
  13. Max, min value
  14. Next value
  15. Math Random
  16. Round to int to double
  17. Round a value to integer
  18. value * 2^ scaleFactor
  19. Get the sign
  20. Degree to Radian, and Radian to Degree
  21. Returns the size of an ulp of the argument