Return | Method | Summary |
---|---|---|
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
java2s.com | Contact Us | Privacy Policy |
Copyright 2009 - 12 Demo Source and Support. All rights reserved. |
All other trademarks are property of their respective owners. |