Find $x^2+y^2+z^2$ if $x+y+z=0$ and $\sin{x}+\sin{y}+\sin{z}=0$ and $\cos{x}+\cos{y}+\cos{z}=0$ for any $x,y,z \in [-\pi,\pi]$ Find $x^2+y^2+z^2$ if $x+y+z=0$ and $\sin{x}+\sin{y}+\sin{z}=0$ and $\cos{x}+\cos{y}+\cos{z}=0$ for any $x,y,z \in [-\pi,\pi]$.
My attempt:I found one answer $x=0,y=\frac{2\pi}{3},z=-\frac{2\pi}{3}$ which gives the answer $x^2+y^2+z^2=\frac{8{\pi}^2}{9}$.But I want a way to find the answer using equations.ANy hints?

HINT.- $$\begin{cases}\sin{x}+\sin{y}+\sin{z}=0\\\cos{x}+\cos{y}+\cos{z}=0\end{cases}\iff\begin{cases}2\sin\dfrac{x+y}{2}\cos\dfrac{x-y}{2}=-\sin z\\2\cos\dfrac{x+y}{2}\cos\dfrac{x-y}{2}=-\cos z\end{cases}\Rightarrow \tan\frac{x+y}{2}=\tan z$$
Hence, because of $x,y,z \in [-\pi,\pi]$, $$x+y=2z\iff x+y+z=3z\Rightarrow \color{red}{z=0 \text{  and }x+y=0}$$
NOTE.-Obviously instead of $z$ we can choose either $x$ and $y$ to be zero.  Thus $$\color{red}{x^2+y^2+z^2=2t^2}$$ where $(x,y,z)=(t,-t,0)$ and with $t\in [-\pi,\pi]$.
