Paste Search Dynamic
Recent pastes
Value of sin(1/x)
  1. #include <stdio.h>
  2. #include <math.h>
  3. int main()
  4. {
  5.     double x,m;
  6.     printf("Input value=n");
  7.     scanf("%lf",&x);
  8.     if(x!=0)
  9.     {
  10.       m=sin(1/x);
  11.       printf("Value of sin(1/x) is %0.4lft",m);
  12.     }
  13.     else
  14.     printf("Value of sin(1/x) is Not possible");
  15. }
  16.  
Parsed in 0.002 seconds