\(\left(z-\frac{2}{\sqrt{z}}\right)^9\)
\(\text{The general term is}\)
\((9Cr)(z)^{(9-r)}\left(\frac{-2}{\sqrt{z}}\right)^r\)
\(=(9Cr)\left(\frac{z^9}{z^r}\right)\left(\frac{(-2)^r}{(\sqrt{z})^r}\right)\)
\(=(9Cr)\left(\frac{z^9*(-2)^r}{z^r*(\sqrt{z})^r}\right)\)
\(=(9Cr)\left(\frac{z^{18/2}*(-2)^r}{z^{(2r/2)}*(z)^{(r/2)}}\right)\)
\(=(9Cr)\left(\frac{z^{((18-2r-r)/2)}*(-2)^r}{1}\right)\)
\(=(9Cr)(z^{((18-3r)/2)}*(-2)^r)\)
\(\text{The constant term will be when}\)
\((18-3r)/2=0\)
\(18-3r=0\)
\(r=6\)
Just wanna try. This code is really crazy! Typing it twice takes me 30minutes. (I accidentally deleted when I have already finished)