# Question:Huge expression to Latex or Word?

## Question:Huge expression to Latex or Word?

Maple

Hi my dear friends, I am haunted by a problem of how to convert a very very very long equation to Latex or Word properly?

Thank you for taking a look at the following 'long and boring' equation and sharing your brilliant idea.

"1/12*R^2*h^3*rho*diff(diff(alpha(t),t),t)*cos(beta(t))^2*Pi+1/2*R^4*h*rho*sin(gamma(t))*diff(diff(phi(t),t),t)*Pi-1/4*R^4*h*rho*Pi*cos(beta(t))^2*diff(diff(alpha(t),t),t)-1/4*R^4*h*rho*cos(alpha(t))*diff(beta(t),t)*diff(gamma(t),t)*Pi-1/12*R^2*h^3*rho*cos(alpha(t))*diff(beta(t),t)*diff(gamma(t),t)*Pi+1/2*R^4*h*rho*diff(gamma(t),t)*cos(gamma(t))*diff(phi(t),t)*Pi+1/12*R^2*h^3*rho*sin(gamma(t))*cos(beta(t))^2*diff(diff(phi(t),t),t)*Pi+1/2*R^4*h*rho*cos(gamma(t))*diff(diff(theta(t),t),t)*cos(phi(t))*Pi-1/4*R^4*h*rho*Pi*sin(gamma(t))*cos(beta(t))^2*diff(diff(phi(t),t),t)+1/2*R^4*h*rho*sin(gamma(t))*diff(diff(psi(t),t),t)*sin(theta(t))*Pi-1/12*R^2*h^3*rho*cos(beta(t))^2*cos(gamma(t))*diff(diff(psi(t),t),t)*cos(theta(t))*sin(phi(t))*Pi-1/4*R^4*h*rho*cos(beta(t))^2*sin(alpha(t))*diff(beta(t),t)*cos(gamma(t))*diff(phi(t),t)*Pi+1/4*R^4*h*rho*cos(alpha(t))*cos(beta(t))^2*diff(beta(t),t)*diff(theta(t),t)*sin(phi(t))*Pi-1/12*R^2*h^3*rho*cos(alpha(t))*cos(beta(t))^2*diff(beta(t),t)*diff(theta(t),t)*sin(phi(t))*Pi+1/4*R^4*h*rho*cos(alpha(t))*cos(beta(t))*sin(beta(t))*diff(diff(theta(t),t),t)*sin(phi(t))*Pi-1/4*R^4*h*rho*cos(alpha(t))*diff(beta(t),t)*sin(beta(t))^2*diff(theta(t),t)*sin(phi(t))*Pi-1/12*R^2*h^3*rho*cos(alpha(t))*cos(beta(t))*sin(beta(t))*diff(diff(theta(t),t),t)*sin(phi(t))*Pi+1/12*R^2*h^3*rho*cos(alpha(t))*diff(beta(t),t)*sin(beta(t))^2*diff(theta(t),t)*sin(phi(t))*Pi-1/6*R^2*h^3*rho*sin(gamma(t))*cos(beta(t))*diff(phi(t),t)*Pi*diff(beta(t),t)*sin(beta(t))+1/2*R^4*h*rho*Pi*sin(gamma(t))*cos(beta(t))*diff(phi(t),t)*diff(beta(t),t)*sin(beta(t))-1/12*R^2*h^3*rho*cos(beta(t))^2*diff(gamma(t),t)*sin(gamma(t))*diff(theta(t),t)*cos(phi(t))*Pi-1/4*R^4*h*rho*cos(beta(t))*sin(alpha(t))*sin(beta(t))*cos(gamma(t))*diff(diff(phi(t),t),t)*Pi+1/4*R^4*h*rho*diff(beta(t),t)*sin(beta(t))^2*sin(alpha(t))*cos(gamma(t))*diff(phi(t),t)*Pi+1/12*R^2*h^3*rho*cos(beta(t))*sin(alpha(t))*sin(beta(t))*cos(gamma(t))*diff(diff(phi(t),t),t)*Pi-1/12*R^2*h^3*rho*diff(beta(t),t)*sin(beta(t))^2*sin(alpha(t))*cos(gamma(t))*diff(phi(t),t)*Pi-1/12*R^2*h^3*rho*cos(alpha(t))^2*cos(beta(t))^2*diff(gamma(t),t)*cos(gamma(t))*diff(psi(t),t)*sin(theta(t))*Pi-1/12*R^2*h^3*rho*cos(alpha(t))^2*cos(beta(t))^2*cos(gamma(t))*diff(theta(t),t)*diff(phi(t),t)*sin(phi(t))*Pi-1/12*R^2*h^3*rho*cos(alpha(t))*cos(beta(t))^2*diff(beta(t),t)*diff(psi(t),t)*cos(phi(t))*cos(theta(t))*Pi+1/4*R^4*h*rho*sin(gamma(t))*cos(beta(t))^2*sin(alpha(t))*diff(beta(t),t)*diff(theta(t),t)*cos(phi(t))*Pi-1/4*R^4*h*rho*cos(beta(t))^2*sin(alpha(t))*diff(beta(t),t)*cos(gamma(t))*diff(psi(t),t)*sin(theta(t))*Pi+1/12*R^2*h^3*rho*cos(beta(t))^2*diff(gamma(t),t)*sin(gamma(t))*diff(psi(t),t)*cos(theta(t))*sin(phi(t))*Pi+1/12*R^2*h^3*rho*cos(beta(t))^2*cos(gamma(t))*diff(psi(t),t)*diff(theta(t),t)*sin(theta(t))*sin(phi(t))*Pi-1/12*R^2*h^3*rho*cos(beta(t))^2*cos(gamma(t))*diff(psi(t),t)*cos(theta(t))*diff(phi(t),t)*cos(phi(t))*Pi-1/6*R^2*h^3*rho*cos(beta(t))*cos(gamma(t))*diff(theta(t),t)*cos(phi(t))*Pi*diff(beta(t),t)*sin(beta(t))-1/12*R^2*h^3*rho*sin(gamma(t))*cos(beta(t))*cos(alpha(t))*sin(beta(t))*cos(gamma(t))*diff(phi(t),t)^2*Pi+1/4*R^4*h*rho*diff(theta(t),t)*Pi*sin(gamma(t))*cos(beta(t))^2*cos(alpha(t))^2*diff(psi(t),t)*cos(theta(t))+1/4*R^4*h*rho*sin(gamma(t))*sin(alpha(t))*diff(beta(t),t)*diff(psi(t),t)*cos(theta(t))*sin(phi(t))*Pi-1/4*R^4*h*rho*diff(theta(t),t)*Pi*sin(gamma(t))*cos(beta(t))^2*sin(alpha(t))^2*diff(psi(t),t)*cos(theta(t))+1/12*R^2*h^3*rho*sin(alpha(t))^2*cos(beta(t))^2*cos(gamma(t))*diff(theta(t),t)*diff(phi(t),t)*sin(phi(t))*Pi+1/12*R^2*h^3*rho*sin(gamma(t))*sin(alpha(t))^2*cos(beta(t))^2*diff(psi(t),t)*diff(theta(t),t)*cos(theta(t))*Pi+1/12*R^2*h^3*rho*sin(alpha(t))^2*cos(beta(t))^2*diff(gamma(t),t)*cos(gamma(t))*diff(psi(t),t)*sin(theta(t))*Pi-1/12*R^2*h^3*rho*sin(gamma(t))*sin(alpha(t))^2*cos(beta(t))^2*diff(gamma(t),t)*diff(theta(t),t)*cos(phi(t))*Pi-1/4*R^4*h*rho*diff(theta(t),t)*Pi*cos(beta(t))^2*sin(alpha(t))^2*sin(phi(t))*diff(phi(t),t)*cos(gamma(t))+1/12*R^2*h^3*rho*sin(gamma(t))*cos(alpha(t))^2*cos(beta(t))^2*diff(theta(t),t)^2*cos(phi(t))*sin(phi(t))*Pi+1/4*R^4*h*rho*diff(theta(t),t)*Pi*cos(beta(t))^2*cos(alpha(t))^2*sin(phi(t))*diff(phi(t),t)*cos(gamma(t))+1/12*R^2*h^3*rho*sin(gamma(t))*cos(alpha(t))^2*cos(beta(t))^2*diff(gamma(t),t)*diff(theta(t),t)*cos(phi(t))*Pi+1/4*R^4*h*rho*sin(gamma(t))*cos(beta(t))*cos(alpha(t))*sin(beta(t))*cos(gamma(t))*diff(phi(t),t)^2*Pi+1/12*R^2*h^3*rho*sin(gamma(t))*sin(alpha(t))*diff(beta(t),t)*diff(psi(t),t)*cos(theta(t))*sin(phi(t))*Pi-1/12*R^2*h^3*rho*sin(gamma(t))*cos(alpha(t))^2*cos(beta(t))^2*diff(psi(t),t)*diff(theta(t),t)*cos(theta(t))*Pi+1/6*R^2*h^3*rho*cos(alpha(t))*cos(beta(t))*sin(beta(t))*diff(psi(t),t)*cos(phi(t))*diff(theta(t),t)*sin(theta(t))*Pi+1/2*R^4*h*rho*diff(gamma(t),t)*cos(gamma(t))*cos(beta(t))*sin(alpha(t))*sin(beta(t))*diff(theta(t),t)*cos(phi(t))*Pi+1/2*R^4*h*rho*cos(beta(t))*sin(alpha(t))*sin(beta(t))*diff(gamma(t),t)*sin(gamma(t))*diff(psi(t),t)*sin(theta(t))*Pi-1/2*R^4*h*rho*cos(beta(t))*sin(alpha(t))*sin(beta(t))*cos(gamma(t))*diff(psi(t),t)*diff(theta(t),t)*cos(theta(t))*Pi-1/6*R^2*h^3*rho*cos(beta(t))*cos(alpha(t))*sin(beta(t))*cos(gamma(t))^2*diff(theta(t),t)*cos(phi(t))*diff(phi(t),t)*Pi-1/2*R^4*h*rho*sin(gamma(t))*cos(beta(t))*cos(alpha(t))*sin(beta(t))*cos(gamma(t))*diff(psi(t),t)^2*cos(theta(t))^2*Pi+1/4*R^4*h*rho*sin(alpha(t))*cos(beta(t))*sin(beta(t))*cos(gamma(t))*diff(theta(t),t)^2*cos(phi(t))*sin(phi(t))*Pi-1/2*R^4*h*rho*diff(theta(t),t)*Pi*sin(gamma(t))*cos(beta(t))^2*cos(alpha(t))^2*diff(psi(t),t)*cos(phi(t))^2*cos(theta(t))-1/12*R^2*h^3*rho*cos(alpha(t))^2*cos(beta(t))^2*cos(gamma(t))*diff(psi(t),t)*diff(theta(t),t)*sin(theta(t))*sin(phi(t))*Pi+1/6*R^2*h^3*rho*sin(gamma(t))*cos(alpha(t))^2*cos(beta(t))^2*diff(psi(t),t)*diff(theta(t),t)*cos(phi(t))^2*cos(theta(t))*Pi-1/12*R^2*h^3*rho*cos(alpha(t))^2*cos(beta(t))^2*cos(gamma(t))*diff(psi(t),t)*cos(phi(t))*cos(theta(t))*diff(phi(t),t)*Pi-1/12*R^2*h^3*rho*cos(alpha(t))^2*cos(beta(t))^2*cos(gamma(t))*diff(psi(t),t)^2*sin(theta(t))*cos(phi(t))*cos(theta(t))*Pi-1/12*R^2*h^3*rho*sin(gamma(t))*cos(alpha(t))^2*cos(beta(t))^2*diff(gamma(t),t)*diff(psi(t),t)*cos(theta(t))*sin(phi(t))*Pi+1/12*R^2*h^3*rho*diff(theta(t),t)^2*sin(beta(t))*Pi*sin(gamma(t))*cos(beta(t))*cos(alpha(t))*cos(phi(t))^2*cos(gamma(t))+1/6*R^2*h^3*rho*sin(gamma(t))*cos(beta(t))*cos(alpha(t))*sin(beta(t))*cos(gamma(t))*diff(psi(t),t)^2*cos(theta(t))^2*Pi+1/2*R^4*h*rho*sin(gamma(t))*cos(beta(t))*sin(alpha(t))*sin(beta(t))*diff(psi(t),t)*diff(theta(t),t)*sin(theta(t))*sin(phi(t))*Pi+1/6*R^2*h^3*rho*diff(gamma(t),t)*cos(gamma(t))*cos(beta(t))*sin(alpha(t))*sin(beta(t))*diff(psi(t),t)*cos(theta(t))*sin(phi(t))*Pi-1/6*R^2*h^3*rho*sin(gamma(t))*cos(beta(t))*sin(alpha(t))*sin(beta(t))*diff(psi(t),t)*diff(theta(t),t)*sin(theta(t))*sin(phi(t))*Pi+1/12*R^2*h^3*rho*sin(beta(t))*Pi*cos(beta(t))*diff(psi(t),t)^2*sin(phi(t))*cos(phi(t))*sin(alpha(t))*cos(theta(t))^2*cos(gamma(t))+1/2*R^4*h*rho*diff(theta(t),t)*Pi*sin(gamma(t))*cos(beta(t))^2*cos(phi(t))*diff(phi(t),t)*cos(alpha(t))*cos(gamma(t))*sin(alpha(t))-1/2*R^4*h*rho*cos(beta(t))*cos(alpha(t))*sin(beta(t))*cos(gamma(t))^2*diff(psi(t),t)^2*sin(theta(t))*cos(theta(t))*sin(phi(t))*Pi+1/2*R^4*h*rho*sin(alpha(t))*cos(beta(t))*sin(beta(t))*cos(gamma(t))*diff(psi(t),t)*diff(theta(t),t)*cos(phi(t))^2*cos(theta(t))*Pi+1/2*R^4*h*rho*sin(gamma(t))*cos(beta(t))*cos(alpha(t))*sin(beta(t))*cos(gamma(t))*diff(psi(t),t)*sin(theta(t))*diff(phi(t),t)*Pi+1/4*R^4*h*rho*sin(gamma(t))*sin(alpha(t))*cos(beta(t))*sin(beta(t))*diff(psi(t),t)^2*sin(theta(t))*cos(phi(t))*cos(theta(t))*Pi-1/6*R^2*h^3*rho*diff(theta(t),t)*Pi*sin(gamma(t))*cos(beta(t))^2*cos(phi(t))*diff(phi(t),t)*cos(alpha(t))*cos(gamma(t))*sin(alpha(t))+1/2*R^4*h*rho*cos(beta(t))*cos(alpha(t))*sin(beta(t))*cos(gamma(t))^2*diff(psi(t),t)*diff(theta(t),t)*sin(theta(t))*cos(phi(t))*Pi-1/2*R^4*h*rho*cos(beta(t))*cos(alpha(t))*sin(beta(t))*cos(gamma(t))^2*diff(psi(t),t)*cos(theta(t))*diff(phi(t),t)*sin(phi(t))*Pi-1/6*R^2*h^3*rho*sin(alpha(t))*cos(beta(t))*sin(beta(t))*cos(gamma(t))*diff(psi(t),t)*diff(theta(t),t)*cos(phi(t))^2*cos(theta(t))*Pi-1/12*R^2*h^3*rho*sin(gamma(t))*sin(alpha(t))*cos(beta(t))*sin(beta(t))*diff(psi(t),t)^2*sin(theta(t))*cos(phi(t))*cos(theta(t))*Pi-1/6*R^2*h^3*rho*cos(beta(t))*cos(alpha(t))*sin(beta(t))*cos(gamma(t))^2*diff(psi(t),t)*diff(theta(t),t)*sin(theta(t))*cos(phi(t))*Pi+1/6*R^2*h^3*rho*cos(beta(t))*cos(alpha(t))*sin(beta(t))*cos(gamma(t))^2*diff(psi(t),t)*cos(theta(t))*diff(phi(t),t)*sin(phi(t))*Pi-1/12*R^2*h^3*rho*sin(beta(t))*Pi*sin(gamma(t))*cos(beta(t))*cos(alpha(t))*diff(psi(t),t)^2*cos(phi(t))^2*cos(theta(t))^2*cos(gamma(t))-1/6*R^2*h^3*rho*sin(gamma(t))*cos(beta(t))*cos(alpha(t))*sin(beta(t))*cos(gamma(t))*diff(psi(t),t)*sin(theta(t))*diff(phi(t),t)*Pi-1/2*R^4*h*rho*diff(gamma(t),t)*cos(gamma(t))*cos(beta(t))*sin(alpha(t))*sin(beta(t))*diff(psi(t),t)*cos(theta(t))*sin(phi(t))*Pi+1/2*R^4*h*rho*diff(diff(alpha(t),t),t)*Pi-1/2*R^4*h*rho*cos(gamma(t))*diff(diff(psi(t),t),t)*cos(theta(t))*sin(phi(t))*Pi-1/4*R^4*h*rho*Pi*sin(gamma(t))*cos(beta(t))^2*sin(theta(t))*diff(diff(psi(t),t),t)-1/4*R^4*h*rho*diff(diff(theta(t),t),t)*Pi*cos(beta(t))^2*cos(phi(t))*cos(gamma(t))+1/12*R^2*h^3*rho*sin(gamma(t))*cos(beta(t))^2*diff(diff(psi(t),t),t)*sin(theta(t))*Pi-1/12*R^2*h^3*rho*cos(alpha(t))*cos(beta(t))^2*diff(beta(t),t)*diff(gamma(t),t)*Pi+1/4*R^4*h*rho*cos(alpha(t))*cos(beta(t))^2*diff(beta(t),t)*diff(gamma(t),t)*Pi+1/4*R^4*h*rho*Pi*cos(beta(t))^2*diff(gamma(t),t)^2*cos(alpha(t))*sin(alpha(t))+1/4*R^4*h*rho*diff(theta(t),t)^2*Pi*cos(beta(t))^2*cos(alpha(t))*sin(alpha(t))-1/12*R^2*h^3*rho*diff(theta(t),t)^2*Pi*cos(beta(t))^2*cos(alpha(t))*sin(alpha(t))-1/12*R^2*h^3*rho*cos(alpha(t))*diff(beta(t),t)*diff(theta(t),t)*sin(phi(t))*Pi+1/12*R^2*h^3*rho*sin(alpha(t))*diff(beta(t),t)*cos(gamma(t))*diff(phi(t),t)*Pi-1/4*R^4*h*rho*cos(alpha(t))*diff(beta(t),t)*diff(theta(t),t)*sin(phi(t))*Pi+1/4*R^4*h*rho*sin(alpha(t))*diff(beta(t),t)*cos(gamma(t))*diff(phi(t),t)*Pi-1/12*R^2*h^3*rho*Pi*cos(beta(t))^2*diff(gamma(t),t)^2*cos(alpha(t))*sin(alpha(t))+1/2*R^4*h*rho*Pi*cos(beta(t))*diff(alpha(t),t)*diff(beta(t),t)*sin(beta(t))-1/6*R^2*h^3*rho*diff(alpha(t),t)*cos(beta(t))*Pi*diff(beta(t),t)*sin(beta(t))+1/12*R^2*h^3*rho*diff(gamma(t),t)*cos(gamma(t))*cos(beta(t))^2*diff(phi(t),t)*Pi-1/2*R^4*h*rho*diff(gamma(t),t)*sin(gamma(t))*diff(theta(t),t)*cos(phi(t))*Pi-1/2*R^4*h*rho*cos(gamma(t))*diff(theta(t),t)*diff(phi(t),t)*sin(phi(t))*Pi-1/4*R^4*h*rho*Pi*diff(gamma(t),t)*cos(gamma(t))*cos(beta(t))^2*diff(phi(t),t)+1/2*R^4*h*rho*diff(gamma(t),t)*cos(gamma(t))*diff(psi(t),t)*sin(theta(t))*Pi+1/2*R^4*h*rho*sin(gamma(t))*diff(psi(t),t)*diff(theta(t),t)*cos(theta(t))*Pi+1/12*R^2*h^3*rho*cos(beta(t))^2*cos(gamma(t))*diff(diff(theta(t),t),t)*cos(phi(t))*Pi-1/12*R^2*h^3*rho*cos(alpha(t))*cos(beta(t))*sin(beta(t))*diff(diff(gamma(t),t),t)*Pi+1/12*R^2*h^3*rho*cos(alpha(t))*diff(beta(t),t)*sin(beta(t))^2*diff(gamma(t),t)*Pi+1/4*R^4*h*rho*cos(alpha(t))*cos(beta(t))*sin(beta(t))*diff(diff(gamma(t),t),t)*Pi-1/4*R^4*h*rho*cos(alpha(t))*diff(beta(t),t)*sin(beta(t))^2*diff(gamma(t),t)*Pi+1/2*R^4*h*rho*cos(beta(t))*cos(alpha(t))*sin(beta(t))*cos(gamma(t))^2*diff(theta(t),t)*cos(phi(t))*diff(phi(t),t)*Pi+1/4*R^4*h*rho*Pi*sin(gamma(t))*cos(beta(t))^2*cos(alpha(t))^2*diff(psi(t),t)^2*sin(phi(t))*cos(phi(t))*cos(theta(t))^2+1/4*R^4*h*rho*diff(theta(t),t)*Pi*cos(beta(t))^2*sin(theta(t))*cos(alpha(t))^2*diff(psi(t),t)*sin(phi(t))*cos(gamma(t))+1/4*R^4*h*rho*cos(beta(t))*cos(alpha(t))*sin(beta(t))*diff(psi(t),t)^2*sin(theta(t))*cos(theta(t))*sin(phi(t))*Pi-1/4*R^4*h*rho*diff(theta(t),t)*Pi*cos(beta(t))^2*sin(theta(t))*sin(alpha(t))^2*diff(psi(t),t)*sin(phi(t))*cos(gamma(t))-1/4*R^4*h*rho*Pi*sin(gamma(t))*cos(beta(t))^2*sin(alpha(t))^2*diff(psi(t),t)^2*sin(phi(t))*cos(phi(t))*cos(theta(t))^2-1/4*R^4*h*rho*Pi*sin(gamma(t))*cos(beta(t))^2*diff(gamma(t),t)*sin(alpha(t))^2*diff(psi(t),t)*sin(phi(t))*cos(theta(t))-1/4*R^4*h*rho*Pi*cos(beta(t))^2*sin(theta(t))*sin(alpha(t))^2*diff(psi(t),t)^2*cos(phi(t))*cos(theta(t))*cos(gamma(t))-1/4*R^4*h*rho*Pi*cos(beta(t))^2*sin(alpha(t))^2*diff(psi(t),t)*cos(phi(t))*diff(phi(t),t)*cos(theta(t))*cos(gamma(t))-1/12*R^2*h^3*rho*sin(alpha(t))*cos(beta(t))*sin(beta(t))*cos(gamma(t))*diff(theta(t),t)^2*cos(phi(t))*sin(phi(t))*Pi+1/4*R^4*h*rho*Pi*cos(beta(t))^2*cos(alpha(t))^2*diff(psi(t),t)*cos(phi(t))*diff(phi(t),t)*cos(theta(t))*cos(gamma(t))+1/4*R^4*h*rho*Pi*cos(beta(t))^2*sin(theta(t))*cos(alpha(t))^2*diff(psi(t),t)^2*cos(phi(t))*cos(theta(t))*cos(gamma(t))+1/4*R^4*h*rho*Pi*sin(gamma(t))*cos(beta(t))^2*diff(gamma(t),t)*cos(alpha(t))^2*diff(psi(t),t)*sin(phi(t))*cos(theta(t))-1/12*R^2*h^3*rho*Pi*sin(gamma(t))*cos(beta(t))^2*cos(alpha(t))^2*diff(psi(t),t)^2*sin(phi(t))*cos(phi(t))*cos(theta(t))^2+1/6*R^2*h^3*rho*Pi*cos(beta(t))^2*sin(theta(t))*diff(psi(t),t)*diff(phi(t),t)*cos(alpha(t))*cos(gamma(t))^2*sin(alpha(t))-1/2*R^4*h*rho*Pi*cos(beta(t))^2*sin(theta(t))*diff(psi(t),t)*diff(phi(t),t)*cos(alpha(t))*cos(gamma(t))^2*sin(alpha(t))+1/12*R^2*h^3*rho*Pi*cos(beta(t))^2*diff(psi(t),t)^2*cos(phi(t))^2*cos(alpha(t))*cos(theta(t))^2*cos(gamma(t))^2*sin(alpha(t))-1/6*R^2*h^3*rho*Pi*cos(beta(t))^2*diff(gamma(t),t)*diff(psi(t),t)*cos(phi(t))*cos(alpha(t))*cos(theta(t))*sin(alpha(t))-1/4*R^4*h*rho*Pi*cos(beta(t))^2*diff(psi(t),t)^2*cos(phi(t))^2*cos(alpha(t))*cos(theta(t))^2*cos(gamma(t))^2*sin(alpha(t))-1/2*R^4*h*rho*cos(alpha(t))*cos(beta(t))*sin(beta(t))*diff(psi(t),t)*cos(phi(t))*diff(theta(t),t)*sin(theta(t))*Pi-1/6*R^2*h^3*rho*cos(beta(t))*sin(alpha(t))*sin(beta(t))*diff(gamma(t),t)*sin(gamma(t))*diff(psi(t),t)*sin(theta(t))*Pi+1/6*R^2*h^3*rho*cos(beta(t))*sin(alpha(t))*sin(beta(t))*cos(gamma(t))*diff(psi(t),t)*diff(theta(t),t)*cos(theta(t))*Pi-1/6*R^2*h^3*rho*diff(gamma(t),t)*cos(gamma(t))*cos(beta(t))*sin(alpha(t))*sin(beta(t))*diff(theta(t),t)*cos(phi(t))*Pi-1/4*R^4*h*rho*diff(theta(t),t)^2*sin(beta(t))*Pi*sin(gamma(t))*cos(beta(t))*cos(alpha(t))*cos(phi(t))^2*cos(gamma(t))-1/12*R^2*h^3*rho*cos(beta(t))*cos(alpha(t))*sin(beta(t))*diff(psi(t),t)^2*sin(theta(t))*cos(theta(t))*sin(phi(t))*Pi+1/2*R^4*h*rho*Pi*cos(beta(t))^2*diff(gamma(t),t)*diff(psi(t),t)*cos(phi(t))*cos(alpha(t))*cos(theta(t))*sin(alpha(t))+1/12*R^2*h^3*rho*Pi*sin(gamma(t))*cos(beta(t))^2*sin(alpha(t))^2*diff(psi(t),t)^2*sin(phi(t))*cos(phi(t))*cos(theta(t))^2+1/12*R^2*h^3*rho*sin(gamma(t))*sin(alpha(t))^2*cos(beta(t))^2*diff(gamma(t),t)*diff(psi(t),t)*cos(theta(t))*sin(phi(t))*Pi+1/12*R^2*h^3*rho*sin(alpha(t))^2*cos(beta(t))^2*cos(gamma(t))*diff(psi(t),t)^2*sin(theta(t))*cos(phi(t))*cos(theta(t))*Pi+1/12*R^2*h^3*rho*sin(alpha(t))^2*cos(beta(t))^2*cos(gamma(t))*diff(psi(t),t)*cos(phi(t))*cos(theta(t))*diff(phi(t),t)*Pi+1/12*R^2*h^3*rho*sin(alpha(t))^2*cos(beta(t))^2*cos(gamma(t))*diff(psi(t),t)*diff(theta(t),t)*sin(theta(t))*sin(phi(t))*Pi-1/6*R^2*h^3*rho*sin(gamma(t))*sin(alpha(t))^2*cos(beta(t))^2*diff(psi(t),t)*diff(theta(t),t)*cos(phi(t))^2*cos(theta(t))*Pi+1/2*R^4*h*rho*diff(theta(t),t)*Pi*sin(gamma(t))*cos(beta(t))^2*sin(alpha(t))^2*diff(psi(t),t)*cos(phi(t))^2*cos(theta(t))-1/4*R^4*h*rho*sin(gamma(t))*cos(beta(t))^2*sin(alpha(t))*diff(beta(t),t)*diff(psi(t),t)*cos(theta(t))*sin(phi(t))*Pi+1/12*R^2*h^3*rho*sin(gamma(t))*cos(beta(t))^2*sin(alpha(t))*diff(beta(t),t)*diff(psi(t),t)*cos(theta(t))*sin(phi(t))*Pi+1/4*R^4*h*rho*sin(gamma(t))*diff(beta(t),t)*sin(beta(t))^2*sin(alpha(t))*diff(psi(t),t)*cos(theta(t))*sin(phi(t))*Pi+1/12*R^2*h^3*rho*sin(gamma(t))*cos(beta(t))*sin(alpha(t))*sin(beta(t))*diff(diff(psi(t),t),t)*cos(theta(t))*sin(phi(t))*Pi-1/12*R^2*h^3*rho*sin(gamma(t))*diff(beta(t),t)*sin(beta(t))^2*sin(alpha(t))*diff(psi(t),t)*cos(theta(t))*sin(phi(t))*Pi+1/6*R^2*h^3*rho*cos(beta(t))*cos(gamma(t))*diff(psi(t),t)*cos(theta(t))*sin(phi(t))*Pi*diff(beta(t),t)*sin(beta(t))-1/4*R^4*h*rho*sin(gamma(t))*cos(beta(t))*sin(alpha(t))*sin(beta(t))*diff(diff(psi(t),t),t)*cos(theta(t))*sin(phi(t))*Pi-1/2*R^4*h*rho*Pi*cos(beta(t))*diff(psi(t),t)*sin(phi(t))*cos(theta(t))*cos(gamma(t))*diff(beta(t),t)*sin(beta(t))-1/6*R^2*h^3*rho*Pi*cos(beta(t))^2*diff(psi(t),t)^2*cos(phi(t))^2*cos(alpha(t))*cos(theta(t))^2*sin(alpha(t))-1/6*R^2*h^3*rho*diff(theta(t),t)*Pi*cos(beta(t))^2*diff(gamma(t),t)*sin(phi(t))*cos(alpha(t))*sin(alpha(t))+1/12*R^2*h^3*rho*cos(beta(t))^2*sin(alpha(t))*diff(beta(t),t)*cos(gamma(t))*diff(psi(t),t)*sin(theta(t))*Pi-1/12*R^2*h^3*rho*sin(gamma(t))*cos(beta(t))^2*sin(alpha(t))*diff(beta(t),t)*diff(theta(t),t)*cos(phi(t))*Pi+1/2*R^4*h*rho*Pi*cos(beta(t))^2*diff(psi(t),t)^2*cos(alpha(t))*cos(theta(t))^2*cos(gamma(t))^2*sin(alpha(t))-1/12*R^2*h^3*rho*diff(theta(t),t)^2*Pi*cos(beta(t))^2*cos(phi(t))^2*cos(alpha(t))*cos(gamma(t))^2*sin(alpha(t))-1/6*R^2*h^3*rho*Pi*cos(beta(t))^2*diff(psi(t),t)^2*cos(alpha(t))*cos(theta(t))^2*cos(gamma(t))^2*sin(alpha(t))+1/4*R^4*h*rho*Pi*cos(beta(t))^2*diff(gamma(t),t)*sin(theta(t))*cos(alpha(t))^2*diff(psi(t),t)*cos(gamma(t))+1/4*R^4*h*rho*sin(gamma(t))*cos(beta(t))*cos(alpha(t))*sin(beta(t))*cos(gamma(t))*diff(psi(t),t)^2*Pi-1/12*R^2*h^3*rho*sin(gamma(t))*sin(alpha(t))^2*cos(beta(t))^2*diff(theta(t),t)^2*cos(phi(t))*sin(phi(t))*Pi+1/4*R^4*h*rho*diff(theta(t),t)*Pi*sin(gamma(t))*cos(beta(t))^2*diff(gamma(t),t)*sin(alpha(t))^2*cos(phi(t))+1/4*R^4*h*rho*diff(theta(t),t)^2*Pi*sin(gamma(t))*cos(beta(t))^2*sin(alpha(t))^2*sin(phi(t))*cos(phi(t))-1/4*R^4*h*rho*Pi*cos(beta(t))^2*diff(gamma(t),t)*sin(theta(t))*sin(alpha(t))^2*diff(psi(t),t)*cos(gamma(t))+1/2*R^4*h*rho*Pi*cos(beta(t))^2*diff(psi(t),t)^2*cos(phi(t))^2*cos(alpha(t))*cos(theta(t))^2*sin(alpha(t))+1/2*R^4*h*rho*diff(theta(t),t)*Pi*cos(beta(t))^2*diff(gamma(t),t)*sin(phi(t))*cos(alpha(t))*sin(alpha(t))+1/4*R^4*h*rho*diff(theta(t),t)^2*Pi*cos(beta(t))^2*cos(phi(t))^2*cos(alpha(t))*cos(gamma(t))^2*sin(alpha(t))-1/4*R^4*h*rho*diff(theta(t),t)^2*Pi*sin(gamma(t))*cos(beta(t))^2*cos(alpha(t))^2*sin(phi(t))*cos(phi(t))-1/4*R^4*h*rho*diff(theta(t),t)*Pi*sin(gamma(t))*cos(beta(t))^2*diff(gamma(t),t)*cos(alpha(t))^2*cos(phi(t))-1/12*R^2*h^3*rho*sin(gamma(t))*cos(beta(t))*cos(alpha(t))*sin(beta(t))*cos(gamma(t))*diff(psi(t),t)^2*Pi+1/4*R^4*h*rho*Pi*cos(beta(t))^2*diff(psi(t),t)*diff(phi(t),t)*cos(phi(t))*cos(theta(t))*cos(gamma(t))-1/4*R^4*h*rho*Pi*cos(beta(t))^2*diff(psi(t),t)*sin(phi(t))*diff(theta(t),t)*sin(theta(t))*cos(gamma(t))-1/4*R^4*h*rho*Pi*cos(beta(t))^2*diff(psi(t),t)*sin(phi(t))*cos(theta(t))*diff(gamma(t),t)*sin(gamma(t))+1/2*R^4*h*rho*cos(beta(t))*sin(alpha(t))*sin(beta(t))*diff(gamma(t),t)*sin(gamma(t))*diff(phi(t),t)*Pi-1/6*R^2*h^3*rho*cos(beta(t))*sin(alpha(t))*sin(beta(t))*diff(gamma(t),t)*sin(gamma(t))*diff(phi(t),t)*Pi-1/4*R^4*h*rho*cos(beta(t))*sin(alpha(t))*sin(beta(t))*cos(gamma(t))*diff(diff(psi(t),t),t)*sin(theta(t))*Pi+1/4*R^4*h*rho*diff(beta(t),t)*sin(beta(t))^2*sin(alpha(t))*cos(gamma(t))*diff(psi(t),t)*sin(theta(t))*Pi-1/12*R^2*h^3*rho*cos(alpha(t))*cos(beta(t))*sin(beta(t))*diff(diff(psi(t),t),t)*cos(phi(t))*cos(theta(t))*Pi+1/12*R^2*h^3*rho*cos(alpha(t))*diff(beta(t),t)*sin(beta(t))^2*diff(psi(t),t)*cos(phi(t))*cos(theta(t))*Pi+1/4*R^4*h*rho*sin(gamma(t))*cos(beta(t))*sin(alpha(t))*sin(beta(t))*diff(diff(theta(t),t),t)*cos(phi(t))*Pi-1/4*R^4*h*rho*sin(gamma(t))*diff(beta(t),t)*sin(beta(t))^2*sin(alpha(t))*diff(theta(t),t)*cos(phi(t))*Pi-1/4*R^4*h*rho*cos(alpha(t))*diff(beta(t),t)*sin(beta(t))^2*diff(psi(t),t)*cos(phi(t))*cos(theta(t))*Pi+1/12*R^2*h^3*rho*cos(beta(t))*sin(alpha(t))*sin(beta(t))*cos(gamma(t))*diff(diff(psi(t),t),t)*sin(theta(t))*Pi-1/12*R^2*h^3*rho*diff(beta(t),t)*sin(beta(t))^2*sin(alpha(t))*cos(gamma(t))*diff(psi(t),t)*sin(theta(t))*Pi-1/12*R^2*h^3*rho*sin(gamma(t))*cos(beta(t))*sin(alpha(t))*sin(beta(t))*diff(diff(theta(t),t),t)*cos(phi(t))*Pi+1/12*R^2*h^3*rho*sin(gamma(t))*diff(beta(t),t)*sin(beta(t))^2*sin(alpha(t))*diff(theta(t),t)*cos(phi(t))*Pi+1/2*R^4*h*rho*Pi*sin(gamma(t))*cos(beta(t))*sin(theta(t))*diff(psi(t),t)*diff(beta(t),t)*sin(beta(t))+1/2*R^4*h*rho*diff(theta(t),t)*Pi*cos(beta(t))*cos(phi(t))*cos(gamma(t))*diff(beta(t),t)*sin(beta(t))-1/6*R^2*h^3*rho*sin(gamma(t))*cos(beta(t))*diff(psi(t),t)*sin(theta(t))*Pi*diff(beta(t),t)*sin(beta(t))+1/4*R^4*h*rho*cos(alpha(t))*cos(beta(t))*sin(beta(t))*diff(diff(psi(t),t),t)*cos(phi(t))*cos(theta(t))*Pi+1/4*R^4*h*rho*cos(alpha(t))*cos(beta(t))^2*diff(beta(t),t)*diff(psi(t),t)*cos(phi(t))*cos(theta(t))*Pi-1/6*R^2*h^3*rho*sin(gamma(t))*cos(beta(t))*cos(alpha(t))*sin(beta(t))*cos(gamma(t))*diff(psi(t),t)*diff(theta(t),t)*cos(phi(t))*cos(theta(t))*sin(phi(t))*Pi+1/2*R^4*h*rho*sin(gamma(t))*cos(beta(t))*cos(alpha(t))*sin(beta(t))*cos(gamma(t))*diff(psi(t),t)*diff(theta(t),t)*cos(phi(t))*cos(theta(t))*sin(phi(t))*Pi+1/12*R^2*h^3*rho*cos(beta(t))^2*sin(alpha(t))*diff(beta(t),t)*cos(gamma(t))*diff(phi(t),t)*Pi+1/4*R^4*h*rho*diff(theta(t),t)*Pi*cos(beta(t))^2*diff(phi(t),t)*sin(phi(t))*cos(gamma(t))+1/4*R^4*h*rho*diff(theta(t),t)*Pi*cos(beta(t))^2*cos(phi(t))*diff(gamma(t),t)*sin(gamma(t))+1/12*R^2*h^3*rho*diff(gamma(t),t)*cos(gamma(t))*cos(beta(t))^2*diff(psi(t),t)*sin(theta(t))*Pi+1/12*R^2*h^3*rho*sin(gamma(t))*cos(beta(t))^2*diff(psi(t),t)*diff(theta(t),t)*cos(theta(t))*Pi-1/12*R^2*h^3*rho*cos(beta(t))^2*cos(gamma(t))*diff(theta(t),t)*diff(phi(t),t)*sin(phi(t))*Pi+1/2*R^4*h*rho*diff(gamma(t),t)*sin(gamma(t))*diff(psi(t),t)*cos(theta(t))*sin(phi(t))*Pi+1/2*R^4*h*rho*cos(gamma(t))*diff(psi(t),t)*diff(theta(t),t)*sin(theta(t))*sin(phi(t))*Pi-1/2*R^4*h*rho*cos(gamma(t))*diff(psi(t),t)*cos(theta(t))*diff(phi(t),t)*cos(phi(t))*Pi-1/4*R^4*h*rho*Pi*diff(gamma(t),t)*cos(gamma(t))*cos(beta(t))^2*sin(theta(t))*diff(psi(t),t)-1/4*R^4*h*rho*Pi*sin(gamma(t))*cos(beta(t))^2*diff(theta(t),t)*cos(theta(t))*diff(psi(t),t)-1/12*R^2*h^3*rho*sin(gamma(t))*sin(alpha(t))*diff(beta(t),t)*diff(theta(t),t)*cos(phi(t))*Pi-1/4*R^4*h*rho*Pi*cos(beta(t))^2*diff(phi(t),t)^2*cos(alpha(t))*cos(gamma(t))^2*sin(alpha(t))-1/2*R^4*h*rho*diff(theta(t),t)^2*Pi*cos(beta(t))^2*cos(phi(t))^2*cos(alpha(t))*sin(alpha(t))+1/12*R^2*h^3*rho*Pi*cos(beta(t))^2*diff(psi(t),t)^2*cos(alpha(t))*cos(theta(t))^2*sin(alpha(t))+1/12*R^2*h^3*rho*Pi*cos(beta(t))^2*diff(psi(t),t)^2*cos(alpha(t))*cos(gamma(t))^2*sin(alpha(t))-1/4*R^4*h*rho*Pi*cos(beta(t))^2*diff(psi(t),t)^2*cos(alpha(t))*cos(theta(t))^2*sin(alpha(t))-1/4*R^4*h*rho*Pi*cos(beta(t))^2*diff(psi(t),t)^2*cos(alpha(t))*cos(gamma(t))^2*sin(alpha(t))+1/12*R^2*h^3*rho*Pi*cos(beta(t))^2*diff(phi(t),t)^2*cos(alpha(t))*cos(gamma(t))^2*sin(alpha(t))+1/6*R^2*h^3*rho*cos(alpha(t))*cos(beta(t))^2*diff(theta(t),t)^2*cos(phi(t))^2*Pi*sin(alpha(t))+1/4*R^4*h*rho*Pi*cos(beta(t))^2*diff(gamma(t),t)*cos(alpha(t))^2*diff(phi(t),t)*cos(gamma(t))-1/12*R^2*h^3*rho*cos(alpha(t))*diff(beta(t),t)*diff(psi(t),t)*cos(phi(t))*cos(theta(t))*Pi+1/12*R^2*h^3*rho*sin(alpha(t))^2*cos(beta(t))^2*diff(gamma(t),t)*cos(gamma(t))*diff(phi(t),t)*Pi-1/4*R^4*h*rho*Pi*cos(beta(t))^2*diff(gamma(t),t)*sin(alpha(t))^2*diff(phi(t),t)*cos(gamma(t))-1/12*R^2*h^3*rho*cos(alpha(t))^2*cos(beta(t))^2*diff(gamma(t),t)*cos(gamma(t))*diff(phi(t),t)*Pi-1/4*R^4*h*rho*sin(gamma(t))*sin(alpha(t))*diff(beta(t),t)*diff(theta(t),t)*cos(phi(t))*Pi+1/4*R^4*h*rho*sin(alpha(t))*diff(beta(t),t)*cos(gamma(t))*diff(psi(t),t)*sin(theta(t))*Pi-1/4*R^4*h*rho*cos(alpha(t))*diff(beta(t),t)*diff(psi(t),t)*cos(phi(t))*cos(theta(t))*Pi+1/12*R^2*h^3*rho*sin(alpha(t))*diff(beta(t),t)*cos(gamma(t))*diff(psi(t),t)*sin(theta(t))*Pi+1/4*R^4*h*rho*Pi*cos(beta(t))^2*diff(diff(psi(t),t),t)*sin(phi(t))*cos(theta(t))*cos(gamma(t))-1/3*R^2*h^3*rho*cos(alpha(t))*cos(beta(t))^2*diff(psi(t),t)*diff(theta(t),t)*cos(phi(t))*cos(theta(t))*sin(phi(t))*Pi*sin(alpha(t))+1/4*R^4*h*rho*sin(beta(t))*Pi*sin(gamma(t))*cos(beta(t))*cos(alpha(t))*diff(psi(t),t)^2*cos(phi(t))^2*cos(theta(t))^2*cos(gamma(t))-1/4*R^4*h*rho*sin(beta(t))*Pi*cos(beta(t))*diff(psi(t),t)^2*sin(phi(t))*cos(phi(t))*sin(alpha(t))*cos(theta(t))^2*cos(gamma(t))+1/6*R^2*h^3*rho*cos(beta(t))*cos(alpha(t))*sin(beta(t))*cos(gamma(t))^2*diff(psi(t),t)^2*sin(theta(t))*cos(theta(t))*sin(phi(t))*Pi+R^4*h*rho*diff(theta(t),t)*Pi*cos(beta(t))^2*diff(psi(t),t)*sin(phi(t))*cos(phi(t))*cos(alpha(t))*cos(theta(t))*sin(alpha(t))+1/6*R^2*h^3*rho*Pi*sin(gamma(t))*cos(beta(t))^2*sin(theta(t))*diff(psi(t),t)^2*sin(phi(t))*cos(alpha(t))*cos(theta(t))*cos(gamma(t))*sin(alpha(t))-1/2*R^4*h*rho*diff(theta(t),t)*Pi*cos(beta(t))^2*diff(psi(t),t)*sin(phi(t))*cos(phi(t))*cos(alpha(t))*cos(theta(t))*cos(gamma(t))^2*sin(alpha(t))-1/2*R^4*h*rho*Pi*sin(gamma(t))*cos(beta(t))^2*sin(theta(t))*diff(psi(t),t)^2*sin(phi(t))*cos(alpha(t))*cos(theta(t))*cos(gamma(t))*sin(alpha(t))-1/2*R^4*h*rho*Pi*sin(gamma(t))*cos(beta(t))^2*diff(psi(t),t)*sin(phi(t))*diff(phi(t),t)*cos(alpha(t))*cos(theta(t))*cos(gamma(t))*sin(alpha(t))+1/2*R^4*h*rho*diff(theta(t),t)*Pi*sin(gamma(t))*cos(beta(t))^2*sin(theta(t))*diff(psi(t),t)*cos(phi(t))*cos(alpha(t))*cos(gamma(t))*sin(alpha(t))-1/6*R^2*h^3*rho*diff(theta(t),t)*Pi*sin(gamma(t))*cos(beta(t))^2*sin(theta(t))*diff(psi(t),t)*cos(phi(t))*cos(alpha(t))*cos(gamma(t))*sin(alpha(t))+1/6*R^2*h^3*rho*Pi*sin(gamma(t))*cos(beta(t))^2*diff(psi(t),t)*sin(phi(t))*diff(phi(t),t)*cos(alpha(t))*cos(theta(t))*cos(gamma(t))*sin(alpha(t))+1/6*R^2*h^3*rho*diff(theta(t),t)*Pi*cos(beta(t))^2*diff(psi(t),t)*sin(phi(t))*cos(phi(t))*cos(alpha(t))*cos(theta(t))*cos(gamma(t))^2*sin(alpha(t)) = 0" ﻿