anon606

Untitled

Oct 7th, 2012
82
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 x,y; 
  8.     printf("     x|     y");
  9.     for (x = -1.7; x <= 1.7; x+=0.2)
  10.     {
  11.         y = tan(x)*tan(x)*sqrt(5.1*x*x)/pow(x, 4);
  12.         printf("%5f|%5f", x, y);
  13.     }
  14.     getch();
  15. }
Advertisement
Add Comment
Please, Sign In to add comment