Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ 3.0r4 - <b>sin</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
sin

Usage

   #include <math.h>
   double sin(double x);

   ANSI

Description

   sin returns the sine of x where x is in radians.

Example 

   #include <stdio.h>
   #include <math.h>
   #include <stdlib.h>

   int main()

   {
       double x = 4.3,d;
       d = sin(x);
       printf("The sine of (%f) is (%f)\n",x,d);
       d = sinh(x);
       printf("The hyperbolic sine of (%f) is (%f)\n",x,d);
       return EXIT_SUCCESS;
   }

Return Value

   Returns the sine of the argument x.





Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson