Math: cos(double doubleValue)
/* * Output: cos = 0.9999451693655121 */ public class MainClass { public static void main(String args[]) { double radians = 0.60 * Math.PI/180; System.out.println("cos = " + Math.cos(radians)); } }