This is value of $\tan(z)$ in polar coordinates when I manually calculated it:
This is the value I got when I wrote the code for it in Maxima:
How can I reduce the first form to the second? I can't think of a way to convert the hyperbolic trigonometric function to normal ones. I tried doing this using the normal form of the formula $\tan(x+y)$, and I still don't seem to be gettting this equivalent form. Is there any other way to do it?

