If I want to solve for "q" will the quadratic equation apply to the following equation?

$\displaystyle q^2k^2\pi^2z+q(2\pi^2k^2z-20\pi kz^2+z^3)-104+\frac{20\pi k}{z}+\frac{\pi^2 k^2}{z^2}=0$

And what about if q contains k? I.e. $\displaystyle q=3\left(\frac{1-k}{1+k}\right)^2$

Would it still work?