Trigonometric functions

Share it Please
sin(),cos() and tan() are used to calculate sine(),cosine() and tangent values.sinh(),cosh() and tanh() function are used to calculate hyperbolic sine,cosine and tangent.this all function are included in math.h library so we have to add "#include<math.h>".Let us see example for this all....

EXAMPLE:

#include<stdio.h>
#include<conio.h>
#include<math.h>
main()
{
float a=1;
clrscr();
printf("sin 1 is %f",sin(a));
printf("\ncos 1 is %f",cos(a));
printf("\ntan 1 is %f",tan(a));
printf("\ntanh 1 is %f",sinh(a));
printf("\ncosh 1 is %f",cosh(a));
printf("\nsinh 1 is %f",sinh(1));
getch();
}