#include #include int main(){ double x,y; scanf("%lf",&x); if(x<0) y=sin(x); else if(x>2) y=x-2; else y=x+5; printf("y=%lf\n",y); return 0;}