⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 trigonometricdemo.java

📁 初期JAVA学习非常有用的资料。帮助深入了解API。特别是Applet。
💻 JAVA
字号:
public class TrigonometricDemo {    public static void main(String[] args) {        double degrees = 45.0;        double radians = Math.toDegrees(degrees);        System.out.println("The value of pi is " + Math.PI);        System.out.println("The sine of " + degrees + " is " + Math.sin(radians));        System.out.println("The cosine of " + degrees + " is " + Math.cos(radians));        System.out.println("The tangent of " + degrees + " is " + Math.tan(radians));        System.out.println("The arc sine of " + degrees + " is " + Math.asin(radians));        System.out.println("The arc cosine of " + degrees + " is " + Math.acos(radians));        System.out.println("The arc tangent of " + degrees + " is " + Math.atan(radians));    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -