Find \(\frac{\mathrm d y}{\mathrm d x}\) if \(y = \cos x\).