java程序 基本三角运算(sin.cos.tan
来源:百度知道 编辑:UC知道 时间:2024/09/26 10:32:40
基本三角运算(sin.cos.tan
Math类里有相关方法
利用 Math类的静态方法求
static double sin/cos/tan(double d);
就是 Math.sin(d) Math.cos(d) Math.tan(d)
可以求出。。。。
去API的java.lang包里面找Math类里有那三种静态方法。
Math.sin(d) Math.cos(d) Math.tan(d)