$$\bbox[30px,border:2px solid black] {{\textbf{With great sadness the MSE community has taken} \\ \textbf{notice of the death of Christian Blatter.} \\ \textbf{This is Christian's last recorded question,} \\\textbf{as he passed away on May 31, 2021.}}}$$
[ Remark: The following question was asked yesterday, and obtained 3 votes. Unfortunately it has been deleted by the OP overnight without receiving any answers.]
Let $f:\mathbb C \to \mathbb R$ be a continuous real-valued function. Suppose for all $z \in \mathbb C$, we have $|f(z)|\leq1$. Show that
$$\left|\int_C f(z)\, dz\right|\leq4$$ where $C$ is the unit circle traversed counterclockwise.
I used this relationship but the smallest I can get is $2\pi$: $$\left|\int f(z)\, dz\right| \leq \int |f(z)|\, |dz| \leq \sup |f(z)|\cdot L = 2\pi\sup |f(z)| = 2\pi$$