Problem 981: (2024 AIME I, 7)
Find the largest possible real part of \[ (75+117i)z+\frac{96+144i}{z} \] where $z$ is a complex number with $|z|=4$. Here $i = \sqrt{-1}$.
- With $z=4e^{i\theta}$, the expression is $(300+468i)e^{i\theta}+(24+36i)e^{-i\theta}$.
- Its real part is $324\cos\theta-432\sin\theta$.
- The maximum is $\sqrt{324^2+432^2}=108\cdot5=540$. The answer is $\boxed{540}$.
Find the largest possible real part of \[ (20+114i)z+\frac{36+66i}{z} \] where $z$ is a complex number with $|z|=3$. Here $i = \sqrt{-1}$.