Evaluating integral e^z over a line

271 Views Asked by At

How do i evaluate $$ \int_C e^z dz $$

along the line y=x from (-1, -1) to (1, 1)

here $$ z = x+iy $$ since its a straight line, I have z = t where t goes from -1 to 1 ? How do I proceed after this ?