A short program to calculate inegral of an polynomial of degree 2