Since f ( a + i ( b − a ) / N ) = f ( − 1 + 3 i / N ) = − 1 + 3 i / N − 1 {\displaystyle f(a+i(b-a)/N)=f(-1+3i/N)=-1+3i/N-1} we follow the hints, to obtain
Since
we can continue our computation
You can always compare your answer to the computation of the integral directly and see that the answers match: