Step 1: Simplify the integrand.
The integrand can be simplified by recognizing that \( \cos 2x + \sin^2 x \) can be rewritten using trigonometric identities. Step 2: Use substitution.
Substitute and simplify the integral, then apply the standard integral formula to get the result \( \tan x + c \). Step 3: Conclusion.
The correct answer is (B) \( \tan x + c \).