$$\int_{0}^{\pi/2}\ln^2\left(\tan^2\left({x\over 2}\right)\right)\mathrm dx=\frac{\pi^3}2\tag1$$
This is an interesting integral, I came aross it while I was solving a circuit board problem. My professor as me to find the current of the parallel circuit but but eventually I came up this is equation
Any hints how to tackle this problem.
I was thinking of frey-man trick but it prove too difficult.

Hint. One may perform the change of variable $$ u=\tan\left({x\over 2}\right), \quad x=2\arctan u,\quad dx=2\:\frac{du}{1+u^2},\quad \tan\left(0\right)=0, \quad \tan\left({\pi\over 4}\right)=1, $$ giving, with some standard justifications, $$ \begin{align} \int_{0}^{\pi/2}\ln^2\left(\tan^2\left({x\over 2}\right)\right)\mathrm dx & = 2\int_{0}^{1}\ln^2\left(u^2\right)\:\frac{du}{1+u^2} \\& = 8\int_{0}^{1}\frac{\ln^2u}{1+u^2}\:du \\&=8\int_0^1 \sum_{n=0}^\infty (-1)^nu^{2n}\ln^2u\:du \\&=8\sum_{n=0}^\infty (-1)^n\int_0^1 u^{2n}\ln^2u\:du \end{align} $$ then one may use an integration by parts to obtain $$ \int_0^1 u^{s}\ln^2u\:du=\frac{2}{(s+1)^3}, \quad s>-1, $$ then $$ \begin{align} \int_{0}^{\pi/2}\ln^2\left(\tan^2\left({x\over 2}\right)\right)\mathrm dx &=16\sum_{n=0}^\infty \frac{(-1)^n}{(2n+1)^3}=\frac{1}{4} \left(\zeta \left(3,\frac{1}{4}\right)-\zeta \left(3,\frac{3}{4}\right)\right)=\frac {\pi^3}2, \end{align} $$ where we have used special values of the Hurwitz zeta function.