∫ cosx/(4sin²x+1) dx
= (1/2)∫ d(2sinx)/(4sin²x+1),y=2sinx,dy=d(2sinx)
= (1/2)∫ dy/(y²+1)
= (1/2)arctan(y/(1/2)) + C