$$\int_C z e^ {-z} dz$$ with $C$ being any curve from $i$ to $1 + i$
I defined $C$ as $$z(t) = t + 1 $$ $$i \leq t \leq 1 + i $$
Such that
$$\int_C f(z)dz = \int_{i}^{1+i} (t + 1)e^{-(t+1)}dt $$ $$=e^{-2-i}-e^{-1-i}$$
Does that seem correct? Is the definition of C ok or it could be more general?