On a Trigonometric Inequality and its Applications