sin()

Usage

sin(angle)
                                                                                                

Description

Math function (Lingo only); calculates the sine of the specified angle. The angle must be expressed in radians as a floating-point number.

In JavaScript syntax, use the Math object’s sin() function.

Parameters

angle Required. Specifies the angle.

Example

This statement calculates the sine of pi/2:

put sin (PI/2.0)
-- 1

Назад

 

Hosted by uCoz