1. 程式人生 > >java中math類方法之數學運算(pow,exp,三角函式,指數)

java中math類方法之數學運算(pow,exp,三角函式,指數)

static double  sin(double a ) : 返回角的三角正弦

static  double cos(double a)  : 返回角的三角餘弦

static  double tan(double  a)  : 返回角的三角正切

static  double asin(double a) : 返回角的反正弦

static  double acos(double a)  : 返回角的反餘弦

static  double atan(double a)  : 返回角的反正切

static  double toRadians(double a) : 將角轉換為弧度

static  doueble toDegrees(double a) : 將弧度轉化為角