#include #include int main(void) { float a = 2.5, b = 0.4, t = -1, w; while (t <= 1) { if (t < 0.1) w = sqrt(a*t*t + b*sin(t) + 1); else if (t > 0.1) w = sqrt(a*t*t + b*cos(t) + 1); else w = a*t + b; printf("%f\n",w); t += 0.2; } return 0; }