## SIN

### Function Type:

This function works on real or complex numbers only.

### Function Purpose:

The function will return the value of sine for the given angle ( where the angle must be in
radians to the proper value )

### Required Arguments:

sin (**x**)

Where **x** must be an argument of type REAL or COMPLEX.

**Note: **The angle x must be in radians for the function to output the value of sine that you
want.

### Results:

To get the value of sine for a thirty degree angle:
pi = 3.1415926
x = 30*pi/180 (Remember you need the angle in radians)
y = sin(x)
Which will naturally give you the result that y equals 0.5.

### For more information and examples see:

lecture seven

examples plot1.f, trig.f, and trapz1.f

## Up** one level / Home**

**
**

Written by Jason Wehr : jcw142@psu.edu and Maintained by John Mahaffy :
jhm@cac.psu.edu