0_0_36969058_6736.cpp: In function 'int main()': 0_0_36969058_6736.cpp:11:13: error: 'PI' was not declared in this scope p=sin(2.0*PI/n)*0.5*(n-1)+sin(1.0*PI/n); ^