This shows that MATLAB is not able to find a closed-form expression for the integration problem. You can still find the numerical answer by substituting the numeric values of a and b
syms x a b
c = (x*cos(x)*sin(x))/(a^2*cos(x)^2 + b^2*sin(x)^2)^2;
c_int = int(c, x, 0, pi/1);
x = subs(c_int, [a b], [1 2]);
This will give the value of integration at a=1, b=2. Result:
Best Answer