Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- #include<conio.h>
- #include<math.h>
- void main()
- {
- float x,y;
- float min = 1000000;
- printf(" x|y\n");
- for (x = -1.7; x <= 1.7; x+=0.2)
- {
- y = tan(x)*tan(x)*sqrt(5.1*x*x)/pow(x, 4);
- if (y < min)
- min = y;
- printf("%7.2f|%7.2f\n", x, y);
- }
- printf("\nMin = %.2f",min);
- getch();
- }
Advertisement
Add Comment
Please, Sign In to add comment