[UP]


Manual Reference Pages  - sin (3)

NAME

sin(3f) - [FORTRAN:INTRINSIC:TRIGONOMETRIC] Sine function

CONTENTS

Syntax
Description
Arguments
Return Value
Example
Standard
Class
See Also

SYNTAX

result = sin(x)

DESCRIPTION

sin(x) computes the sine of X.

ARGUMENTS

X - The type shall be REAL or COMPLEX.

RETURN VALUE

The return value has same type and kind as X.

EXAMPLE

Sample program:

    program demo_sin
      real :: x = 0.0
      x = sin(x)
    end program demo_sin

STANDARD

[[FORTRAN 77]] and later

CLASS

[[Elemental function]]

SEE ALSO

[[asin]], [[cos]], [[tan]]


sin (3) March 19, 2019
Generated by manServer 1.08 from c3ddccb3-df9d-4861-b887-9080be849cce using man macros.