#include #include #include int main() { float a = -3.14, b = 3.14, x = a,y,h, = 0.2; while (x<=b) { if(sin(x) > 0.2)y = x*x+1; else y = pow(1/tan(x),2); printf("y(%f\n) = %f",x,y); x += h; } system("PAUSE"); return 0; }