Cos Function [Runtime]/text/sbasic/shared/03080102.xhpSun Microsystems, Inc.converted from old format - fpeCos functionCos Function [Runtime]Calculates the cosine of an angle. The angle is specified in radians. The result lies between -1 and 1.Using the angle Alpha, the Cos-Function calculates the ratio of the length of the side that is adjacent to the angle, divided by the length of the hypotenuse in a right-angled triangle.Cos(Alpha) = Adjacent/HypotenuseSyntax:Cos (Number)Return value:DoubleParameters:Number: Numeric expression that specifies an angle in radians that you want to calculate the cosine for.To convert degrees to radians, multiply degrees by pi/180. To convert radians to degrees, multiply radians by 180/pi.degree=(radian*180)/piradian=(degree*pi)/180Pi is here the fixed circle constant with the rounded value 3.14159...