∫cosx/(4-sin^2x)dx
=∫1/(4-sin^2x)dsinx
=1/4∫[1/(2-sinx)+1/(2+sinx)]dsinx
=1/4ln(2+sinx)-1/4ln(2-sinx)+C