integrate (x+1)cos(n* pi x) from -1 to 0