0_0_22229878_28551.cpp: In function 'int main()': 0_0_22229878_28551.cpp:323:30: error: 'k2' was not declared in this scope c.o=(A+B)/2+0.5*(1.0+k2)/(1.0-k2)*ut*d; ^