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