Integral[(R*g^2*x*(sin(x) - x*cos(x))*(c*cos(x)^4 + b*cos(x)^2 + a))/sin(x),x]