int (3/2 - 2x) cos((n-1/2) pi x) from 0 to 1/2