This function works on real or complex numbers only.
The function will return the value of sine for the given angle ( where the angle must be in radians to the proper value )
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.
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.
lecture seven
examples plot1.f, trig.f, and trapz1.f
Written by Jason Wehr : jcw142@psu.edu and Maintained by John Mahaffy : jhm@cac.psu.edu