0_0_33862419_30775.cpp: In function 'int main()': 0_0_33862419_30775.cpp:46:36: error: 'M_PI' was not declared in this scope ans+=0.5*d*d*sin(x/180*M_PI); ^