integral of cos(x) from (0+0i) to (2+i)