MATLAB: Hi everybody!! Can smb help me to factorize an expression,pleaseeee

factor

I need to factorize this three-variable expression:
-2766624 - 62500*cos(x)*h^2 + 716000*R^2*cos(x) + 2454124*cos(x)^2 + 15625*cos(x)^2*h^4 + 272750*cos(x)^2*h^2*R^2 + 187500*cos(x)^3*h^2 + 1049656*R^4*cos(x)^2 + 375000*cos(x)^3*R^2+562500*cos(x)^4 + 140625*cos(x)^4*R^4

Best Answer

It does not factor. You can collect similar cos(x)^N terms and you can do some factorization of the result:
-2766624 + 140625*(2-2*R+R^2)*(2+2*R+R^2)*cos(x)^4 + (187500*(h^2+2*R^2))*cos(x)^3 + (2454124+15625*h^4+272750*R^2*h^2+1049656*R^4)*cos(x)^2 + (500*(-125*h^2+1432*R^2))*cos(x)