StrictMath cos() Method in Java with Examples
All methods of java.lang.StrictMath class : Set 1, Set 2The java.lang.StrictMath.cos() is an inbuilt method in Java which is used to return the cosine value of a given angle. The method returns NaN when the given argument is NaN or infinity.Syntax: public static double cos(double num) Parameters: Th