#
Fortran Wiki

sin

## Description

`sin(x)`

computes the sine of `x`

.

## Standard

FORTRAN 77 and later

## Class

Elemental function

## Syntax

`result = sin(x)`

## Arguments

`x`

- The type shall be `real`

or `complex`

.

## Return value

The return value has same type and kind as `x`

.

## Example

```
program test_sin
real :: x = 0.0
x = sin(x)
end program test_sin
```

## See also

asin, cos, tan

Revised on September 19, 2010 10:24:09
by

Jason Blevins
(174.101.53.244)
(463 characters / 0.0 pages)