Integral from 0 to 1 of (1 -2x + 2x^2)dx