#include const double pi=4.0*atan(1.0); double func(float x) { return 1./(pi*(1.+pow(x,2))); }