京东自营 618 + 国补 iPhone 历史最低价          领 618 红包,最高25618元

Java 使用Math类中的三角函数

使用Math类中的三角函数
实例源码:
源代码:
执行
执行中...
执行结果:
  • The value of pi is 3.1416
  • The sine of 45.0 degrees is 0.7071
  • The cosine of 45.0 degrees is 0.7071
  • The tangent of 45.0 degrees is 1.0000
  • The arcsine of 0.7071 is 45.0000 degrees
  • The arccosine of 0.7071 is 45.0000 degrees
  • The arctangent of 1.0000 is 45.0000 degrees
  •  
    本文系作者在时代Java发表,未经许可,不得转载。如有侵权,请联系nowjava@qq.com删除。

    编辑于

    关注时代Java

    关注时代Java