0_0_34114439_15089.cpp: In function 'int ch(double)': 0_0_34114439_15089.cpp:11:27: error: 't' was not declared in this scope double tx = xs + av * t; ^