Complex integration

Exercise4.2
1 Find $\int_{C}z\cos{z}dz$ along the curve $C$ that goes around the unit circle.

2 Integrate the function $\bar{z}$ for along the sides and diagonals of a square with vertices at point $0,1,1 + i, i$ from 0 to $1+i$.