If \(\tan ^{-1}\left(\frac{1}{4}\right)+\tan ^{-1}\left(\frac{2}{9}\right)=\frac{1}{2} \cos ^{-1} x\), then \(x\) is