Given that \(\sin \theta = \frac{a}{b}\), then \(\cos \theta\) is equal to :
Show Hint
Alternatively, think of a right triangle where opposite side = \(a\) and hypotenuse = \(b\).
By Pythagoras theorem, adjacent side = \(\sqrt{\text{hypotenuse}^{2} - \text{opposite}^{2}} = \sqrt{b^{2} - a^{2}}\).
Thus, \(\cos \theta = \frac{\text{Adjacent}}{\text{Hypotenuse}} = \frac{\sqrt{b^{2} - a^{2}}}{b}\).