I am trying to compute the principal argument (which belongs to $(-\pi,\pi]$) of the complex number $$ z=\left(\dfrac{\sqrt{3}+i}{\sqrt{2}-i}\right)^{50}$$
My attempt:
Let $a=\sqrt{3}+i$ and $b=\sqrt{2}-i$. Then $\operatorname{Arg} (a)=\frac{\pi}{6}$ and $\operatorname{Arg}(b)=-\tan^{-1}\left(\frac{1}{\sqrt{2}}\right)$, so $\operatorname{arg}(z)=50\operatorname{arg}\left(\frac{\sqrt{3}+i}{\sqrt{2}-i}\right)=50\operatorname{arg}(a)-50\operatorname{arg}(b)=\frac{50\pi}{3}-50\tan^{-1}(\frac{1}{\sqrt{2}})=\frac{2\pi}{3}-50\tan^{-1}\left(\frac{1}{\sqrt{2}}\right)$, modulo $2\pi$, where $\operatorname{Arg}$ and $\operatorname{arg}$ denote the principal argument and argument, respectively.
Now it suffices to add a suitable integer multiple of $2\pi$ to $\frac{2\pi}{3}-50\tan^{-1}\left(\frac{1}{\sqrt{2}}\right)$, but I got stuck here. Any hints?
$$\frac{\sqrt{3}+i}{\sqrt{2}-i} = \frac{2\exp(\frac{\pi}{6}i)}{\sqrt{3}\exp(-\arctan(\frac{1}{\sqrt{2}})i)} = \frac{2}{\sqrt{3}}\exp\left(\left[\frac{\pi}{6}+\arctan\left(\frac{1}{\sqrt{2}}\right)\right]i\right)$$
So
$$z = \left(\frac{\sqrt{3}+i}{\sqrt{2}-i}\right)^{50} = \left(\frac{2}{\sqrt{3}}\right)^{50}\exp\left(50\left[\frac{\pi}{6}+\arctan\left(\frac{1}{\sqrt{2}}\right)\right]i\right)$$
So the (non-principal) argument is $50 \left[\frac{\pi}{6}+\arctan\left(\frac{1}{\sqrt{2}}\right)\right]$, and the principal argument happens to be
$$\theta =50 \left[\frac{\pi}{6}+\arctan\left(\frac{1}{\sqrt{2}}\right)\right] - 18\pi \approx 0.4053 \,\,\text{radians} \approx 23.22^\circ $$
I don't know if there is a simple way to figure out how many multiples of $2\pi$ to subtract. I simply used a computational tool to calculate the numerical value of the (non-principal) argument.