sin Summary Get the sine of a number. Usage public static double sin(double x) Returns The sine of the number. The returned value will be between -1 and 1 (inclusive). Parameters x The number to get the sine of (expressed in radians). Description Returns the sine for a number (expressed in radians). Examples Basic Usage 12345import System; Console.log(Math.sin(0)); // 0Console.log(Math.sin(Math.PI)); // 1.2246467991473532e-16Console.log(Math.sin(0.5)); // 0.479425538604203 Share HTML | BBCode | Direct Link