Suppose $f(z) = x^2 + iy^2$ (where $z = x + iy$ ) and consider $C:z(t) = t + it,0 \leq t \leq 1$
Evaluate $\int_{C} f(z)dz$
I have tried solving this, I know that $\int_{C} f(z)dz = \int_a^b f(z(t))z'(t)dt$ for $a \leq t \leq b$
From $z(t)$ I can easily get $z'(t)$ But I struggle to obtain $f(z(t))$ because $f(z)$ is not expressed in terms of z.
Please help
Hint.
Note that $f(x+iy)=x^2+iy^2$. What do you have for $ f(t+it) $?