SHOW:
|
|
- or go back to the newest paste.
| 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);
|
| 12 | + | printf("%5f|%5f\n", x, y);
|
| 13 | } | |
| 14 | getch(); | |
| 15 | } |