Integrate the rational functions.
Let sinx = t
cosx dx = dt
Therefore,
Let
1 = A(2 – t) + B (1 – t) …(1)
Substituting t = 2 and then t = 1 in equation (1), we get,