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