integral of sqrt(1 + pi^2/4 * cos^2(pi*x)) dx from 0 to 1