0_0_26401434_952.cpp: In function 'int main()': 0_0_26401434_952.cpp:55:21: error: 'g' was not declared in this scope double dg = g*cos(th); ^