f'(s) = x^2(-sinx/cosx) + 2x(cosx) = -x^2(tanx) + 2x(cosx)
You can ask a new question or answer this question.