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++ Language Reference - sin http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   sin

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

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

   Example
   #include <stdio.h>
   #include <math.h>
   main()
   {
   double x = 4.3,d;
        d = sin(x);
        printf("The sine of (%d) is (%d)\n",x,d);
        d = sinh(x);
        printf("The hyperbolic sine of (%d) is (%d)\n",x,d);
   }

   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