2 *integrate from 0 to 1 (e^(-x) cos(n*pi*x))