The maximum modulus of $e^{z^2}$ on the set $S=\{z\in \mathbb{C}: 0\leq Re(z)\leq1, 0\leq Im(z)\leq1\}$ is
- $e/2$
- $e$
- $e+1$
- $e^2$
My attempt: We know $|e^{z^2}|\leq e^{|z|^2}$ so maximum of $|z|=\sqrt{2}$ since $z$ can be $1+i$, so $|e^{z^2}|\leq e^{|z|^2}=e^2$, so $4$ is right? Is my solution correct? If it's not then how to solve this? Thanks.