anon606

Untitled

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