class Trig { public static void main (String args[]) { double d; d = Math.sin (45.0); System.out.println ("The sine of 45 degrees = " + d); d = Math.cos (60.0); d = Math.tan (60.0); d = Math.asin (60.0); d = Math.acos (60.0); d = Math.atan (60.0); } }