java.lang.Math.toRadians(double angdeg) java.lang.Math.toDegrees(double angrad) java.lang.Math.ulp(double d) java.lang.Math.toRadians(double angdeg) package com.codingdict; import java.lang.*; public class MathDemo { public static void main(String[] args) { // get two double numbers numbers double x = 45; double y = -180; // convert them in radians x = Math.toRadians(x); y = Math.toRadians(y); // print the hyperbolic tangent of these doubles System.out.println("Math.tanh(" + x + ")=" + Math.tanh(x)); System.out.println("Math.tanh(" + y + ")=" + Math.tanh(y)); } } java.lang.Math.toDegrees(double angrad) java.lang.Math.ulp(double d)