anon606

Untitled

Oct 7th, 2012
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.24 KB | None | 0 0
  1. #include<stdio.h>
  2. #include<conio.h>
  3. #include<math.h>
  4.  
  5. void main()
  6. {
  7.     float a, x,y;  
  8.     printf("x = \n");
  9.     scanf("%f", &x);
  10.     for (y = -5.6; y <= 1.8; y+=0.2)
  11.     {
  12.         a = (3+sin(y))/(1+x*x*abs(y-tan(y)));
  13.         printf("%f",a);
  14.     }
  15.     getch();
  16. }
Advertisement
Add Comment
Please, Sign In to add comment