% written by Egemen Kolemen, June 3rd, 2005
% Please refer to our papers if you use this model (Kasdin, Kolemen)
% "Canonical modelling of relative spacecraft motion via epicyclic elements"
% Gives good results for eccentricities up to 0.03 -0.05

% relative motion for ecc. & nonlinear diff. effects included (hill ref. fram) 
% solution up to 4th order in eccentricity
% initial condition + in time
function ecc_nonlinear_relative_motion

clear all
clc
mu      =   3.986004415e5 ; %km^3/s^2
J2      =   0;
Rearth  =   0;

a       =   7000;  %semimajor axis km
e       =   0.001; %eccentiricity
numorb  =   2   ;  %number of orbits to simulate
teto    =   0*pi/180 ; %initial theta (true anomly)

for counter=1:1;%4
    
amplitude_xy = 10 ; %km amplitude of the ellipse in xy plane
amplitude_z  = 10 ; %km amplitude of the motion in z
angle_xy     = (90*(counter-1))*pi/180+45*pi/180;
angle_z      = 0*pi/180;
center_of_ellipse = 0; %.5/a;  km/semimajor axis; the position of the ellipse in xy plane; i.e. bais in y direction




n=sqrt(mu/(a^3));
Tp=2*pi/n;
num_point_orbit=1e3;
deltat= Tp/num_point_orbit;
tspan = [0:deltat:numorb*Tp];
rper=a*(1-e);
h=sqrt(mu*a*(1-e^2));
p=a*(1-e^2);
rco = p/(1+e*cos(teto)) ;
dteto=h/rco^2;
drco = e*sqrt(mu/p)*sin(teto);
M0    =   M_from_theta(teto,e);

%non-dimention parameters
rbar =   a;
nbar =   n;

 % find a1-b2 from amplitude phase;
 sqrt2alpha10=amplitude_xy/a;
 sqrt2alpha20=amplitude_z/a;
 a1_0    =   sqrt2alpha10*cos(angle_xy);
 b1_0    =   sqrt2alpha10*sin(angle_xy);
 a2_0    =   sqrt2alpha20*cos(angle_z);
 b2_0    =   sqrt2alpha20*sin(angle_z);
 b3_0    =  center_of_ellipse/a;  
 
t0=M0;

%add the terms that makes the ellipse center and radius 
%1st order correction
a110=a1_0/e  +sin(M0);    % a1_0_norm
a210=a2_0/e   ;           % a2_0_norm
b110=b1_0/e  -2*cos(M0); %; b1_0_norm
b210=b2_0/e   ;           % b2_0_norm
b310=b3_0/e  - 2*sin(M0); % b3_0_norm

%2nd order correction
a120=-(a210*b210) + sin(2*t0);
a220=0;
b120=(2 - 4*cos(2*t0) - power(b210,2))/2.;
b220=0;
b320=(3*a210*b210 - 4*sin(2*t0))/2.;

%3rd order correction
a130=0;%+(sec(t0)*(-62*a210*b210 + 12*a210*b210*cos(2*t0) + 10*a210*b210*cos(4*t0) + 24*sin(2*t0) - 14*power(a210,2)*sin(2*t0) + 46*power(b210,2)*sin(2*t0) + 36*sin(4*t0) -  5*power(a210,2)*sin(4*t0) + 5*power(b210,2)*sin(4*t0)))/64.;
a230=0;
b130=0;%+(40*cos(t0) - 72*cos(3*t0) + 7*cos(t0)*power(a210,2) + 5*cos(3*t0)*power(a210,2) - 39*cos(t0)*power(b210,2) - 5*cos(3*t0)*power(b210,2) + 30*a210*b210*sin(t0) + 10*a210*b210*sin(3*t0))/32.;
b230=0;
b330=0;%+(2*a210*b210*cos(t0) + 3*sin(t0) - 10*power(a210,2)*sin(t0) - 12*power(b210,2)*sin(t0) - 9*sin(3*t0))/4.;

%4th order correction
a140=0;
a240=0;
b140=0;
b240=0;
b340=0;

%add them up
a1_0_total= a110*e+a120*e^2+a130*e^3+a140*e^4;
a2_0_total= a210*e+a220*e^2+a230*e^3+a240*e^4;

b1_0_total= b110*e+b120*e^2+b130*e^3+b140*e^4;
b2_0_total= b210*e+b220*e^2+b230*e^3+b240*e^4;
b3_0_total= b310*e+b320*e^2+b330*e^3+b340*e^4;

%no drift condition upto 4th order
 a3_0_total=e*cos(t0) + ((-2 - 24*a110*b310 + 8*b110*cos(t0) + 6*cos(2*t0) - 20*power(a110,2) - 4*power(a210,2) + 4*power(b110,2) - 4*power(b210,2) - 8*power(b310,2))*power(e,2))/8. + ((-20*a110*a120 - 4*a210*a220 + b110 + 4*b110*b120 - 4*b210*b220 - 12*a120*b310 - 12*a110*b110*b310 - 12*a110*b320 - 8*b310*b320 - cos(t0) + 4*b120*cos(t0) - 12*a110*b310*cos(t0) + 5*b110*cos(2*t0) + 3*cos(3*t0) - 6*b110*power(a110,2) - 6*cos(t0)*power(a110,2) - 6*b110*power(a210,2) - 6*cos(t0)*power(a210,2) + 6*cos(t0)*power(b110,2) + 2*power(b110,3) - 6*b110*power(b310,2) - 6*cos(t0)*power(b310,2))*power(e,3))/4. + power(e,4)*(-14.890625 - 5*a110*a130 - a210*a230 - 3*a110*a120*b110 - 3*a210*a220*b110 + b120/4. + b110*b130 + (65*a110*a210*b110*b210)/8. - b210*b230 + (91*a110*b310)/4. - 3*a130*b310 - 3*a120*b110*b310 - 3*a110*b120*b310 - 5*a210*b110*b210*b310 - 3*a120*b320 - 3*a110*b110*b320 - 3*b110*b310*b320 - 3*a110*b330 - 2*b310*b330 - 3*a110*a120*cos(t0) - 3*a210*a220*cos(t0) - (75*b110*cos(t0))/2. + 3*b110*b120*cos(t0) + b130*cos(t0) + (65*a110*a210*b210*cos(t0))/4. - 3*a120*b310*cos(t0) + 25*a110*b110*b310*cos(t0) - 10*a210*b210*b310*cos(t0) - 3*a110*b320*cos(t0) - 3*b310*b320*cos(t0) - (269*cos(2*t0))/48. + (5*b120*cos(2*t0))/4. + (39*a110*b310*cos(2*t0))/4. - b110*cos(3*t0) + (167*cos(4*t0))/192. + (59*power(a110,2))/8. - (3*b120*power(a110,2))/2. + (43*b110*cos(t0)*power(a110,2))/2. + (147*cos(2*t0)*power(a110,2))/8. - (149*b310*power(a110,3))/6. - (107*power(a110,4))/8. - (5*power(a120,2))/2. - power(a210,2)/64. - (3*b120*power(a210,2))/2. - (a110*b310*power(a210,2))/2. - (87*b110*cos(t0)*power(a210,2))/8. - (487*cos(2*t0)*power(a210,2))/64. + (123*power(a110,2)*power(a210,2))/32. + (13*power(a210,4))/32. - power(a220,2)/2. - (147*power(b110,2))/8. + (3*b120*power(b110,2))/2. + (5*a110*b310*power(b110,2))/2. - (75*cos(2*t0)*power(b110,2))/8. + (13*power(a110,2)*power(b110,2))/4. - (139*power(a210,2)*power(b110,2))/32. - (17*cos(t0)*power(b110,3))/2. - (7*power(b110,4))/8. + power(b120,2)/2. + (457*power(b210,2))/64. - 4*a110*b310*power(b210,2) + (151*b110*cos(t0)*power(b210,2))/8. + (767*cos(2*t0)*power(b210,2))/64. - (211*power(a110,2)*power(b210,2))/32. - (11*power(a210,2)*power(b210,2))/16. + (147*power(b110,2)*power(b210,2))/32. - (23*power(b210,4))/32. - power(b220,2)/2. - (13*power(b310,2))/8. - (3*b120*power(b310,2))/2. - 2*b110*cos(t0)*power(b310,2) + (25*cos(2*t0)*power(b310,2))/8. - (75*power(a110,2)*power(b310,2))/4. + (3*power(a210,2)*power(b310,2))/4. - (9*power(b110,2)*power(b310,2))/4. - (3*power(b210,2)*power(b310,2))/2. - (9*a110*power(b310,3))/2. - (3*power(b310,4))/8. - power(b320,2) + (65*a110*sin(t0))/4. - (145*a210*b110*b210*sin(t0))/8. - (55*b310*sin(t0))/4. - 15*b310*power(a110,2)*sin(t0) - (5*power(a110,3)*sin(t0))/3. - (195*a110*power(a210,2)*sin(t0))/16. + 5*a110*power(b110,2)*sin(t0) - 5*b310*power(b110,2)*sin(t0) + (75*a110*power(b210,2)*sin(t0))/16. - (5*b310*power(b210,2)*sin(t0))/2. - (5*a110*power(b310,2)*sin(t0))/2. - (5*power(b310,3)*sin(t0))/2. + 10*a110*b110*sin(2*t0) - (145*a210*b210*sin(2*t0))/8. - 10*b110*b310*sin(2*t0) + (5*a110*sin(3*t0))/4. - (25*b310*sin(3*t0))/12.);
 
e
[a1_0_total a2_0_total a3_0_total b1_0_total b2_0_total b3_0_total]

% initial condition in x,px
x0  =   2*a3_0_total   +   b1_0_total ;
y0  =   b3_0_total    +   2*a1_0_total ;
z0  =   b2_0_total ;

px0    =   -b3_0_total - a1_0_total ;
py0    =   1 - a3_0_total - b1_0_total ;
pz0    =   a2_0_total ;

% dimensionilize
x0  =   x0*rbar ;
y0  =   y0*rbar ;
z0  =   z0*rbar ;
px0  =   px0*rbar*nbar;
py0  =   py0*rbar*nbar;
pz0  =   pz0*rbar*nbar ;

%lagrange's momenta equations to find dx,dy,dz0
dx0   =  px0 - drco + y0*dteto;
dy0   =  py0 - (rco+x0)*dteto ;
dz0   =  pz0;


%y=x,y,z,dx,dy,dz,rc,drc,tet,dtet
stateo = [x0 ; y0 ; z0 ; dx0 ; dy0 ; dz0 ; rco ; drco ; teto ; dteto ]
options = odeset('RelTol',1e-10,'AbsTol',1e-10 );

[tvector,state] = ode45(@nonlinear_eccentric_state_vector,tspan,stateo,options,mu);
        
uno     =   ones([length(tvector) 1]);
        
t0=M0;
t=t0.*uno +nbar.*tvector;
  
 
%linear solution vectors up to 4th order          NOTE: this is a long line, you may wish to cut it in pieces for fast matlab computation.   
a1_e=(e*(2*a110 - sin(2*t - t0) + sin(t0)))/2. + (power(e,3)*(-432*a110 + 32*a130 - 64*a120*b110 - 64*a110*b120 + 32*a220*b210 + 80*a210*b110*b210 + 32*a210*b220 - 216*b310 - 96*b120*b310 - 96*b110*b320 - 24*a120*cos(t) - 456*a110*b110*cos(t) + 144*a210*b210*cos(t) - 156*b110*b310*cos(t) - 96*b320*cos(t) + 458*a110*cos(2*t) + 360*b310*cos(2*t) - 48*a110*cos(4*t - 6*t0) - 52*a110*cos(3*t - 5*t0) - 69*b310*cos(3*t - 5*t0) - 192*a110*b110*cos(4*t - 5*t0) + 154*a110*cos(2*t - 4*t0) + 24*b310*cos(2*t - 4*t0) + 56*a120*cos(3*t - 4*t0) - 216*a110*b110*cos(3*t - 4*t0) + 48*a210*b210*cos(3*t - 4*t0) - 276*b110*b310*cos(3*t - 4*t0) - 148*a110*cos(4*t - 4*t0) + 96*a120*cos(2*t - 3*t0) + 464*a110*b110*cos(2*t - 3*t0) + 32*a210*b210*cos(2*t - 3*t0) + 192*b110*b310*cos(2*t - 3*t0) + 48*b320*cos(2*t - 3*t0) - 208*a110*cos(3*t - 3*t0) + 112*a120*b110*cos(3*t - 3*t0) + 112*a110*b120*cos(3*t - 3*t0) - 8*a220*b210*cos(3*t - 3*t0) + 112*a210*b110*b210*cos(3*t - 3*t0) - 8*a210*b220*cos(3*t - 3*t0) - 234*b310*cos(3*t - 3*t0) - 296*a110*b110*cos(4*t - 3*t0) - 8*a210*b210*cos(4*t - 3*t0) + 580*a110*cos(2*t - 2*t0) - 144*a210*b110*b210*cos(2*t - 2*t0) + 288*b310*cos(2*t - 2*t0) + 96*b120*b310*cos(2*t - 2*t0) + 96*b110*b320*cos(2*t - 2*t0) + 152*a120*cos(3*t - 2*t0) - 200*a110*b110*cos(3*t - 2*t0) + 160*a210*b210*cos(3*t - 2*t0) - 468*b110*b310*cos(3*t - 2*t0) - 40*a110*cos(4*t - 2*t0) + 208*a110*cos(t - t0) - 48*a120*b110*cos(t - t0) - 48*a110*b120*cos(t - t0) - 24*a220*b210*cos(t - t0) - 48*a210*b110*b210*cos(t - t0) - 24*a210*b220*cos(t - t0) + 162*b310*cos(t - t0) - 96*a120*cos(2*t - t0) + 1248*a110*b110*cos(2*t - t0) - 336*a210*b210*cos(2*t - t0) + 864*b110*b310*cos(2*t - t0) + 144*b320*cos(2*t - t0) - 44*a110*cos(3*t - t0) - 105*b310*cos(3*t - t0) - 184*a120*cos(t0) - 352*a110*b110*cos(t0) - 40*a210*b210*cos(t0) - 156*b110*b310*cos(t0) - 96*b320*cos(t0) - 316*a110*cos(t)*cos(t0) - 231*b310*cos(t)*cos(t0) - 428*a110*cos(2*t0) - 210*b310*cos(2*t0) - 120*a120*cos(t)*cos(2*t0) + 744*a110*b110*cos(t)*cos(2*t0) - 288*a210*b210*cos(t)*cos(2*t0) + 612*b110*b310*cos(t)*cos(2*t0) + 96*b320*cos(t)*cos(2*t0) + 120*a120*cos(t0)*cos(2*t0) - 744*a110*b110*cos(t0)*cos(2*t0) + 288*a210*b210*cos(t0)*cos(2*t0) - 612*b110*b310*cos(t0)*cos(2*t0) - 96*b320*cos(t0)*cos(2*t0) + 348*a110*cos(t)*cos(3*t0) + 333*b310*cos(t)*cos(3*t0) - 348*a110*cos(t0)*cos(3*t0) - 333*b310*cos(t0)*cos(3*t0) + 624*b310*power(a110,2) - 396*b310*cos(3*t - 3*t0)*power(a110,2) - 384*b310*cos(2*t - 2*t0)*power(a110,2) + 156*b310*cos(t - t0)*power(a110,2) + 184*power(a110,3) + 64*cos(4*t - 4*t0)*power(a110,3) - 448*cos(3*t - 3*t0)*power(a110,3) + 8*cos(2*t - 2*t0)*power(a110,3) + 192*cos(t - t0)*power(a110,3) + 24*a110*power(a210,2) + 80*b310*power(a210,2) - 96*a110*cos(3*t - 3*t0)*power(a210,2) + 4*b310*cos(3*t - 3*t0)*power(a210,2) - 24*a110*cos(2*t - 2*t0)*power(a210,2) - 96*b310*cos(2*t - 2*t0)*power(a210,2) + 96*a110*cos(t - t0)*power(a210,2) + 12*b310*cos(t - t0)*power(a210,2) - 296*a110*power(b110,2) - 240*b310*power(b110,2) - 192*a110*cos(4*t - 4*t0)*power(b110,2) - 112*a110*cos(3*t - 3*t0)*power(b110,2) - 276*b310*cos(3*t - 3*t0)*power(b110,2) + 552*a110*cos(2*t - 2*t0)*power(b110,2) + 384*b310*cos(2*t - 2*t0)*power(b110,2) + 48*a110*cos(t - t0)*power(b110,2) + 132*b310*cos(t - t0)*power(b110,2) + 40*a110*power(b210,2) + 64*b310*power(b210,2) - 64*a110*cos(3*t - 3*t0)*power(b210,2) - 4*b310*cos(3*t - 3*t0)*power(b210,2) + 24*a110*cos(2*t - 2*t0)*power(b210,2) - 48*b310*cos(2*t - 2*t0)*power(b210,2) - 12*b310*cos(t - t0)*power(b210,2) + 480*a110*power(b310,2) - 168*a110*cos(3*t - 3*t0)*power(b310,2) - 384*a110*cos(2*t - 2*t0)*power(b310,2) + 72*a110*cos(t - t0)*power(b310,2) + 144*power(b310,3) - 144*cos(2*t - 2*t0)*power(b310,3) + 316*a110*power(cos(t0),2) + 231*b310*power(cos(t0),2) - 316*a110*power(sin(t0),2) - 231*b310*power(sin(t0),2) + 213*sin(t) + 136*b120*sin(t) - 276*a110*b310*sin(t) + 244*b110*cos(t0)*sin(t) + 76*cos(2*t0)*sin(t) + 168*b120*cos(2*t0)*sin(t) - 468*a110*b310*cos(2*t0)*sin(t) + 204*b110*cos(3*t0)*sin(t) + 15*cos(4*t0)*sin(t) - 628*power(a110,2)*sin(t) - 684*cos(2*t0)*power(a110,2)*sin(t) - 112*power(a210,2)*sin(t) - 168*cos(2*t0)*power(a210,2)*sin(t) + 316*power(b110,2)*sin(t) + 276*cos(2*t0)*power(b110,2)*sin(t) - 116*power(b210,2)*sin(t) - 108*cos(2*t0)*power(b210,2)*sin(t) - 60*power(b310,2)*sin(t) - 108*cos(2*t0)*power(b310,2)*sin(t) + 112*b110*sin(2*t) + 207*cos(t0)*sin(2*t) - 29*sin(3*t) + 8*sin(4*t - 7*t0) - 15*sin(3*t - 6*t0) + 48*b110*sin(4*t - 6*t0) - 99*sin(2*t - 5*t0) - 60*b110*sin(3*t - 5*t0) + 37*sin(4*t - 5*t0) - 96*power(a110,2)*sin(4*t - 5*t0) + 96*power(b110,2)*sin(4*t - 5*t0) - 256*b110*sin(2*t - 4*t0) - 63*sin(3*t - 4*t0) - 56*b120*sin(3*t - 4*t0) + 60*a110*b310*sin(3*t - 4*t0) + 60*power(a110,2)*sin(3*t - 4*t0) + 48*power(a210,2)*sin(3*t - 4*t0) - 116*power(b110,2)*sin(3*t - 4*t0) + 28*power(b210,2)*sin(3*t - 4*t0) + 84*power(b310,2)*sin(3*t - 4*t0) + 148*b110*sin(4*t - 4*t0) - 192*b110*power(a110,2)*sin(4*t - 4*t0) + 64*power(b110,3)*sin(4*t - 4*t0) - 101*sin(2*t - 3*t0) - 96*b120*sin(2*t - 3*t0) + 432*a110*b310*sin(2*t - 3*t0) + 676*power(a110,2)*sin(2*t - 3*t0) + 100*power(a210,2)*sin(2*t - 3*t0) - 244*power(b110,2)*sin(2*t - 3*t0) + 44*power(b210,2)*sin(2*t - 3*t0) + 48*power(b310,2)*sin(2*t - 3*t0) + 112*a110*a120*sin(3*t - 3*t0) - 8*a210*a220*sin(3*t - 3*t0) - 208*b110*sin(3*t - 3*t0) - 112*b110*b120*sin(3*t - 3*t0) + 88*a110*a210*b210*sin(3*t - 3*t0) + 8*b210*b220*sin(3*t - 3*t0) + 120*a110*b110*b310*sin(3*t - 3*t0) - 8*a210*b210*b310*sin(3*t - 3*t0) + 224*b110*power(a110,2)*sin(3*t - 3*t0) + 104*b110*power(a210,2)*sin(3*t - 3*t0) - 112*power(b110,3)*sin(3*t - 3*t0) + 48*b110*power(b210,2)*sin(3*t - 3*t0) + 168*b110*power(b310,2)*sin(3*t - 3*t0) + 20*sin(4*t - 3*t0) - 148*power(a110,2)*sin(4*t - 3*t0) - 4*power(a210,2)*sin(4*t - 3*t0) + 148*power(b110,2)*sin(4*t - 3*t0) + 4*power(b210,2)*sin(4*t - 3*t0) - 184*b110*sin(2*t - 2*t0) - 96*a110*a210*b210*sin(2*t - 2*t0) + 96*a120*b310*sin(2*t - 2*t0) + 96*a110*b110*b310*sin(2*t - 2*t0) + 96*a210*b210*b310*sin(2*t - 2*t0) + 96*a110*b320*sin(2*t - 2*t0) + 480*b110*power(a110,2)*sin(2*t - 2*t0) - 64*power(b110,3)*sin(2*t - 2*t0) - 192*b110*power(b310,2)*sin(2*t - 2*t0) - 101*sin(3*t - 2*t0) - 152*b120*sin(3*t - 2*t0) + 444*a110*b310*sin(3*t - 2*t0) + 548*power(a110,2)*sin(3*t - 2*t0) + 152*power(a210,2)*sin(3*t - 2*t0) - 316*power(b110,2)*sin(3*t - 2*t0) + 68*power(b210,2)*sin(3*t - 2*t0) + 228*power(b310,2)*sin(3*t - 2*t0) + 40*b110*sin(4*t - 2*t0) + 48*a110*a120*sin(t - t0) + 24*a210*a220*sin(t - t0) + 304*b110*sin(t - t0) + 144*b110*b120*sin(t - t0) - 72*a110*a210*b210*sin(t - t0) + 72*b210*b220*sin(t - t0) - 168*a110*b110*b310*sin(t - t0) - 168*a210*b210*b310*sin(t - t0) + 96*b310*b320*sin(t - t0) - 672*b110*power(a110,2)*sin(t - t0) - 120*b110*power(a210,2)*sin(t - t0) + 144*power(b110,3)*sin(t - t0) - 144*b110*power(b210,2)*sin(t - t0) + 72*b110*power(b310,2)*sin(t - t0) + 13*sin(2*t - t0) + 96*b120*sin(2*t - t0) - 336*a110*b310*sin(2*t - t0) - 108*power(a110,2)*sin(2*t - t0) - 108*power(a210,2)*sin(2*t - t0) - 36*power(b110,2)*sin(2*t - t0) - 36*power(b210,2)*sin(2*t - t0) - 240*power(b310,2)*sin(2*t - t0) - 260*b110*sin(3*t - t0) - 75*sin(4*t - t0) - 272*sin(t0) - 232*b120*sin(t0) + 660*a110*b310*sin(t0) + 244*b110*cos(t)*sin(t0) + 207*cos(2*t)*sin(t0) - 488*b110*cos(t0)*sin(t0) - 283*cos(2*t0)*sin(t0) - 168*b120*cos(2*t0)*sin(t0) + 468*a110*b310*cos(2*t0)*sin(t0) - 204*b110*cos(3*t0)*sin(t0) - 15*cos(4*t0)*sin(t0) + 976*power(a110,2)*sin(t0) + 684*cos(2*t0)*power(a110,2)*sin(t0) + 220*power(a210,2)*sin(t0) + 168*cos(2*t0)*power(a210,2)*sin(t0) - 376*power(b110,2)*sin(t0) - 276*cos(2*t0)*power(b110,2)*sin(t0) + 152*power(b210,2)*sin(t0) + 108*cos(2*t0)*power(b210,2)*sin(t0) + 204*power(b310,2)*sin(t0) + 108*cos(2*t0)*power(b310,2)*sin(t0) + 316*a110*sin(t)*sin(t0) + 231*b310*sin(t)*sin(t0) - 160*b110*sin(2*t0) - 162*cos(t)*sin(2*t0) - 168*b120*cos(t)*sin(2*t0) + 468*a110*b310*cos(t)*sin(2*t0) - 45*cos(t0)*sin(2*t0) + 168*b120*cos(t0)*sin(2*t0) - 468*a110*b310*cos(t0)*sin(2*t0) + 684*cos(t)*power(a110,2)*sin(2*t0) - 684*cos(t0)*power(a110,2)*sin(2*t0) + 168*cos(t)*power(a210,2)*sin(2*t0) - 168*cos(t0)*power(a210,2)*sin(2*t0) - 276*cos(t)*power(b110,2)*sin(2*t0) + 276*cos(t0)*power(b110,2)*sin(2*t0) + 108*cos(t)*power(b210,2)*sin(2*t0) - 108*cos(t0)*power(b210,2)*sin(2*t0) + 108*cos(t)*power(b310,2)*sin(2*t0) - 108*cos(t0)*power(b310,2)*sin(2*t0) - 120*a120*sin(t)*sin(2*t0) + 744*a110*b110*sin(t)*sin(2*t0) - 288*a210*b210*sin(t)*sin(2*t0) + 612*b110*b310*sin(t)*sin(2*t0) + 96*b320*sin(t)*sin(2*t0) + 120*a120*sin(t0)*sin(2*t0) - 744*a110*b110*sin(t0)*sin(2*t0) + 288*a210*b210*sin(t0)*sin(2*t0) - 612*b110*b310*sin(t0)*sin(2*t0) - 96*b320*sin(t0)*sin(2*t0) - 2*sin(3*t0) - 204*b110*cos(t)*sin(3*t0) + 204*b110*cos(t0)*sin(3*t0) + 348*a110*sin(t)*sin(3*t0) + 333*b310*sin(t)*sin(3*t0) - 348*a110*sin(t0)*sin(3*t0) - 333*b310*sin(t0)*sin(3*t0) - 15*cos(t)*sin(4*t0) + 15*cos(t0)*sin(4*t0)))/32. + power(e,2)*(a120 - 2*a110*b110 + a210*b210 - 3*b110*b310 - (3*a110*cos(t))/4. - 3*b310*cos(t) + (7*a110*cos(3*t - 4*t0))/4. + 3*a110*cos(2*t - 3*t0) + (3*b310*cos(2*t - 3*t0))/2. + (7*a110*b110*cos(3*t - 3*t0))/2. - (a210*b210*cos(3*t - 3*t0))/4. - (15*a110*cos(t - 2*t0))/4. + 3*b310*cos(t - 2*t0) + 3*b110*b310*cos(2*t - 2*t0) + (19*a110*cos(3*t - 2*t0))/4. - (3*a110*b110*cos(t - t0))/2. - (3*a210*b210*cos(t - t0))/4. - 3*a110*cos(2*t - t0) + (9*b310*cos(2*t - t0))/2. - 2*a110*cos(t0) - 6*b310*cos(t0) + (17*b110*sin(t))/4. + (9*sin(2*t))/2. - (7*sin(3*t - 5*t0))/16. - (3*sin(2*t - 4*t0))/2. - (7*b110*sin(3*t - 4*t0))/4. + (9*sin(t - 3*t0))/16. - 3*b110*sin(2*t - 3*t0) - (19*sin(3*t - 3*t0))/8. + (7*power(a110,2)*sin(3*t - 3*t0))/4. - (power(a210,2)*sin(3*t - 3*t0))/8. - (7*power(b110,2)*sin(3*t - 3*t0))/4. + (power(b210,2)*sin(3*t - 3*t0))/8. + (21*b110*sin(t - 2*t0))/4. - 3*sin(2*t - 2*t0) + 3*a110*b310*sin(2*t - 2*t0) - (19*b110*sin(3*t - 2*t0))/4. + (81*sin(t - t0))/8. + (3*power(a110,2)*sin(t - t0))/4. + (3*power(a210,2)*sin(t - t0))/8. + (9*power(b110,2)*sin(t - t0))/4. + (9*power(b210,2)*sin(t - t0))/8. + (3*power(b310,2)*sin(t - t0))/2. + 3*b110*sin(2*t - t0) - (59*sin(3*t - t0))/16. - 2*b110*sin(t0) - 4*sin(2*t0) + (29*sin(t + t0))/16.) + power(e,4)*((-27*a120)/2. + a140 + (3*a110*a210*a220)/2. + 35*a110*b110 - 2*a130*b110 - 2*a120*b120 - (37*a110*b110*b120)/2. - 2*a110*b130 + (55*a210*b210)/8. + a230*b210 + (5*a220*b110*b210)/2. + (5*a210*b120*b210)/2. + a220*b220 + (5*a210*b110*b220)/2. + (5*a110*b210*b220)/2. + a210*b230 + 39*a110*a120*b310 + 5*a210*a220*b310 - (791*b110*b310)/8. - 15*b110*b120*b310 - 3*b130*b310 - (37*a110*a210*b210*b310)/8. + 4*b210*b220*b310 - (27*b320)/4. - 3*b120*b320 + 30*a110*b310*b320 - 3*b110*b330 + (395*a110*cos(t))/128. - (3*a130*cos(t))/4. - (57*a120*b110*cos(t))/4. - (57*a110*b120*cos(t))/4. + (9*a220*b210*cos(t))/2. - (495*a210*b110*b210*cos(t))/16. + (9*a210*b220*cos(t))/2. - (3153*b310*cos(t))/64. - (39*b120*b310*cos(t))/8. - (39*b110*b320*cos(t))/8. - 3*b330*cos(t) + (229*a120*cos(2*t))/16. - (85*a110*b110*cos(2*t))/8. - (11*a210*b210*cos(2*t))/16. + (1467*b110*b310*cos(2*t))/16. + (45*b320*cos(2*t))/4. - (5097*a110*cos(3*t))/256. + (2835*b310*cos(3*t))/64. - (97*a110*cos(5*t - 8*t0))/256. - (15*a110*cos(4*t - 7*t0))/2. + (b310*cos(4*t - 7*t0))/2. - (291*a110*b110*cos(5*t - 7*t0))/128. + (51*a210*b210*cos(5*t - 7*t0))/128. - (3149*a110*cos(3*t - 6*t0))/256. - (625*b310*cos(3*t - 6*t0))/64. - (3*a120*cos(4*t - 6*t0))/2. - 27*a110*b110*cos(4*t - 6*t0) - (9*a210*b210*cos(4*t - 6*t0))/16. + 3*b110*b310*cos(4*t - 6*t0) - (2355*a110*cos(5*t - 6*t0))/256. + (51*a210*b110*b210*cos(5*t - 6*t0))/32. + (237*a110*cos(2*t - 5*t0))/16. - (247*b310*cos(2*t - 5*t0))/32. - (13*a120*cos(3*t - 5*t0))/8. - (3271*a110*b110*cos(3*t - 5*t0))/128. + (223*a210*b210*cos(3*t - 5*t0))/128. - (1331*b110*b310*cos(3*t - 5*t0))/32. - (69*b320*cos(3*t - 5*t0))/32. - (131*a110*cos(4*t - 5*t0))/4. - 6*a120*b110*cos(4*t - 5*t0) - 6*a110*b120*cos(4*t - 5*t0) - (33*a210*b110*b210*cos(4*t - 5*t0))/8. - (63*b310*cos(4*t - 5*t0))/16. - (2355*a110*b110*cos(5*t - 5*t0))/64. + (147*a210*b210*cos(5*t - 5*t0))/64. + (3589*a110*cos(t - 4*t0))/128. + (1993*b310*cos(t - 4*t0))/64. + (77*a120*cos(2*t - 4*t0))/16. + (459*a110*b110*cos(2*t - 4*t0))/8. + (69*a210*b210*cos(2*t - 4*t0))/16. - (21*b110*b310*cos(2*t - 4*t0))/16. + (3*b320*cos(2*t - 4*t0))/4. + (1713*a110*cos(3*t - 4*t0))/256. + (7*a130*cos(3*t - 4*t0))/4. - (27*a120*b110*cos(3*t - 4*t0))/4. - (27*a110*b120*cos(3*t - 4*t0))/4. + (3*a220*b210*cos(3*t - 4*t0))/2. + (171*a210*b110*b210*cos(3*t - 4*t0))/32. + (3*a210*b220*cos(3*t - 4*t0))/2. - (2555*b310*cos(3*t - 4*t0))/64. - (69*b120*b310*cos(3*t - 4*t0))/8. - (69*b110*b320*cos(3*t - 4*t0))/8. - (37*a120*cos(4*t - 4*t0))/8. - (189*a110*b110*cos(4*t - 4*t0))/4. - 12*a110*b110*b120*cos(4*t - 4*t0) - 3*a210*b210*cos(4*t - 4*t0) - (63*b110*b310*cos(4*t - 4*t0))/4. - (15*a110*a210*b210*b310*cos(4*t - 4*t0))/8. - (9351*a110*cos(5*t - 4*t0))/256. + (147*a210*b110*b210*cos(5*t - 4*t0))/32. + (87*a120*cos(t - 3*t0))/8. + (1403*a110*b110*cos(t - 3*t0))/64. - (307*a210*b210*cos(t - 3*t0))/64. + (3195*b110*b310*cos(t - 3*t0))/32. + (333*b320*cos(t - 3*t0))/32. + (1175*a110*cos(2*t - 3*t0))/16. + 3*a130*cos(2*t - 3*t0) + (29*a120*b110*cos(2*t - 3*t0))/2. + (29*a110*b120*cos(2*t - 3*t0))/2. + a220*b210*cos(2*t - 3*t0) + 7*a210*b110*b210*cos(2*t - 3*t0) + a210*b220*cos(2*t - 3*t0) + (855*b310*cos(2*t - 3*t0))/32. + 6*b120*b310*cos(2*t - 3*t0) + 6*b110*b320*cos(2*t - 3*t0) + (3*b330*cos(2*t - 3*t0))/2. - (13*a120*cos(3*t - 3*t0))/2. - 6*a110*a210*a220*cos(3*t - 3*t0) + (5197*a110*b110*cos(3*t - 3*t0))/64. + (7*a130*b110*cos(3*t - 3*t0))/2. + (7*a120*b120*cos(3*t - 3*t0))/2. - 7*a110*b110*b120*cos(3*t - 3*t0) + (7*a110*b130*cos(3*t - 3*t0))/2. + (211*a210*b210*cos(3*t - 3*t0))/64. - (a230*b210*cos(3*t - 3*t0))/4. + (7*a220*b110*b210*cos(3*t - 3*t0))/2. + (7*a210*b120*b210*cos(3*t - 3*t0))/2. - (a220*b220*cos(3*t - 3*t0))/4. + (7*a210*b110*b220*cos(3*t - 3*t0))/2. - 4*a110*b210*b220*cos(3*t - 3*t0) - (a210*b230*cos(3*t - 3*t0))/4. - (99*a110*a120*b310*cos(3*t - 3*t0))/4. + (a210*a220*b310*cos(3*t - 3*t0))/4. - (1439*b110*b310*cos(3*t - 3*t0))/16. - (69*b110*b120*b310*cos(3*t - 3*t0))/4. - 10*a110*a210*b210*b310*cos(3*t - 3*t0) - (b210*b220*b310*cos(3*t - 3*t0))/4. - (117*b320*cos(3*t - 3*t0))/16. - (21*a110*b310*b320*cos(3*t - 3*t0))/2. - (157*a110*cos(4*t - 3*t0))/8. - (37*a120*b110*cos(4*t - 3*t0))/4. - (37*a110*b120*cos(4*t - 3*t0))/4. - (a220*b210*cos(4*t - 3*t0))/4. - (89*a210*b110*b210*cos(4*t - 3*t0))/8. - (a210*b220*cos(4*t - 3*t0))/4. - (51*b310*cos(4*t - 3*t0))/2. - (9351*a110*b110*cos(5*t - 3*t0))/128. + (399*a210*b210*cos(5*t - 3*t0))/128. - (8641*a110*cos(t - 2*t0))/128. - (15*a130*cos(t - 2*t0))/4. + (93*a120*b110*cos(t - 2*t0))/4. + (93*a110*b120*cos(t - 2*t0))/4. - 9*a220*b210*cos(t - 2*t0) - (183*a210*b110*b210*cos(t - 2*t0))/16. - 9*a210*b220*cos(t - 2*t0) + (5643*b310*cos(t - 2*t0))/64. + (153*b120*b310*cos(t - 2*t0))/8. + (153*b110*b320*cos(t - 2*t0))/8. + 3*b330*cos(t - 2*t0) + (145*a120*cos(2*t - 2*t0))/8. - (3*a110*a210*a220*cos(2*t - 2*t0))/2. + (73*a110*b110*cos(2*t - 2*t0))/4. + (69*a110*b110*b120*cos(2*t - 2*t0))/2. + (41*a210*b210*cos(2*t - 2*t0))/8. - (9*a220*b110*b210*cos(2*t - 2*t0))/2. - (9*a210*b120*b210*cos(2*t - 2*t0))/2. - (9*a210*b110*b220*cos(2*t - 2*t0))/2. + (3*a110*b210*b220*cos(2*t - 2*t0))/2. - 24*a110*a120*b310*cos(2*t - 2*t0) - 6*a210*a220*b310*cos(2*t - 2*t0) + (1203*b110*b310*cos(2*t - 2*t0))/8. + 24*b110*b120*b310*cos(2*t - 2*t0) + 3*b130*b310*cos(2*t - 2*t0) + (21*a110*a210*b210*b310*cos(2*t - 2*t0))/2. - 3*b210*b220*b310*cos(2*t - 2*t0) + 9*b320*cos(2*t - 2*t0) + 3*b120*b320*cos(2*t - 2*t0) - 24*a110*b310*b320*cos(2*t - 2*t0) + 3*b110*b330*cos(2*t - 2*t0) + (27061*a110*cos(3*t - 2*t0))/256. + (19*a130*cos(3*t - 2*t0))/4. - (25*a120*b110*cos(3*t - 2*t0))/4. - (25*a110*b120*cos(3*t - 2*t0))/4. + 5*a220*b210*cos(3*t - 2*t0) + (475*a210*b110*b210*cos(3*t - 2*t0))/32. + 5*a210*b220*cos(3*t - 2*t0) - (1719*b310*cos(3*t - 2*t0))/64. - (117*b120*b310*cos(3*t - 2*t0))/8. - (117*b110*b320*cos(3*t - 2*t0))/8. - (5*a120*cos(4*t - 2*t0))/4. + 77*a110*b110*cos(4*t - 2*t0) - (61*a210*b210*cos(4*t - 2*t0))/16. - 51*b110*b310*cos(4*t - 2*t0) - (9813*a110*cos(5*t - 2*t0))/256. + (13*a120*cos(t - t0))/2. + 6*a110*a210*a220*cos(t - t0) - (1613*a110*b110*cos(t - t0))/32. - (3*a130*b110*cos(t - t0))/2. - (3*a120*b120*cos(t - t0))/2. + 3*a110*b110*b120*cos(t - t0) - (3*a110*b130*cos(t - t0))/2. - (467*a210*b210*cos(t - t0))/32. - (3*a230*b210*cos(t - t0))/4. - (3*a220*b110*b210*cos(t - t0))/2. - (3*a210*b120*b210*cos(t - t0))/2. - (3*a220*b220*cos(t - t0))/4. - (3*a210*b110*b220*cos(t - t0))/2. - (3*a210*b230*cos(t - t0))/4. + (39*a110*a120*b310*cos(t - t0))/4. + (3*a210*a220*b310*cos(t - t0))/4. + (867*b110*b310*cos(t - t0))/16. + (33*b110*b120*b310*cos(t - t0))/4. + 6*a110*a210*b210*b310*cos(t - t0) - (3*b210*b220*b310*cos(t - t0))/4. + (81*b320*cos(t - t0))/16. + (9*a110*b310*b320*cos(t - t0))/2. - (1093*a110*cos(2*t - t0))/16. - 3*a130*cos(2*t - t0) + 39*a120*b110*cos(2*t - t0) + 39*a110*b120*cos(2*t - t0) - (21*a220*b210*cos(2*t - t0))/2. + (3*a210*b110*b210*cos(2*t - t0))/2. - (21*a210*b220*cos(2*t - t0))/2. + (3807*b310*cos(2*t - t0))/32. + 27*b120*b310*cos(2*t - t0) + 27*b110*b320*cos(2*t - t0) + (9*b330*cos(2*t - t0))/2. - (11*a120*cos(3*t - t0))/8. + (397*a110*b110*cos(3*t - t0))/128. + (403*a210*b210*cos(3*t - t0))/128. + (1089*b110*b310*cos(3*t - t0))/32. - (105*b320*cos(3*t - t0))/32. + (475*a110*cos(4*t - t0))/8. - (463*b310*cos(4*t - t0))/16. + 45*a110*cos(t0) - 2*a130*cos(t0) - (137*a120*b110*cos(t0))/4. - (137*a110*b120*cos(t0))/4. + (31*a220*b210*cos(t0))/4. + (91*a210*b110*b210*cos(t0))/4. + (31*a210*b220*cos(t0))/4. - (707*b310*cos(t0))/8. - 24*b120*b310*cos(t0) - 24*b110*b320*cos(t0) - 6*b330*cos(t0) - (115*a120*cos(2*t0))/8. - (123*a110*b110*cos(2*t0))/4. + (47*a210*b210*cos(2*t0))/4. - (301*b110*b310*cos(2*t0))/8. - (39*b320*cos(2*t0))/4. - (51*a110*cos(3*t0))/2. + (21*b310*cos(3*t0))/2. - (79*a120*cos(t + t0))/8. + (631*a110*b110*cos(t + t0))/64. - (935*a210*b210*cos(t + t0))/64. - (3105*b110*b310*cos(t + t0))/32. - (231*b320*cos(t + t0))/32. + (17*a110*cos(2*t + t0))/16. + (361*b310*cos(2*t + t0))/32. + (81*a110*cos(t + 2*t0))/128. - (3283*b310*cos(t + 2*t0))/64. + (69*a120*power(a110,2))/4. - (73*a210*b210*power(a110,2))/4. + (333*b110*b310*power(a110,2))/4. + (39*b320*power(a110,2))/2. + (867*b310*cos(t)*power(a110,2))/16. + 30*b310*cos(4*t - 5*t0)*power(a110,2) - (51*a210*b210*cos(5*t - 5*t0)*power(a110,2))/32. + (1441*b310*cos(3*t - 4*t0)*power(a110,2))/16. + 6*a120*cos(4*t - 4*t0)*power(a110,2) + 6*a210*b210*cos(4*t - 4*t0)*power(a110,2) + 60*b110*b310*cos(4*t - 4*t0)*power(a110,2) - (645*b310*cos(2*t - 3*t0)*power(a110,2))/8. - 42*a120*cos(3*t - 3*t0)*power(a110,2) - (691*a210*b210*cos(3*t - 3*t0)*power(a110,2))/32. + (861*b110*b310*cos(3*t - 3*t0)*power(a110,2))/8. - (99*b320*cos(3*t - 3*t0)*power(a110,2))/8. + (285*b310*cos(4*t - 3*t0)*power(a110,2))/4. - (2397*b310*cos(t - 2*t0)*power(a110,2))/16. + (3*a120*cos(2*t - 2*t0)*power(a110,2))/4. + (57*a210*b210*cos(2*t - 2*t0)*power(a110,2))/4. - (807*b110*b310*cos(2*t - 2*t0)*power(a110,2))/4. - 12*b320*cos(2*t - 2*t0)*power(a110,2) + (1025*b310*cos(3*t - 2*t0)*power(a110,2))/16. + 18*a120*cos(t - t0)*power(a110,2) + (339*a210*b210*cos(t - t0)*power(a110,2))/16. - (393*b110*b310*cos(t - t0)*power(a110,2))/8. + (39*b320*cos(t - t0)*power(a110,2))/8. - (1809*b310*cos(2*t - t0)*power(a110,2))/8. + 147*b310*cos(t0)*power(a110,2) + (113*b110*power(a110,3))/2. + (1135*cos(t)*power(a110,3))/32. + (97*cos(5*t - 6*t0)*power(a110,3))/64. + 26*cos(4*t - 5*t0)*power(a110,3) + (97*b110*cos(5*t - 5*t0)*power(a110,3))/32. + (8179*cos(3*t - 4*t0)*power(a110,3))/192. + 36*b110*cos(4*t - 4*t0)*power(a110,3) + (785*cos(5*t - 4*t0)*power(a110,3))/64. - (191*cos(2*t - 3*t0)*power(a110,3))/4. + (2113*b110*cos(3*t - 3*t0)*power(a110,3))/32. + 23*cos(4*t - 3*t0)*power(a110,3) - (3057*cos(t - 2*t0)*power(a110,3))/32. - (257*b110*cos(2*t - 2*t0)*power(a110,3))/2. + (9667*cos(3*t - 2*t0)*power(a110,3))/192. - (529*b110*cos(t - t0)*power(a110,3))/16. - (583*cos(2*t - t0)*power(a110,3))/4. + (587*cos(t0)*power(a110,3))/6. + (3*a120*power(a210,2))/4. + (41*a110*b110*power(a210,2))/2. + (223*b110*b310*power(a210,2))/16. + (5*b320*power(a210,2))/2. - (93*a110*cos(t)*power(a210,2))/32. + (3*b310*cos(t)*power(a210,2))/16. - (51*a110*cos(5*t - 6*t0)*power(a210,2))/64. + (81*a110*cos(4*t - 5*t0)*power(a210,2))/16. - (15*b310*cos(4*t - 5*t0)*power(a210,2))/32. - (51*a110*b110*cos(5*t - 5*t0)*power(a210,2))/32. + (397*a110*cos(3*t - 4*t0)*power(a210,2))/64. + (113*b310*cos(3*t - 4*t0)*power(a210,2))/16. + 12*a110*b110*cos(4*t - 4*t0)*power(a210,2) - (15*b110*b310*cos(4*t - 4*t0)*power(a210,2))/16. - (147*a110*cos(5*t - 4*t0)*power(a210,2))/64. - (51*a110*cos(2*t - 3*t0)*power(a210,2))/4. - (43*b310*cos(2*t - 3*t0)*power(a210,2))/8. - 3*a120*cos(3*t - 3*t0)*power(a210,2) + (157*a110*b110*cos(3*t - 3*t0)*power(a210,2))/32. + (121*b110*b310*cos(3*t - 3*t0)*power(a210,2))/8. + (b320*cos(3*t - 3*t0)*power(a210,2))/8. + (171*a110*cos(4*t - 3*t0)*power(a210,2))/16. - (41*b310*cos(4*t - 3*t0)*power(a210,2))/32. - (429*a110*cos(t - 2*t0)*power(a210,2))/32. - (213*b310*cos(t - 2*t0)*power(a210,2))/16. - (3*a120*cos(2*t - 2*t0)*power(a210,2))/4. - (57*a110*b110*cos(2*t - 2*t0)*power(a210,2))/2. - (39*b110*b310*cos(2*t - 2*t0)*power(a210,2))/2. - 3*b320*cos(2*t - 2*t0)*power(a210,2) + (333*a110*cos(3*t - 2*t0)*power(a210,2))/64. + (201*b310*cos(3*t - 2*t0)*power(a210,2))/16. + 3*a120*cos(t - t0)*power(a210,2) - (117*a110*b110*cos(t - t0)*power(a210,2))/16. - (69*b110*b310*cos(t - t0)*power(a210,2))/8. + (3*b320*cos(t - t0)*power(a210,2))/8. - (111*a110*cos(2*t - t0)*power(a210,2))/4. - (135*b310*cos(2*t - t0)*power(a210,2))/8. + (131*a110*cos(t0)*power(a210,2))/4. + (35*b310*cos(t0)*power(a210,2))/2. - (7*b210*power(a210,3))/4. + (3*b210*cos(5*t - 5*t0)*power(a210,3))/32. - (109*b210*cos(3*t - 3*t0)*power(a210,3))/32. + (15*b210*cos(2*t - 2*t0)*power(a210,3))/4. + (21*b210*cos(t - t0)*power(a210,3))/16. - (37*a120*power(b110,2))/4. + (29*a210*b210*power(b110,2))/4. - (15*b320*power(b110,2))/2. + (171*a110*cos(t)*power(b110,2))/32. - (375*b310*cos(t)*power(b110,2))/16. - (291*a110*cos(5*t - 6*t0)*power(b110,2))/64. - 24*a110*cos(4*t - 5*t0)*power(b110,2) + 6*b310*cos(4*t - 5*t0)*power(b110,2) + (51*a210*b210*cos(5*t - 5*t0)*power(b110,2))/32. - (675*a110*cos(3*t - 4*t0)*power(b110,2))/64. - (925*b310*cos(3*t - 4*t0)*power(b110,2))/16. - 6*a120*cos(4*t - 4*t0)*power(b110,2) - 6*a210*b210*cos(4*t - 4*t0)*power(b110,2) - (2355*a110*cos(5*t - 4*t0)*power(b110,2))/64. + (167*a110*cos(2*t - 3*t0)*power(b110,2))/4. + (309*b310*cos(2*t - 3*t0)*power(b110,2))/8. - (7*a120*cos(3*t - 3*t0)*power(b110,2))/2. + (275*a210*b210*cos(3*t - 3*t0)*power(b110,2))/32. - (69*b320*cos(3*t - 3*t0)*power(b110,2))/8. + (109*a110*cos(4*t - 3*t0)*power(b110,2))/4. - (63*b310*cos(4*t - 3*t0)*power(b110,2))/4. + (315*a110*cos(t - 2*t0)*power(b110,2))/32. + (1209*b310*cos(t - 2*t0)*power(b110,2))/16. + (69*a120*cos(2*t - 2*t0)*power(b110,2))/4. + (3*a210*b210*cos(2*t - 2*t0)*power(b110,2))/4. + 12*b320*cos(2*t - 2*t0)*power(b110,2) - (723*a110*cos(3*t - 2*t0)*power(b110,2))/64. - (557*b310*cos(3*t - 2*t0)*power(b110,2))/16. + (3*a120*cos(t - t0)*power(b110,2))/2. - (195*a210*b210*cos(t - t0)*power(b110,2))/16. + (33*b320*cos(t - t0)*power(b110,2))/8. + (93*a110*cos(2*t - t0)*power(b110,2))/4. + (777*b310*cos(2*t - t0)*power(b110,2))/8. - (81*a110*cos(t0)*power(b110,2))/4. - (171*b310*cos(t0)*power(b110,2))/2. - 9*a110*power(b110,3) - (75*b310*power(b110,3))/4. - (97*a110*cos(5*t - 5*t0)*power(b110,3))/32. + 4*b310*cos(4*t - 4*t0)*power(b110,3) - (513*a110*cos(3*t - 3*t0)*power(b110,3))/32. - (219*b310*cos(3*t - 3*t0)*power(b110,3))/8. + 21*a110*cos(2*t - 2*t0)*power(b110,3) + (113*b310*cos(2*t - 2*t0)*power(b110,3))/4. + (113*a110*cos(t - t0)*power(b110,3))/16. + (111*b310*cos(t - t0)*power(b110,3))/8. + (5*a120*power(b210,2))/4. - (17*a110*b110*power(b210,2))/4. + (41*b110*b310*power(b210,2))/16. + 2*b320*power(b210,2) + (681*a110*cos(t)*power(b210,2))/32. - (3*b310*cos(t)*power(b210,2))/8. + (51*a110*cos(5*t - 6*t0)*power(b210,2))/64. + (63*a110*cos(4*t - 5*t0)*power(b210,2))/16. + (15*b310*cos(4*t - 5*t0)*power(b210,2))/32. + (51*a110*b110*cos(5*t - 5*t0)*power(b210,2))/32. + (443*a110*cos(3*t - 4*t0)*power(b210,2))/64. + (47*b310*cos(3*t - 4*t0)*power(b210,2))/8. + 6*a110*b110*cos(4*t - 4*t0)*power(b210,2) + (15*b110*b310*cos(4*t - 4*t0)*power(b210,2))/16. + (147*a110*cos(5*t - 4*t0)*power(b210,2))/64. - 4*a110*cos(2*t - 3*t0)*power(b210,2) - (5*b310*cos(2*t - 3*t0)*power(b210,2))/8. - 2*a120*cos(3*t - 3*t0)*power(b210,2) + (355*a110*b110*cos(3*t - 3*t0)*power(b210,2))/32. + (43*b110*b310*cos(3*t - 3*t0)*power(b210,2))/4. - (b320*cos(3*t - 3*t0)*power(b210,2))/8. + (55*a110*cos(4*t - 3*t0)*power(b210,2))/16. + (41*b310*cos(4*t - 3*t0)*power(b210,2))/32. - (351*a110*cos(t - 2*t0)*power(b210,2))/32. - (63*b310*cos(t - 2*t0)*power(b210,2))/8. + (3*a120*cos(2*t - 2*t0)*power(b210,2))/4. - (87*a110*b110*cos(2*t - 2*t0)*power(b210,2))/4. - (21*b110*b310*cos(2*t - 2*t0)*power(b210,2))/2. - (3*b320*cos(2*t - 2*t0)*power(b210,2))/2. + (875*a110*cos(3*t - 2*t0)*power(b210,2))/64. + (75*b310*cos(3*t - 2*t0)*power(b210,2))/8. + (117*a110*b110*cos(t - t0)*power(b210,2))/16. - (15*b110*b310*cos(t - t0)*power(b210,2))/4. - (3*b320*cos(t - t0)*power(b210,2))/8. - (117*a110*cos(2*t - t0)*power(b210,2))/4. - (105*b310*cos(2*t - t0)*power(b210,2))/8. - (65*a110*cos(t0)*power(b210,2))/8. + 5*b310*cos(t0)*power(b210,2) - (3*a210*cos(5*t - 5*t0)*power(b210,3))/32. - (75*a210*cos(3*t - 3*t0)*power(b210,3))/32. + 3*a210*cos(2*t - 2*t0)*power(b210,3) - (9*a210*cos(t - t0)*power(b210,3))/16. + 15*a120*power(b310,2) + (275*a110*b110*power(b310,2))/4. - (7*a210*b210*power(b310,2))/4. + (27*b320*power(b310,2))/2. + 36*a110*cos(t)*power(b310,2) + 9*a110*cos(4*t - 5*t0)*power(b310,2) + 53*a110*cos(3*t - 4*t0)*power(b310,2) + 18*a110*b110*cos(4*t - 4*t0)*power(b310,2) - (69*a110*cos(2*t - 3*t0)*power(b310,2))/4. - (21*a120*cos(3*t - 3*t0)*power(b310,2))/4. + (385*a110*b110*cos(3*t - 3*t0)*power(b310,2))/4. - (23*a210*b210*cos(3*t - 3*t0)*power(b310,2))/4. + (111*a110*cos(4*t - 3*t0)*power(b310,2))/8. - (525*a110*cos(t - 2*t0)*power(b310,2))/4. - 12*a120*cos(2*t - 2*t0)*power(b310,2) - (543*a110*b110*cos(2*t - 2*t0)*power(b310,2))/4. + (27*a210*b210*cos(2*t - 2*t0)*power(b310,2))/4. - (27*b320*cos(2*t - 2*t0)*power(b310,2))/2. + (405*a110*cos(3*t - 2*t0)*power(b310,2))/4. + (9*a120*cos(t - t0)*power(b310,2))/4. - (189*a110*b110*cos(t - t0)*power(b310,2))/4. + (3*a210*b210*cos(t - t0)*power(b310,2))/4. - 183*a110*cos(2*t - t0)*power(b310,2) + (947*a110*cos(t0)*power(b310,2))/8. + (33*b110*power(b310,3))/2. - (3*cos(t)*power(b310,3))/16. + (207*cos(3*t - 4*t0)*power(b310,3))/16. - 6*cos(2*t - 3*t0)*power(b310,3) + (207*b110*cos(3*t - 3*t0)*power(b310,3))/8. - (339*cos(t - 2*t0)*power(b310,3))/16. - 30*b110*cos(2*t - 2*t0)*power(b310,3) + (351*cos(3*t - 2*t0)*power(b310,3))/16. - (99*b110*cos(t - t0)*power(b310,3))/8. - 30*cos(2*t - t0)*power(b310,3) + (45*cos(t0)*power(b310,3))/2. - (157*a110*a120*sin(t))/4. - 7*a210*a220*sin(t) + (25437*b110*sin(t))/128. + (79*b110*b120*sin(t))/4. + (17*b130*sin(t))/4. - (673*a110*a210*b210*sin(t))/16. - (29*b210*b220*sin(t))/4. - (69*a120*b310*sin(t))/8. - (87*a110*b110*b310*sin(t))/4. - (19*a210*b210*b310*sin(t))/4. - (69*a110*b320*sin(t))/8. - (15*b310*b320*sin(t))/4. + (1907*b110*power(a110,2)*sin(t))/32. - (439*b110*power(a210,2)*sin(t))/32. + (1779*power(b110,3)*sin(t))/32. - (549*b110*power(b210,2)*sin(t))/32. + (63*b110*power(b310,2)*sin(t))/2. + (1051*sin(2*t))/16. + (7*b120*sin(2*t))/2. - (183*a110*b310*sin(2*t))/8. + (77*power(a110,2)*sin(2*t))/8. - (power(a210,2)*sin(2*t))/2. + (505*power(b110,2)*sin(2*t))/8. + (11*power(b210,2)*sin(2*t))/4. + (135*power(b310,2)*sin(2*t))/8. - (22091*b110*sin(3*t))/768. - (473*sin(4*t))/16. + (97*sin(5*t - 9*t0))/2048. + (7*sin(4*t - 8*t0))/4. + (97*b110*sin(5*t - 8*t0))/256. + (11485*sin(3*t - 7*t0))/6144. + (21*b110*sin(4*t - 7*t0))/2. + (785*sin(5*t - 7*t0))/512. - (291*power(a110,2)*sin(5*t - 7*t0))/256. + (51*power(a210,2)*sin(5*t - 7*t0))/256. + (291*power(b110,2)*sin(5*t - 7*t0))/256. - (51*power(b210,2)*sin(5*t - 7*t0))/256. - (225*sin(2*t - 6*t0))/32. + (1379*b110*sin(3*t - 6*t0))/256. + (91*sin(4*t - 6*t0))/8. + (3*b120*sin(4*t - 6*t0))/2. - 6*a110*b310*sin(4*t - 6*t0) - 15*power(a110,2)*sin(4*t - 6*t0) - (33*power(a210,2)*sin(4*t - 6*t0))/32. + (45*power(b110,2)*sin(4*t - 6*t0))/2. - (39*power(b210,2)*sin(4*t - 6*t0))/32. - (9*power(b310,2)*sin(4*t - 6*t0))/4. + (2355*b110*sin(5*t - 6*t0))/256. + (51*a110*a210*b210*sin(5*t - 6*t0))/32. - (291*b110*power(a110,2)*sin(5*t - 6*t0))/64. + (51*b110*power(a210,2)*sin(5*t - 6*t0))/64. + (97*power(b110,3)*sin(5*t - 6*t0))/64. - (51*b110*power(b210,2)*sin(5*t - 6*t0))/64. - (6885*sin(t - 5*t0))/1024. - (553*b110*sin(2*t - 5*t0))/16. + (2065*sin(3*t - 5*t0))/1536. - (15*b120*sin(3*t - 5*t0))/8. - (79*a110*b310*sin(3*t - 5*t0))/4. - (2785*power(a110,2)*sin(3*t - 5*t0))/256. + (513*power(a210,2)*sin(3*t - 5*t0))/256. - (1079*power(b110,2)*sin(3*t - 5*t0))/256. - (65*power(b210,2)*sin(3*t - 5*t0))/256. + (119*power(b310,2)*sin(3*t - 5*t0))/32. - 6*a110*a120*sin(4*t - 5*t0) + 45*b110*sin(4*t - 5*t0) + 6*b110*b120*sin(4*t - 5*t0) - (33*a110*a210*b210*sin(4*t - 5*t0))/8. - 24*a110*b110*b310*sin(4*t - 5*t0) + (15*a210*b210*b310*sin(4*t - 5*t0))/16. - 30*b110*power(a110,2)*sin(4*t - 5*t0) - (81*b110*power(a210,2)*sin(4*t - 5*t0))/16. + 20*power(b110,3)*sin(4*t - 5*t0) - (63*b110*power(b210,2)*sin(4*t - 5*t0))/16. - 9*b110*power(b310,2)*sin(4*t - 5*t0) + (9351*sin(5*t - 5*t0))/1024. + (51*a110*a210*b110*b210*sin(5*t - 5*t0))/16. - (2355*power(a110,2)*sin(5*t - 5*t0))/128. + (97*power(a110,4)*sin(5*t - 5*t0))/128. + (147*power(a210,2)*sin(5*t - 5*t0))/128. - (51*power(a110,2)*power(a210,2)*sin(5*t - 5*t0))/64. + (3*power(a210,4)*sin(5*t - 5*t0))/128. + (2355*power(b110,2)*sin(5*t - 5*t0))/128. - (291*power(a110,2)*power(b110,2)*sin(5*t - 5*t0))/64. + (51*power(a210,2)*power(b110,2)*sin(5*t - 5*t0))/64. + (97*power(b110,4)*sin(5*t - 5*t0))/128. - (147*power(b210,2)*sin(5*t - 5*t0))/128. + (51*power(a110,2)*power(b210,2)*sin(5*t - 5*t0))/64. - (9*power(a210,2)*power(b210,2)*sin(5*t - 5*t0))/64. - (51*power(b110,2)*power(b210,2)*sin(5*t - 5*t0))/64. + (3*power(b210,4)*sin(5*t - 5*t0))/128. - (1149*b110*sin(t - 4*t0))/128. - (563*sin(2*t - 4*t0))/16. - 8*b120*sin(2*t - 4*t0) + (63*a110*b310*sin(2*t - 4*t0))/8. + (207*power(a110,2)*sin(2*t - 4*t0))/8. + (33*power(a210,2)*sin(2*t - 4*t0))/4. - (493*power(b110,2)*sin(2*t - 4*t0))/8. + (7*power(b210,2)*sin(2*t - 4*t0))/4. - (51*power(b310,2)*sin(2*t - 4*t0))/8. + (15*a110*a120*sin(3*t - 4*t0))/4. + 3*a210*a220*sin(3*t - 4*t0) - (9151*b110*sin(3*t - 4*t0))/256. - (29*b110*b120*sin(3*t - 4*t0))/4. - (7*b130*sin(3*t - 4*t0))/4. + (a110*a210*b210*sin(3*t - 4*t0))/32. + (7*b210*b220*sin(3*t - 4*t0))/4. + (15*a120*b310*sin(3*t - 4*t0))/8. - (119*a110*b110*b310*sin(3*t - 4*t0))/4. - (15*a210*b210*b310*sin(3*t - 4*t0))/4. + (15*a110*b320*sin(3*t - 4*t0))/8. + (21*b310*b320*sin(3*t - 4*t0))/4. - (237*b110*power(a110,2)*sin(3*t - 4*t0))/64. + (485*b110*power(a210,2)*sin(3*t - 4*t0))/64. - (3611*power(b110,3)*sin(3*t - 4*t0))/192. + (3*b110*power(b210,2)*sin(3*t - 4*t0))/64. + (29*b110*power(b310,2)*sin(3*t - 4*t0))/2. + (363*sin(4*t - 4*t0))/16. - 12*a110*a120*b110*sin(4*t - 4*t0) + (37*b120*sin(4*t - 4*t0))/8. - 12*a110*a210*b110*b210*sin(4*t - 4*t0) - (87*a110*b310*sin(4*t - 4*t0))/2. + (15*a210*b110*b210*b310*sin(4*t - 4*t0))/8. - (63*power(a110,2)*sin(4*t - 4*t0))/2. - 6*b120*power(a110,2)*sin(4*t - 4*t0) + 32*b310*power(a110,3)*sin(4*t - 4*t0) + 24*power(a110,4)*sin(4*t - 4*t0) - (63*power(a210,2)*sin(4*t - 4*t0))/16. - (15*a110*b310*power(a210,2)*sin(4*t - 4*t0))/16. + 6*power(a110,2)*power(a210,2)*sin(4*t - 4*t0) + (385*power(b110,2)*sin(4*t - 4*t0))/8. + 6*b120*power(b110,2)*sin(4*t - 4*t0) - 24*a110*b310*power(b110,2)*sin(4*t - 4*t0) - 6*power(a110,2)*power(b110,2)*sin(4*t - 4*t0) - 6*power(a210,2)*power(b110,2)*sin(4*t - 4*t0) + 6*power(b110,4)*sin(4*t - 4*t0) - (13*power(b210,2)*sin(4*t - 4*t0))/4. + (15*a110*b310*power(b210,2)*sin(4*t - 4*t0))/16. + 3*power(a110,2)*power(b210,2)*sin(4*t - 4*t0) - 3*power(b110,2)*power(b210,2)*sin(4*t - 4*t0) - (111*power(b310,2)*sin(4*t - 4*t0))/16. + 9*power(a110,2)*power(b310,2)*sin(4*t - 4*t0) - 9*power(b110,2)*power(b310,2)*sin(4*t - 4*t0) + (9351*b110*sin(5*t - 4*t0))/256. + (147*a110*a210*b210*sin(5*t - 4*t0))/32. - (2355*b110*power(a110,2)*sin(5*t - 4*t0))/64. + (147*b110*power(a210,2)*sin(5*t - 4*t0))/64. + (785*power(b110,3)*sin(5*t - 4*t0))/64. - (147*b110*power(b210,2)*sin(5*t - 4*t0))/64. - (153*sin(t - 3*t0))/256. + (51*b120*sin(t - 3*t0))/8. + (81*a110*b310*sin(t - 3*t0))/2. - (385*power(a110,2)*sin(t - 3*t0))/128. - (1195*power(a210,2)*sin(t - 3*t0))/128. + (3589*power(b110,2)*sin(t - 3*t0))/128. - (773*power(b210,2)*sin(t - 3*t0))/128. - (81*power(b310,2)*sin(t - 3*t0))/32. + (169*a110*a120*sin(2*t - 3*t0))/4. + (25*a210*a220*sin(2*t - 3*t0))/4. - (1861*b110*sin(2*t - 3*t0))/16. - (61*b110*b120*sin(2*t - 3*t0))/4. - 3*b130*sin(2*t - 3*t0) + (47*a110*a210*b210*sin(2*t - 3*t0))/2. + (11*b210*b220*sin(2*t - 3*t0))/4. + (27*a120*b310*sin(2*t - 3*t0))/2. + (75*a110*b110*b310*sin(2*t - 3*t0))/2. + (37*a210*b210*b310*sin(2*t - 3*t0))/4. + (27*a110*b320*sin(2*t - 3*t0))/2. + 3*b310*b320*sin(2*t - 3*t0) + (11*b110*power(a110,2)*sin(2*t - 3*t0))/4. + (31*b110*power(a210,2)*sin(2*t - 3*t0))/2. - 36*power(b110,3)*sin(2*t - 3*t0) + (27*b110*power(b210,2)*sin(2*t - 3*t0))/8. - (201*b110*power(b310,2)*sin(2*t - 3*t0))/8. - (38879*sin(3*t - 3*t0))/1024. + (7*a110*a130*sin(3*t - 3*t0))/2. - (a210*a230*sin(3*t - 3*t0))/4. + 14*a110*a120*b110*sin(3*t - 3*t0) + (13*a210*a220*b110*sin(3*t - 3*t0))/2. - (13*b120*sin(3*t - 3*t0))/2. - (7*b110*b130*sin(3*t - 3*t0))/2. + (11*a120*a210*b210*sin(3*t - 3*t0))/4. + (11*a110*a220*b210*sin(3*t - 3*t0))/4. + (129*a110*a210*b110*b210*sin(3*t - 3*t0))/16. + (11*a110*a210*b220*sin(3*t - 3*t0))/4. + 3*b110*b210*b220*sin(3*t - 3*t0) + (b210*b230*sin(3*t - 3*t0))/4. - (125*a110*b310*sin(3*t - 3*t0))/4. + (15*a120*b110*b310*sin(3*t - 3*t0))/4. + (15*a110*b120*b310*sin(3*t - 3*t0))/4. - (a220*b210*b310*sin(3*t - 3*t0))/4. - (19*a210*b110*b210*b310*sin(3*t - 3*t0))/2. - (a210*b220*b310*sin(3*t - 3*t0))/4. + (15*a110*b110*b320*sin(3*t - 3*t0))/4. - (a210*b210*b320*sin(3*t - 3*t0))/4. + (21*b110*b310*b320*sin(3*t - 3*t0))/2. + (4323*power(a110,2)*sin(3*t - 3*t0))/128. + 7*b120*power(a110,2)*sin(3*t - 3*t0) + (45*b310*power(a110,3)*sin(3*t - 3*t0))/4. - (233*power(a110,4)*sin(3*t - 3*t0))/128. + (7*power(a120,2)*sin(3*t - 3*t0))/4. + (757*power(a210,2)*sin(3*t - 3*t0))/128. + (13*b120*power(a210,2)*sin(3*t - 3*t0))/4. - 4*a110*b310*power(a210,2)*sin(3*t - 3*t0) - (405*power(a110,2)*power(a210,2)*sin(3*t - 3*t0))/64. - (211*power(a210,4)*sin(3*t - 3*t0))/128. - (power(a220,2)*sin(3*t - 3*t0))/8. - (12699*power(b110,2)*sin(3*t - 3*t0))/128. - (21*b120*power(b110,2)*sin(3*t - 3*t0))/2. + (93*a110*b310*power(b110,2)*sin(3*t - 3*t0))/4. - (477*power(a110,2)*power(b110,2)*sin(3*t - 3*t0))/64. + (709*power(a210,2)*power(b110,2)*sin(3*t - 3*t0))/64. - (1193*power(b110,4)*sin(3*t - 3*t0))/128. - (7*power(b120,2)*sin(3*t - 3*t0))/4. - (101*power(b210,2)*sin(3*t - 3*t0))/128. + (3*b120*power(b210,2)*sin(3*t - 3*t0))/2. + (5*a110*b310*power(b210,2)*sin(3*t - 3*t0))/8. + (29*power(a110,2)*power(b210,2)*sin(3*t - 3*t0))/64. - (15*power(a210,2)*power(b210,2)*sin(3*t - 3*t0))/64. + (123*power(b110,2)*power(b210,2)*sin(3*t - 3*t0))/64. - (11*power(b210,4)*sin(3*t - 3*t0))/128. + (power(b220,2)*sin(3*t - 3*t0))/8. + (9*power(b310,2)*sin(3*t - 3*t0))/16. + (21*b120*power(b310,2)*sin(3*t - 3*t0))/4. + (127*power(a110,2)*power(b310,2)*sin(3*t - 3*t0))/8. - (41*power(a210,2)*power(b310,2)*sin(3*t - 3*t0))/8. + (155*power(b110,2)*power(b310,2)*sin(3*t - 3*t0))/8. - 2*power(b210,2)*power(b310,2)*sin(3*t - 3*t0) - (45*a110*power(b310,3)*sin(3*t - 3*t0))/8. - (63*power(b310,4)*sin(3*t - 3*t0))/16. - (37*a110*a120*sin(4*t - 3*t0))/4. - (a210*a220*sin(4*t - 3*t0))/4. + (251*b110*sin(4*t - 3*t0))/8. + (37*b110*b120*sin(4*t - 3*t0))/4. - (95*a110*a210*b210*sin(4*t - 3*t0))/8. + (b210*b220*sin(4*t - 3*t0))/4. - 87*a110*b110*b310*sin(4*t - 3*t0) + (41*a210*b210*b310*sin(4*t - 3*t0))/16. + (23*b110*power(a110,2)*sin(4*t - 3*t0))/2. - (167*b110*power(a210,2)*sin(4*t - 3*t0))/16. + (29*power(b110,3)*sin(4*t - 3*t0))/4. - (63*b110*power(b210,2)*sin(4*t - 3*t0))/16. - (111*b110*power(b310,2)*sin(4*t - 3*t0))/8. + (9813*sin(5*t - 3*t0))/512. - (9351*power(a110,2)*sin(5*t - 3*t0))/256. + (399*power(a210,2)*sin(5*t - 3*t0))/256. + (9351*power(b110,2)*sin(5*t - 3*t0))/256. - (399*power(b210,2)*sin(5*t - 3*t0))/256. - (171*a110*a120*sin(t - 2*t0))/4. - (21*a210*a220*sin(t - 2*t0))/2. + (15449*b110*sin(t - 2*t0))/128. + (69*b110*b120*sin(t - 2*t0))/4. + (21*b130*sin(t - 2*t0))/4. - (441*a110*a210*b210*sin(t - 2*t0))/16. - (27*b210*b220*sin(t - 2*t0))/4. - (117*a120*b310*sin(t - 2*t0))/8. + (153*a110*b110*b310*sin(t - 2*t0))/4. - (3*a210*b210*b310*sin(t - 2*t0))/4. - (117*a110*b320*sin(t - 2*t0))/8. - (27*b310*b320*sin(t - 2*t0))/4. + (1323*b110*power(a110,2)*sin(t - 2*t0))/32. - (687*b110*power(a210,2)*sin(t - 2*t0))/32. + (1403*power(b110,3)*sin(t - 2*t0))/32. - (309*b110*power(b210,2)*sin(t - 2*t0))/32. + (93*b110*power(b310,2)*sin(t - 2*t0))/4. - (463*sin(2*t - 2*t0))/8. + 30*a110*a120*b110*sin(2*t - 2*t0) - (23*b120*sin(2*t - 2*t0))/4. - 3*a120*a210*b210*sin(2*t - 2*t0) - 3*a110*a220*b210*sin(2*t - 2*t0) + 24*a110*a210*b110*b210*sin(2*t - 2*t0) - 3*a110*a210*b220*sin(2*t - 2*t0) + (387*a110*b310*sin(2*t - 2*t0))/4. + 3*a130*b310*sin(2*t - 2*t0) + 3*a120*b110*b310*sin(2*t - 2*t0) + 3*a110*b120*b310*sin(2*t - 2*t0) + 3*a220*b210*b310*sin(2*t - 2*t0) + 18*a210*b110*b210*b310*sin(2*t - 2*t0) + 3*a210*b220*b310*sin(2*t - 2*t0) + 3*a120*b320*sin(2*t - 2*t0) + 3*a110*b110*b320*sin(2*t - 2*t0) + 3*a210*b210*b320*sin(2*t - 2*t0) - 12*b110*b310*b320*sin(2*t - 2*t0) + 3*a110*b330*sin(2*t - 2*t0) - (59*power(a110,2)*sin(2*t - 2*t0))/2. + 15*b120*power(a110,2)*sin(2*t - 2*t0) - (121*b310*power(a110,3)*sin(2*t - 2*t0))/2. - 49*power(a110,4)*sin(2*t - 2*t0) + 2*power(a210,2)*sin(2*t - 2*t0) - (3*a110*b310*power(a210,2)*sin(2*t - 2*t0))/4. - 12*power(a110,2)*power(a210,2)*sin(2*t - 2*t0) - (211*power(b110,2)*sin(2*t - 2*t0))/4. - 6*b120*power(b110,2)*sin(2*t - 2*t0) - (15*a110*b310*power(b110,2)*sin(2*t - 2*t0))/2. + 6*power(a210,2)*power(b110,2)*sin(2*t - 2*t0) - 6*power(b110,4)*sin(2*t - 2*t0) + (power(b210,2)*sin(2*t - 2*t0))/8. + (9*a110*b310*power(b210,2)*sin(2*t - 2*t0))/4. - (15*power(a110,2)*power(b210,2)*sin(2*t - 2*t0))/2. - 3*power(a210,2)*power(b210,2)*sin(2*t - 2*t0) + 3*power(b110,2)*power(b210,2)*sin(2*t - 2*t0) - (189*power(b310,2)*sin(2*t - 2*t0))/8. - 6*b120*power(b310,2)*sin(2*t - 2*t0) - 12*power(a110,2)*power(b310,2)*sin(2*t - 2*t0) + (9*power(a210,2)*power(b310,2)*sin(2*t - 2*t0))/2. - (39*power(b110,2)*power(b310,2)*sin(2*t - 2*t0))/2. + (9*power(b210,2)*power(b310,2)*sin(2*t - 2*t0))/2. + (57*a110*power(b310,3)*sin(2*t - 2*t0))/2. + 9*power(b310,4)*sin(2*t - 2*t0) + (137*a110*a120*sin(3*t - 2*t0))/4. + (19*a210*a220*sin(3*t - 2*t0))/2. - (40027*b110*sin(3*t - 2*t0))/256. - (79*b110*b120*sin(3*t - 2*t0))/4. - (19*b130*sin(3*t - 2*t0))/4. + (497*a110*a210*b210*sin(3*t - 2*t0))/32. + (17*b210*b220*sin(3*t - 2*t0))/4. + (111*a120*b310*sin(3*t - 2*t0))/8. + (353*a110*b110*b310*sin(3*t - 2*t0))/4. - (23*a210*b210*b310*sin(3*t - 2*t0))/4. + (111*a110*b320*sin(3*t - 2*t0))/8. + (57*b310*b320*sin(3*t - 2*t0))/4. - (301*b110*power(a110,2)*sin(3*t - 2*t0))/64. + (1237*b110*power(a210,2)*sin(3*t - 2*t0))/64. - (8507*power(b110,3)*sin(3*t - 2*t0))/192. + (67*b110*power(b210,2)*sin(3*t - 2*t0))/64. + (45*b110*power(b310,2)*sin(3*t - 2*t0))/4. + (9*sin(4*t - 2*t0))/8. + (5*b120*sin(4*t - 2*t0))/4. - (117*a110*b310*sin(4*t - 2*t0))/2. + (83*power(a110,2)*sin(4*t - 2*t0))/2. - (85*power(a210,2)*sin(4*t - 2*t0))/32. - (107*power(b110,2)*sin(4*t - 2*t0))/4. + (17*power(b210,2)*sin(4*t - 2*t0))/32. - (15*power(b310,2)*sin(4*t - 2*t0))/8. + (9813*b110*sin(5*t - 2*t0))/256. + (62301*sin(t - t0))/512. + (3*a110*a130*sin(t - t0))/2. + (3*a210*a230*sin(t - t0))/4. - 42*a110*a120*b110*sin(t - t0) - (15*a210*a220*b110*sin(t - t0))/2. + (19*b120*sin(t - t0))/2. + (9*b110*b130*sin(t - t0))/2. - (9*a120*a210*b210*sin(t - t0))/4. - (9*a110*a220*b210*sin(t - t0))/4. - (321*a110*a210*b110*b210*sin(t - t0))/8. - (9*a110*a210*b220*sin(t - t0))/4. - 9*b110*b210*b220*sin(t - t0) + (9*b210*b230*sin(t - t0))/4. - (99*a110*b310*sin(t - t0))/4. - (21*a120*b110*b310*sin(t - t0))/4. - (21*a110*b120*b310*sin(t - t0))/4. - (21*a220*b210*b310*sin(t - t0))/4. - (15*a210*b110*b210*b310*sin(t - t0))/2. - (21*a210*b220*b310*sin(t - t0))/4. - (21*a110*b110*b320*sin(t - t0))/4. - (21*a210*b210*b320*sin(t - t0))/4. + (9*b110*b310*b320*sin(t - t0))/2. + 3*b310*b330*sin(t - t0) + (4427*power(a110,2)*sin(t - t0))/64. - 21*b120*power(a110,2)*sin(t - t0) + (173*b310*power(a110,3)*sin(t - t0))/4. + (3115*power(a110,4)*sin(t - t0))/64. + (3*power(a120,2)*sin(t - t0))/4. - (511*power(a210,2)*sin(t - t0))/64. - (15*b120*power(a210,2)*sin(t - t0))/4. + 9*a110*b310*power(a210,2)*sin(t - t0) + (543*power(a110,2)*power(a210,2)*sin(t - t0))/32. + (117*power(a210,4)*sin(t - t0))/64. + (3*power(a220,2)*sin(t - t0))/8. + (10953*power(b110,2)*sin(t - t0))/64. + (27*b120*power(b110,2)*sin(t - t0))/2. + (69*a110*b310*power(b110,2)*sin(t - t0))/4. + (1059*power(a110,2)*power(b110,2)*sin(t - t0))/32. - (423*power(a210,2)*power(b110,2)*sin(t - t0))/32. + (971*power(b110,4)*sin(t - t0))/64. + (9*power(b120,2)*sin(t - t0))/4. - (249*power(b210,2)*sin(t - t0))/64. - (9*b120*power(b210,2)*sin(t - t0))/2. + (81*a110*b310*power(b210,2)*sin(t - t0))/8. + (693*power(a110,2)*power(b210,2)*sin(t - t0))/32. + (237*power(a210,2)*power(b210,2)*sin(t - t0))/32. - (249*power(b110,2)*power(b210,2)*sin(t - t0))/32. + (201*power(b210,4)*sin(t - t0))/64. + (9*power(b220,2)*sin(t - t0))/8. + (837*power(b310,2)*sin(t - t0))/16. + (9*b120*power(b310,2)*sin(t - t0))/4. - (45*power(a110,2)*power(b310,2)*sin(t - t0))/8. + (3*power(a210,2)*power(b310,2)*sin(t - t0))/8. + (135*power(b110,2)*power(b310,2)*sin(t - t0))/8. + 3*power(b210,2)*power(b310,2)*sin(t - t0) - (225*a110*power(b310,3)*sin(t - t0))/8. - (99*power(b310,4)*sin(t - t0))/16. + (3*power(b320,2)*sin(t - t0))/2. - (27*a110*a120*sin(2*t - t0))/4. - (27*a210*a220*sin(2*t - t0))/4. + (529*b110*sin(2*t - t0))/16. - (9*b110*b120*sin(2*t - t0))/4. + 3*b130*sin(2*t - t0) + (9*a110*a210*b210*sin(2*t - t0))/2. - (9*b210*b220*sin(2*t - t0))/4. - (21*a120*b310*sin(2*t - t0))/2. + (27*a110*b110*b310*sin(2*t - t0))/2. + (33*a210*b210*b310*sin(2*t - t0))/4. - (21*a110*b320*sin(2*t - t0))/2. - 15*b310*b320*sin(2*t - t0) + (33*b110*power(a110,2)*sin(2*t - t0))/4. + (3*b110*power(a210,2)*sin(2*t - t0))/2. + (13*power(b110,3)*sin(2*t - t0))/2. + (39*b110*power(b210,2)*sin(2*t - t0))/8. - (45*b110*power(b310,2)*sin(2*t - t0))/8. - (115843*sin(3*t - t0))/1536. - (65*b120*sin(3*t - t0))/8. + (345*a110*b310*sin(3*t - t0))/4. - (4197*power(a110,2)*sin(3*t - t0))/256. + (1405*power(a210,2)*sin(3*t - t0))/256. - (17523*power(b110,2)*sin(3*t - t0))/256. - (413*power(b210,2)*sin(3*t - t0))/256. - (309*power(b310,2)*sin(3*t - t0))/32. - (455*b110*sin(4*t - t0))/8. + (74987*sin(5*t - t0))/6144. + (73*a110*a120*sin(t0))/4. + (13*a210*a220*sin(t0))/4. - (241*b110*sin(t0))/2. - (25*b110*b120*sin(t0))/4. - 2*b130*sin(t0) + (91*a110*a210*b210*sin(t0))/4. + (11*b210*b220*sin(t0))/4. + 6*a120*b310*sin(t0) + 29*a110*b110*b310*sin(t0) + (43*a210*b210*b310*sin(t0))/8. + 6*a110*b320*sin(t0) + 6*b310*b320*sin(t0) - 32*b110*power(a110,2)*sin(t0) - (13*b110*power(a210,2)*sin(t0))/8. - (107*power(b110,3)*sin(t0))/4. + (13*b110*power(b210,2)*sin(t0))/2. - (157*b110*power(b310,2)*sin(t0))/8. - (619*sin(2*t0))/8. - (25*b120*sin(2*t0))/4. + (137*a110*b310*sin(2*t0))/4. - (67*power(a110,2)*sin(2*t0))/4. - (17*power(a210,2)*sin(2*t0))/8. - 77*power(b110,2)*sin(2*t0) + (33*power(b210,2)*sin(2*t0))/4. - (169*power(b310,2)*sin(2*t0))/8. - (709*b110*sin(3*t0))/12. - (45*sin(4*t0))/4. + (34777*sin(t + t0))/768. + (61*b120*sin(t + t0))/8. - (33*a110*b310*sin(t + t0))/2. + (1843*power(a110,2)*sin(t + t0))/128. - (215*power(a210,2)*sin(t + t0))/128. + (7473*power(b110,2)*sin(t + t0))/128. - (1833*power(b210,2)*sin(t + t0))/128. + (267*power(b310,2)*sin(t + t0))/32. + (1277*b110*sin(2*t + t0))/16. + (68645*sin(3*t + t0))/6144. - (89*b110*sin(t + 2*t0))/128. + (773*sin(2*t + 2*t0))/32. - (17213*sin(t + 3*t0))/1024.);
a2_e=a210*e + (power(e,2)*(8*a220 + 8*a210*b110 + 8*a110*b210 - 3*a210*cos(t) - a210*cos(3*t - 4*t0) - 2*a210*b110*cos(3*t - 3*t0) - 2*a110*b210*cos(3*t - 3*t0) - 3*a210*cos(t - 2*t0) - a210*cos(3*t - 2*t0) - 6*a210*b110*cos(t - t0) - 6*a110*b210*cos(t - t0) + 8*a210*cos(t0) + 9*b210*sin(t) + b210*sin(3*t - 4*t0) - 2*a110*a210*sin(3*t - 3*t0) + 2*b110*b210*sin(3*t - 3*t0) + 9*b210*sin(t - 2*t0) + b210*sin(3*t - 2*t0) + 6*a110*a210*sin(t - t0) + 18*b110*b210*sin(t - t0)))/8. + (power(e,3)*(-2*a210 + 32*a230 + 32*a220*b110 + 32*a210*b120 + 32*a120*b210 - 136*a110*b110*b210 + 32*a110*b220 - 128*a110*a210*b310 - 64*b110*b210*b310 - 12*a220*cos(t) - 48*a210*b110*cos(t) + 24*a110*b210*cos(t) + 24*b210*b310*cos(t) + 6*a210*cos(2*t) + 3*a210*cos(4*t - 6*t0) - 6*a210*cos(3*t - 5*t0) + 12*a210*b110*cos(4*t - 5*t0) + 12*a110*b210*cos(4*t - 5*t0) + 6*a210*cos(2*t - 4*t0) - 4*a220*cos(3*t - 4*t0) - 16*a210*b110*cos(3*t - 4*t0) + 8*a110*b210*cos(3*t - 4*t0) + 8*b210*b310*cos(3*t - 4*t0) + 6*a210*cos(4*t - 4*t0) + 24*a110*b110*b210*cos(4*t - 4*t0) + 24*a210*b110*cos(2*t - 3*t0) + 24*a110*b210*cos(2*t - 3*t0) - 4*a210*cos(3*t - 3*t0) - 8*a220*b110*cos(3*t - 3*t0) - 8*a210*b120*cos(3*t - 3*t0) - 8*a120*b210*cos(3*t - 3*t0) + 16*a110*b110*b210*cos(3*t - 3*t0) - 8*a110*b220*cos(3*t - 3*t0) + 32*a110*a210*b310*cos(3*t - 3*t0) + 16*b110*b210*b310*cos(3*t - 3*t0) + 12*a210*b110*cos(4*t - 3*t0) + 12*a110*b210*cos(4*t - 3*t0) + 12*a210*cos(2*t - 2*t0) + 48*a110*b110*b210*cos(2*t - 2*t0) - 4*a220*cos(3*t - 2*t0) - 16*a210*b110*cos(3*t - 2*t0) + 8*a110*b210*cos(3*t - 2*t0) + 8*b210*b310*cos(3*t - 2*t0) + 3*a210*cos(4*t - 2*t0) - 12*a210*cos(t - t0) - 24*a220*b110*cos(t - t0) - 24*a210*b120*cos(t - t0) - 24*a120*b210*cos(t - t0) + 48*a110*b110*b210*cos(t - t0) - 24*a110*b220*cos(t - t0) + 96*a110*a210*b310*cos(t - t0) + 48*b110*b210*b310*cos(t - t0) + 24*a210*b110*cos(2*t - t0) + 24*a110*b210*cos(2*t - t0) - 6*a210*cos(3*t - t0) + 20*a220*cos(t0) + 8*a210*b110*cos(t0) - 112*a110*b210*cos(t0) - 40*b210*b310*cos(t0) - 18*a210*cos(t)*cos(t0) - 6*a210*cos(2*t0) - 12*a220*cos(t)*cos(2*t0) - 48*a210*b110*cos(t)*cos(2*t0) + 24*a110*b210*cos(t)*cos(2*t0) + 24*b210*b310*cos(t)*cos(2*t0) + 12*a220*cos(t0)*cos(2*t0) + 48*a210*b110*cos(t0)*cos(2*t0) - 24*a110*b210*cos(t0)*cos(2*t0) - 24*b210*b310*cos(t0)*cos(2*t0) - 18*a210*cos(t)*cos(3*t0) + 18*a210*cos(t0)*cos(3*t0) - 156*a210*power(a110,2) - 12*a210*cos(4*t - 4*t0)*power(a110,2) + 48*a210*cos(3*t - 3*t0)*power(a110,2) - 24*a210*cos(2*t - 2*t0)*power(a110,2) + 144*a210*cos(t - t0)*power(a110,2) - 32*power(a210,3) + 8*cos(3*t - 3*t0)*power(a210,3) + 24*cos(t - t0)*power(a210,3) + 28*a210*power(b110,2) + 12*a210*cos(4*t - 4*t0)*power(b110,2) - 16*a210*cos(3*t - 3*t0)*power(b110,2) + 24*a210*cos(2*t - 2*t0)*power(b110,2) - 48*a210*cos(t - t0)*power(b110,2) + 16*a210*power(b210,2) - 4*a210*cos(3*t - 3*t0)*power(b210,2) - 12*a210*cos(t - t0)*power(b210,2) - 48*a210*power(b310,2) + 12*a210*cos(3*t - 3*t0)*power(b310,2) + 36*a210*cos(t - t0)*power(b310,2) + 18*a210*power(cos(t0),2) - 18*a210*power(sin(t0),2) - 84*a110*a210*sin(t) + 36*b220*sin(t) - 24*a210*b310*sin(t) + 18*b210*cos(t0)*sin(t) - 84*a110*a210*cos(2*t0)*sin(t) + 36*b220*cos(2*t0)*sin(t) - 24*a210*b310*cos(2*t0)*sin(t) + 18*b210*cos(3*t0)*sin(t) - 6*b210*sin(2*t) - 3*b210*sin(4*t - 6*t0) + 2*b210*sin(3*t - 5*t0) + 12*a110*a210*sin(4*t - 5*t0) - 12*b110*b210*sin(4*t - 5*t0) - 6*b210*sin(2*t - 4*t0) - 4*a110*a210*sin(3*t - 4*t0) + 4*b220*sin(3*t - 4*t0) + 8*a210*b310*sin(3*t - 4*t0) + 24*a110*a210*b110*sin(4*t - 4*t0) - 6*b210*sin(4*t - 4*t0) + 12*b210*power(a110,2)*sin(4*t - 4*t0) - 12*b210*power(b110,2)*sin(4*t - 4*t0) + 24*a110*a210*sin(2*t - 3*t0) - 24*b110*b210*sin(2*t - 3*t0) - 8*a120*a210*sin(3*t - 3*t0) - 8*a110*a220*sin(3*t - 3*t0) - 8*a110*a210*b110*sin(3*t - 3*t0) - 4*b210*sin(3*t - 3*t0) + 8*b120*b210*sin(3*t - 3*t0) + 8*b110*b220*sin(3*t - 3*t0) + 16*a210*b110*b310*sin(3*t - 3*t0) - 32*a110*b210*b310*sin(3*t - 3*t0) - 40*b210*power(a110,2)*sin(3*t - 3*t0) - 16*b210*power(a210,2)*sin(3*t - 3*t0) - 4*power(b210,3)*sin(3*t - 3*t0) - 12*b210*power(b310,2)*sin(3*t - 3*t0) + 12*a110*a210*sin(4*t - 3*t0) - 12*b110*b210*sin(4*t - 3*t0) + 48*a110*a210*b110*sin(2*t - 2*t0) - 12*b210*sin(2*t - 2*t0) + 24*b210*power(a110,2)*sin(2*t - 2*t0) - 24*b210*power(b110,2)*sin(2*t - 2*t0) - 4*a110*a210*sin(3*t - 2*t0) + 4*b220*sin(3*t - 2*t0) + 8*a210*b310*sin(3*t - 2*t0) - 3*b210*sin(4*t - 2*t0) + 24*a120*a210*sin(t - t0) + 24*a110*a220*sin(t - t0) - 168*a110*a210*b110*sin(t - t0) - 36*b210*sin(t - t0) + 72*b120*b210*sin(t - t0) + 72*b110*b220*sin(t - t0) - 48*a210*b110*b310*sin(t - t0) - 288*a110*b210*b310*sin(t - t0) - 264*b210*power(a110,2)*sin(t - t0) - 48*b210*power(a210,2)*sin(t - t0) - 36*power(b210,3)*sin(t - t0) - 108*b210*power(b310,2)*sin(t - t0) + 24*a110*a210*sin(2*t - t0) - 24*b110*b210*sin(2*t - t0) + 2*b210*sin(3*t - t0) + 84*a110*a210*sin(t0) - 36*b220*sin(t0) + 24*a210*b310*sin(t0) + 18*b210*cos(t)*sin(t0) - 36*b210*cos(t0)*sin(t0) + 84*a110*a210*cos(2*t0)*sin(t0) - 36*b220*cos(2*t0)*sin(t0) + 24*a210*b310*cos(2*t0)*sin(t0) - 18*b210*cos(3*t0)*sin(t0) + 18*a210*sin(t)*sin(t0) + 84*a110*a210*cos(t)*sin(2*t0) - 36*b220*cos(t)*sin(2*t0) + 24*a210*b310*cos(t)*sin(2*t0) - 84*a110*a210*cos(t0)*sin(2*t0) + 36*b220*cos(t0)*sin(2*t0) - 24*a210*b310*cos(t0)*sin(2*t0) - 12*a220*sin(t)*sin(2*t0) - 48*a210*b110*sin(t)*sin(2*t0) + 24*a110*b210*sin(t)*sin(2*t0) + 24*b210*b310*sin(t)*sin(2*t0) + 12*a220*sin(t0)*sin(2*t0) + 48*a210*b110*sin(t0)*sin(2*t0) - 24*a110*b210*sin(t0)*sin(2*t0) - 24*b210*b310*sin(t0)*sin(2*t0) - 18*b210*cos(t)*sin(3*t0) + 18*b210*cos(t0)*sin(3*t0) - 18*a210*sin(t)*sin(3*t0) + 18*a210*sin(t0)*sin(3*t0)))/32. + power(e,4)*((-39*a110*a120*a210)/4. - a220/16. + a240 + (195*a210*b110)/16. + a230*b110 + a220*b120 + (7*a210*b110*b120)/4. + a210*b130 - (361*a110*b210)/16. + a130*b210 - (17*a120*b110*b210)/4. - (17*a110*b120*b210)/4. + a120*b220 - (17*a110*b110*b220)/4. + a210*b210*b220 + a110*b230 - 4*a120*a210*b310 - 4*a110*a220*b310 + (19*a110*a210*b110*b310)/8. - (337*b210*b310)/32. - 2*b120*b210*b310 - 2*b110*b220*b310 - 4*a110*a210*b320 - 2*b110*b210*b320 - 3*a210*b310*b320 - (495*a210*cos(t))/64. - (3*a230*cos(t))/8. - (3*a220*b110*cos(t))/2. - (3*a210*b120*cos(t))/2. + (3*a120*b210*cos(t))/4. + 27*a110*b110*b210*cos(t) + (3*a110*b220*cos(t))/4. - (9*a110*a210*b310*cos(t))/4. - (69*b110*b210*b310*cos(t))/8. + (3*b220*b310*cos(t))/4. + (3*b210*b320*cos(t))/4. + (3*a220*cos(2*t))/16. + (33*a210*b110*cos(2*t))/16. - (183*a110*b210*cos(2*t))/16. + (123*b210*b310*cos(2*t))/16. + (37*a210*cos(3*t))/64. + (15*a210*cos(4*t - 7*t0))/32. - (3*a210*cos(3*t - 6*t0))/64. + (3*a220*cos(4*t - 6*t0))/32. + (63*a210*b110*cos(4*t - 6*t0))/32. + (27*a110*b210*cos(4*t - 6*t0))/32. - (9*b210*b310*cos(4*t - 6*t0))/64. + (3*a210*cos(5*t - 6*t0))/8. + (15*a210*cos(2*t - 5*t0))/32. - (3*a220*cos(3*t - 5*t0))/16. - (3*a210*b110*cos(3*t - 5*t0))/4. + (7*a110*b210*cos(3*t - 5*t0))/4. + (31*b210*b310*cos(3*t - 5*t0))/32. + (3*a210*cos(4*t - 5*t0))/2. + (3*a220*b110*cos(4*t - 5*t0))/8. + (3*a210*b120*cos(4*t - 5*t0))/8. + (3*a120*b210*cos(4*t - 5*t0))/8. + (3*a110*b110*b210*cos(4*t - 5*t0))/4. + (3*a110*b220*cos(4*t - 5*t0))/8. - (27*a110*a210*b310*cos(4*t - 5*t0))/16. - (9*b110*b210*b310*cos(4*t - 5*t0))/16. + (3*a210*b110*cos(5*t - 5*t0))/2. + (3*a110*b210*cos(5*t - 5*t0))/2. + (111*a210*cos(t - 4*t0))/64. + (3*a220*cos(2*t - 4*t0))/16. + (33*a210*b110*cos(2*t - 4*t0))/16. + (57*a110*b210*cos(2*t - 4*t0))/16. + (3*b210*b310*cos(2*t - 4*t0))/16. - (5*a210*cos(3*t - 4*t0))/64. - (a230*cos(3*t - 4*t0))/8. - (a220*b110*cos(3*t - 4*t0))/2. - (a210*b120*cos(3*t - 4*t0))/2. + (a120*b210*cos(3*t - 4*t0))/4. + 4*a110*b110*b210*cos(3*t - 4*t0) + (a110*b220*cos(3*t - 4*t0))/4. - (3*a110*a210*b310*cos(3*t - 4*t0))/4. + (17*b110*b210*b310*cos(3*t - 4*t0))/8. + (b220*b310*cos(3*t - 4*t0))/4. + (b210*b320*cos(3*t - 4*t0))/4. - (3*a110*a120*a210*cos(4*t - 4*t0))/4. + (3*a220*cos(4*t - 4*t0))/16. + (51*a210*b110*cos(4*t - 4*t0))/16. + (3*a210*b110*b120*cos(4*t - 4*t0))/4. + (15*a110*b210*cos(4*t - 4*t0))/16. + (3*a120*b110*b210*cos(4*t - 4*t0))/4. + (3*a110*b120*b210*cos(4*t - 4*t0))/4. + (3*a110*b110*b220*cos(4*t - 4*t0))/4. - (27*a110*a210*b110*b310*cos(4*t - 4*t0))/8. + (21*b210*b310*cos(4*t - 4*t0))/32. + (3*a210*cos(5*t - 4*t0))/2. + 3*a110*b110*b210*cos(5*t - 4*t0) - (9*a220*cos(t - 3*t0))/16. - (9*a210*b110*cos(t - 3*t0))/4. + (21*a110*b210*cos(t - 3*t0))/4. + (333*b210*b310*cos(t - 3*t0))/32. + (21*a210*cos(2*t - 3*t0))/32. + (3*a220*b110*cos(2*t - 3*t0))/4. + (3*a210*b120*cos(2*t - 3*t0))/4. + (3*a120*b210*cos(2*t - 3*t0))/4. + (21*a110*b110*b210*cos(2*t - 3*t0))/4. + (3*a110*b220*cos(2*t - 3*t0))/4. - (3*a110*a210*b310*cos(2*t - 3*t0))/2. + (3*b110*b210*b310*cos(2*t - 3*t0))/4. + 3*a110*a120*a210*cos(3*t - 3*t0) - (a220*cos(3*t - 3*t0))/8. - 3*a210*b110*cos(3*t - 3*t0) - (a230*b110*cos(3*t - 3*t0))/4. - (a220*b120*cos(3*t - 3*t0))/4. - a210*b110*b120*cos(3*t - 3*t0) - (a210*b130*cos(3*t - 3*t0))/4. + (11*a110*b210*cos(3*t - 3*t0))/2. - (a130*b210*cos(3*t - 3*t0))/4. + (a120*b110*b210*cos(3*t - 3*t0))/2. + (a110*b120*b210*cos(3*t - 3*t0))/2. - (a120*b220*cos(3*t - 3*t0))/4. + (a110*b110*b220*cos(3*t - 3*t0))/2. - (a210*b210*b220*cos(3*t - 3*t0))/4. - (a110*b230*cos(3*t - 3*t0))/4. + a120*a210*b310*cos(3*t - 3*t0) + a110*a220*b310*cos(3*t - 3*t0) + a110*a210*b110*b310*cos(3*t - 3*t0) + (23*b210*b310*cos(3*t - 3*t0))/16. + (b120*b210*b310*cos(3*t - 3*t0))/2. + (b110*b220*b310*cos(3*t - 3*t0))/2. + a110*a210*b320*cos(3*t - 3*t0) + (b110*b210*b320*cos(3*t - 3*t0))/2. + (3*a210*b310*b320*cos(3*t - 3*t0))/4. + (33*a210*cos(4*t - 3*t0))/32. + (3*a220*b110*cos(4*t - 3*t0))/8. + (3*a210*b120*cos(4*t - 3*t0))/8. + (3*a120*b210*cos(4*t - 3*t0))/8. - 3*a110*b110*b210*cos(4*t - 3*t0) + (3*a110*b220*cos(4*t - 3*t0))/8. - (57*a110*a210*b310*cos(4*t - 3*t0))/16. + (21*b110*b210*b310*cos(4*t - 3*t0))/16. + 3*a210*b110*cos(5*t - 3*t0) + 3*a110*b210*cos(5*t - 3*t0) - (495*a210*cos(t - 2*t0))/64. - (3*a230*cos(t - 2*t0))/8. - (3*a220*b110*cos(t - 2*t0))/2. - (3*a210*b120*cos(t - 2*t0))/2. + (3*a120*b210*cos(t - 2*t0))/4. + 12*a110*b110*b210*cos(t - 2*t0) + (3*a110*b220*cos(t - 2*t0))/4. + (21*a110*a210*b310*cos(t - 2*t0))/4. + (111*b110*b210*b310*cos(t - 2*t0))/8. + (3*b220*b310*cos(t - 2*t0))/4. + (3*b210*b320*cos(t - 2*t0))/4. - (3*a110*a120*a210*cos(2*t - 2*t0))/2. + (3*a220*cos(2*t - 2*t0))/8. + (21*a210*b110*cos(2*t - 2*t0))/8. + (3*a210*b110*b120*cos(2*t - 2*t0))/2. + (45*a110*b210*cos(2*t - 2*t0))/8. + (3*a120*b110*b210*cos(2*t - 2*t0))/2. + (3*a110*b120*b210*cos(2*t - 2*t0))/2. + (3*a110*b110*b220*cos(2*t - 2*t0))/2. - 3*a110*a210*b110*b310*cos(2*t - 2*t0) + (33*b210*b310*cos(2*t - 2*t0))/8. - (125*a210*cos(3*t - 2*t0))/64. - (a230*cos(3*t - 2*t0))/8. - (a220*b110*cos(3*t - 2*t0))/2. - (a210*b120*cos(3*t - 2*t0))/2. + (a120*b210*cos(3*t - 2*t0))/4. + 14*a110*b110*b210*cos(3*t - 2*t0) + (a110*b220*cos(3*t - 2*t0))/4. + (7*a110*a210*b310*cos(3*t - 2*t0))/4. - (3*b110*b210*b310*cos(3*t - 2*t0))/8. + (b220*b310*cos(3*t - 2*t0))/4. + (b210*b320*cos(3*t - 2*t0))/4. + (3*a220*cos(4*t - 2*t0))/32. - (57*a210*b110*cos(4*t - 2*t0))/32. - (93*a110*b210*cos(4*t - 2*t0))/32. + (111*b210*b310*cos(4*t - 2*t0))/64. + (13*a210*cos(5*t - 2*t0))/8. + 9*a110*a120*a210*cos(t - t0) - (3*a220*cos(t - t0))/8. - (33*a210*b110*cos(t - t0))/2. - (3*a230*b110*cos(t - t0))/4. - (3*a220*b120*cos(t - t0))/4. - 3*a210*b110*b120*cos(t - t0) - (3*a210*b130*cos(t - t0))/4. + 9*a110*b210*cos(t - t0) - (3*a130*b210*cos(t - t0))/4. + (3*a120*b110*b210*cos(t - t0))/2. + (3*a110*b120*b210*cos(t - t0))/2. - (3*a120*b220*cos(t - t0))/4. + (3*a110*b110*b220*cos(t - t0))/2. - (3*a210*b210*b220*cos(t - t0))/4. - (3*a110*b230*cos(t - t0))/4. + 3*a120*a210*b310*cos(t - t0) + 3*a110*a220*b310*cos(t - t0) + 3*a110*a210*b110*b310*cos(t - t0) + (69*b210*b310*cos(t - t0))/16. + (3*b120*b210*b310*cos(t - t0))/2. + (3*b110*b220*b310*cos(t - t0))/2. + 3*a110*a210*b320*cos(t - t0) + (3*b110*b210*b320*cos(t - t0))/2. + (9*a210*b310*b320*cos(t - t0))/4. + (21*a210*cos(2*t - t0))/32. + (3*a220*b110*cos(2*t - t0))/4. + (3*a210*b120*cos(2*t - t0))/4. + (3*a120*b210*cos(2*t - t0))/4. - (39*a110*b110*b210*cos(2*t - t0))/4. + (3*a110*b220*cos(2*t - t0))/4. - (3*a110*a210*b310*cos(2*t - t0))/2. + (33*b110*b210*b310*cos(2*t - t0))/4. - (3*a220*cos(3*t - t0))/16. - (3*a210*b110*cos(3*t - t0))/4. + (47*a110*b210*cos(3*t - t0))/4. - (49*b210*b310*cos(3*t - t0))/32. - (15*a210*cos(4*t - t0))/8. + (377*a210*cos(t0))/32. + a230*cos(t0) + (7*a220*b110*cos(t0))/4. + (7*a210*b120*cos(t0))/4. - (17*a120*b210*cos(t0))/4. - (213*a110*b110*b210*cos(t0))/4. - (17*a110*b220*cos(t0))/4. + (17*a110*a210*b310*cos(t0))/4. - (67*b110*b210*b310*cos(t0))/4. - 2*b220*b310*cos(t0) - 2*b210*b320*cos(t0) + (15*a220*cos(2*t0))/16. + (219*a210*b110*cos(2*t0))/16. - (513*a110*b210*cos(2*t0))/16. - (231*b210*b310*cos(2*t0))/32. + (155*a210*cos(3*t0))/32. - (9*a220*cos(t + t0))/16. - (69*a210*b110*cos(t + t0))/4. + (81*a110*b210*cos(t + t0))/4. - (387*b210*b310*cos(t + t0))/32. + (15*a210*cos(2*t + t0))/32. - (529*a210*cos(t + 2*t0))/64. - (39*a220*power(a110,2))/8. + (a210*b110*power(a110,2))/8. + (467*b210*b310*power(a110,2))/16. + (45*a210*cos(t)*power(a110,2))/4. - (21*a210*cos(4*t - 5*t0)*power(a110,2))/8. + (5*a210*cos(3*t - 4*t0)*power(a110,2))/4. - (3*a220*cos(4*t - 4*t0)*power(a110,2))/8. - (27*a210*b110*cos(4*t - 4*t0)*power(a110,2))/8. - (63*b210*b310*cos(4*t - 4*t0)*power(a110,2))/16. - (3*a210*cos(5*t - 4*t0)*power(a110,2))/2. - (27*a210*cos(2*t - 3*t0)*power(a110,2))/8. + (3*a220*cos(3*t - 3*t0)*power(a110,2))/2. + (5*a210*b110*cos(3*t - 3*t0)*power(a110,2))/2. - (31*b210*b310*cos(3*t - 3*t0)*power(a110,2))/8. - (3*a210*cos(4*t - 3*t0)*power(a110,2))/4. + (15*a210*cos(t - 2*t0)*power(a110,2))/4. - (3*a220*cos(2*t - 2*t0)*power(a110,2))/4. - (27*a210*b110*cos(2*t - 2*t0)*power(a110,2))/4. - (39*b210*b310*cos(2*t - 2*t0)*power(a110,2))/4. + (5*a210*cos(3*t - 2*t0)*power(a110,2))/4. + (9*a220*cos(t - t0)*power(a110,2))/2. + (15*a210*b110*cos(t - t0)*power(a110,2))/2. - (93*b210*b310*cos(t - t0)*power(a110,2))/8. - (27*a210*cos(2*t - t0)*power(a110,2))/8. - (47*a210*cos(t0)*power(a110,2))/8. + (145*b210*power(a110,3))/8. - (27*b210*cos(4*t - 4*t0)*power(a110,3))/8. - 2*b210*cos(3*t - 3*t0)*power(a110,3) - (27*b210*cos(2*t - 2*t0)*power(a110,3))/4. - 6*b210*cos(t - t0)*power(a110,3) - 3*a220*power(a210,2) + (5*a110*b210*power(a210,2))/2. + (3*b210*b310*power(a210,2))/2. + (9*a110*b210*cos(5*t - 5*t0)*power(a210,2))/32. - (3*a110*b210*cos(4*t - 4*t0)*power(a210,2))/2. + (3*a220*cos(3*t - 3*t0)*power(a210,2))/4. + (25*a110*b210*cos(3*t - 3*t0)*power(a210,2))/32. - (3*b210*b310*cos(3*t - 3*t0)*power(a210,2))/8. - 3*a110*b210*cos(2*t - 2*t0)*power(a210,2) + (9*a220*cos(t - t0)*power(a210,2))/4. + (15*a110*b210*cos(t - t0)*power(a210,2))/16. - (9*b210*b310*cos(t - t0)*power(a210,2))/8. - (7*b110*power(a210,3))/4. + (45*cos(t)*power(a210,3))/32. + (3*cos(5*t - 6*t0)*power(a210,3))/64. - (3*cos(4*t - 5*t0)*power(a210,3))/8. + (3*b110*cos(5*t - 5*t0)*power(a210,3))/32. + (45*cos(3*t - 4*t0)*power(a210,3))/64. - (3*b110*cos(4*t - 4*t0)*power(a210,3))/4. + (9*cos(5*t - 4*t0)*power(a210,3))/64. - (3*cos(2*t - 3*t0)*power(a210,3))/4. + (35*b110*cos(3*t - 3*t0)*power(a210,3))/32. - (3*cos(4*t - 3*t0)*power(a210,3))/8. + (15*cos(t - 2*t0)*power(a210,3))/32. - (3*b110*cos(2*t - 2*t0)*power(a210,3))/2. + (15*cos(3*t - 2*t0)*power(a210,3))/64. + (45*b110*cos(t - t0)*power(a210,3))/16. - (3*cos(2*t - t0)*power(a210,3))/4. - (3*cos(t0)*power(a210,3))/4. + (7*a220*power(b110,2))/8. - (101*a110*b210*power(b110,2))/8. - (59*b210*b310*power(b110,2))/16. - (57*a210*cos(t)*power(b110,2))/4. + (21*a210*cos(4*t - 5*t0)*power(b110,2))/8. - (9*a210*cos(3*t - 4*t0)*power(b110,2))/4. + (3*a220*cos(4*t - 4*t0)*power(b110,2))/8. - (9*a110*b210*cos(4*t - 4*t0)*power(b110,2))/8. - (9*b210*b310*cos(4*t - 4*t0)*power(b110,2))/16. + (3*a210*cos(5*t - 4*t0)*power(b110,2))/2. + (27*a210*cos(2*t - 3*t0)*power(b110,2))/8. - (a220*cos(3*t - 3*t0)*power(b110,2))/2. + 4*a110*b210*cos(3*t - 3*t0)*power(b110,2) + (7*b210*b310*cos(3*t - 3*t0)*power(b110,2))/8. + (3*a210*cos(4*t - 3*t0)*power(b110,2))/4. - (27*a210*cos(t - 2*t0)*power(b110,2))/4. + (3*a220*cos(2*t - 2*t0)*power(b110,2))/4. - (9*a110*b210*cos(2*t - 2*t0)*power(b110,2))/4. + (3*b210*b310*cos(2*t - 2*t0)*power(b110,2))/4. - (9*a210*cos(3*t - 2*t0)*power(b110,2))/4. - (3*a220*cos(t - t0)*power(b110,2))/2. + 12*a110*b210*cos(t - t0)*power(b110,2) + (21*b210*b310*cos(t - t0)*power(b110,2))/8. + (27*a210*cos(2*t - t0)*power(b110,2))/8. + (111*a210*cos(t0)*power(b110,2))/8. + (21*a210*power(b110,3))/8. + (9*a210*cos(4*t - 4*t0)*power(b110,3))/8. - (3*a210*cos(3*t - 3*t0)*power(b110,3))/2. + (9*a210*cos(2*t - 2*t0)*power(b110,3))/4. - (9*a210*cos(t - t0)*power(b110,3))/2. + (a220*power(b210,2))/2. + (23*a210*b110*power(b210,2))/8. - (39*a210*cos(t)*power(b210,2))/32. - (9*a210*cos(5*t - 6*t0)*power(b210,2))/64. + (3*a210*cos(4*t - 5*t0)*power(b210,2))/16. - (9*a210*b110*cos(5*t - 5*t0)*power(b210,2))/32. - (71*a210*cos(3*t - 4*t0)*power(b210,2))/64. + (3*a210*b110*cos(4*t - 4*t0)*power(b210,2))/8. - (27*a210*cos(5*t - 4*t0)*power(b210,2))/64. + (3*a210*cos(2*t - 3*t0)*power(b210,2))/8. - (a220*cos(3*t - 3*t0)*power(b210,2))/8. - (41*a210*b110*cos(3*t - 3*t0)*power(b210,2))/32. + (3*a210*cos(4*t - 3*t0)*power(b210,2))/16. - (129*a210*cos(t - 2*t0)*power(b210,2))/32. + (3*a210*b110*cos(2*t - 2*t0)*power(b210,2))/4. - (101*a210*cos(3*t - 2*t0)*power(b210,2))/64. - (3*a220*cos(t - t0)*power(b210,2))/8. - (39*a210*b110*cos(t - t0)*power(b210,2))/16. + (3*a210*cos(2*t - t0)*power(b210,2))/8. + (59*a210*cos(t0)*power(b210,2))/8. + (33*a110*power(b210,3))/8. + (3*b310*power(b210,3))/2. - (3*a110*cos(5*t - 5*t0)*power(b210,3))/32. - (3*a110*cos(4*t - 4*t0)*power(b210,3))/8. - (27*a110*cos(3*t - 3*t0)*power(b210,3))/32. - (3*b310*cos(3*t - 3*t0)*power(b210,3))/8. - (3*a110*cos(2*t - 2*t0)*power(b210,3))/4. - (33*a110*cos(t - t0)*power(b210,3))/16. - (9*b310*cos(t - t0)*power(b210,3))/8. - (3*a220*power(b310,2))/2. - (5*a210*b110*power(b310,2))/8. + (139*a110*b210*power(b310,2))/8. + (3*a210*cos(t)*power(b310,2))/2. - (9*a210*cos(4*t - 5*t0)*power(b310,2))/16. + (a210*cos(3*t - 4*t0)*power(b310,2))/2. - (9*a210*b110*cos(4*t - 4*t0)*power(b310,2))/8. - (9*a110*b210*cos(4*t - 4*t0)*power(b310,2))/8. - (9*a210*cos(2*t - 3*t0)*power(b310,2))/8. + (3*a220*cos(3*t - 3*t0)*power(b310,2))/8. + a210*b110*cos(3*t - 3*t0)*power(b310,2) - (7*a110*b210*cos(3*t - 3*t0)*power(b310,2))/2. - (9*a210*cos(4*t - 3*t0)*power(b310,2))/16. - (3*a210*cos(t - 2*t0)*power(b310,2))/8. - (9*a210*b110*cos(2*t - 2*t0)*power(b310,2))/4. - (9*a110*b210*cos(2*t - 2*t0)*power(b310,2))/4. - (a210*cos(3*t - 2*t0)*power(b310,2))/8. + (9*a220*cos(t - t0)*power(b310,2))/8. + 3*a210*b110*cos(t - t0)*power(b310,2) - (21*a110*b210*cos(t - t0)*power(b310,2))/2. - (9*a210*cos(2*t - t0)*power(b310,2))/8. + (15*a210*cos(t0)*power(b310,2))/8. + 3*b210*power(b310,3) - (3*b210*cos(3*t - 3*t0)*power(b310,3))/4. - (9*b210*cos(t - t0)*power(b310,3))/4. - (21*a120*a210*sin(t))/8. - (21*a110*a220*sin(t))/8. - (39*a110*a210*b110*sin(t))/2. - (39*b210*sin(t))/64. + (9*b230*sin(t))/8. - (3*a220*b310*sin(t))/4. + (9*a210*b110*b310*sin(t))/8. - (3*a110*b210*b310*sin(t))/4. - (3*a210*b320*sin(t))/4. + (135*b210*power(a110,2)*sin(t))/8. + (51*b210*power(a210,2)*sin(t))/32. - 12*b210*power(b110,2)*sin(t) + (183*power(b210,3)*sin(t))/32. + 6*b210*power(b310,2)*sin(t) + (3*a110*a210*sin(2*t))/4. + (165*b110*b210*sin(2*t))/16. - (3*b220*sin(2*t))/16. - (3*a210*b310*sin(2*t))/4. - (1235*b210*sin(3*t))/192. - (3*b210*sin(4*t - 7*t0))/8. - (25*b210*sin(3*t - 6*t0))/64. + (21*a110*a210*sin(4*t - 6*t0))/16. - (45*b110*b210*sin(4*t - 6*t0))/32. - (3*b220*sin(4*t - 6*t0))/32. - (9*a210*b310*sin(4*t - 6*t0))/64. - (3*b210*sin(5*t - 6*t0))/8. - (9*b210*power(a210,2)*sin(5*t - 6*t0))/64. + (3*power(b210,3)*sin(5*t - 6*t0))/64. - (39*b210*sin(2*t - 5*t0))/32. + (7*a110*a210*sin(3*t - 5*t0))/16. - (11*b110*b210*sin(3*t - 5*t0))/8. + (b220*sin(3*t - 5*t0))/16. + (43*a210*b310*sin(3*t - 5*t0))/32. + (3*a120*a210*sin(4*t - 5*t0))/8. + (3*a110*a220*sin(4*t - 5*t0))/8. + (21*a110*a210*b110*sin(4*t - 5*t0))/8. - (39*b210*sin(4*t - 5*t0))/32. - (3*b120*b210*sin(4*t - 5*t0))/8. - (3*b110*b220*sin(4*t - 5*t0))/8. - (9*a210*b110*b310*sin(4*t - 5*t0))/16. + (27*a110*b210*b310*sin(4*t - 5*t0))/16. + (15*b210*power(a110,2)*sin(4*t - 5*t0))/8. + (3*b210*power(a210,2)*sin(4*t - 5*t0))/4. - (3*b210*power(b110,2)*sin(4*t - 5*t0))/2. + (3*power(b210,3)*sin(4*t - 5*t0))/16. + (9*b210*power(b310,2)*sin(4*t - 5*t0))/16. + (3*a110*a210*sin(5*t - 5*t0))/2. - (3*b110*b210*sin(5*t - 5*t0))/2. - (9*b110*b210*power(a210,2)*sin(5*t - 5*t0))/32. + (3*a110*power(a210,3)*sin(5*t - 5*t0))/32. - (9*a110*a210*power(b210,2)*sin(5*t - 5*t0))/32. + (3*b110*power(b210,3)*sin(5*t - 5*t0))/32. - (297*b210*sin(t - 4*t0))/64. + (3*a110*a210*sin(2*t - 4*t0))/4. - (75*b110*b210*sin(2*t - 4*t0))/16. - (3*b220*sin(2*t - 4*t0))/16. - (3*a210*b310*sin(2*t - 4*t0))/4. - (a120*a210*sin(3*t - 4*t0))/8. - (a110*a220*sin(3*t - 4*t0))/8. - (a110*a210*b110*sin(3*t - 4*t0))/2. - (127*b210*sin(3*t - 4*t0))/64. + (b230*sin(3*t - 4*t0))/8. + (a220*b310*sin(3*t - 4*t0))/4. + (29*a210*b110*b310*sin(3*t - 4*t0))/8. + (9*a110*b210*b310*sin(3*t - 4*t0))/4. + (a210*b320*sin(3*t - 4*t0))/4. + (23*b210*power(a110,2)*sin(3*t - 4*t0))/8. - (85*b210*power(a210,2)*sin(3*t - 4*t0))/64. - (3*b210*power(b110,2)*sin(3*t - 4*t0))/2. + (39*power(b210,3)*sin(3*t - 4*t0))/64. + (b210*power(b310,2)*sin(3*t - 4*t0))/4. + (15*a110*a210*sin(4*t - 4*t0))/8. + (3*a120*a210*b110*sin(4*t - 4*t0))/4. + (3*a110*a220*b110*sin(4*t - 4*t0))/4. + (3*a110*a210*b120*sin(4*t - 4*t0))/4. + (3*a110*a120*b210*sin(4*t - 4*t0))/4. - (33*b110*b210*sin(4*t - 4*t0))/16. - (3*b110*b120*b210*sin(4*t - 4*t0))/4. - (3*b220*sin(4*t - 4*t0))/16. + (21*a210*b310*sin(4*t - 4*t0))/32. + (27*a110*b110*b210*b310*sin(4*t - 4*t0))/8. + (15*b110*b210*power(a110,2)*sin(4*t - 4*t0))/8. + (3*b220*power(a110,2)*sin(4*t - 4*t0))/8. - (63*a210*b310*power(a110,2)*sin(4*t - 4*t0))/16. - (15*a210*power(a110,3)*sin(4*t - 4*t0))/4. + (3*b110*b210*power(a210,2)*sin(4*t - 4*t0))/2. - (3*a110*power(a210,3)*sin(4*t - 4*t0))/4. + (3*a110*a210*power(b110,2)*sin(4*t - 4*t0))/4. - (3*b220*power(b110,2)*sin(4*t - 4*t0))/8. - (9*a210*b310*power(b110,2)*sin(4*t - 4*t0))/16. - (3*b210*power(b110,3)*sin(4*t - 4*t0))/8. + (3*a110*a210*power(b210,2)*sin(4*t - 4*t0))/8. + (3*b110*power(b210,3)*sin(4*t - 4*t0))/8. - (9*a110*a210*power(b310,2)*sin(4*t - 4*t0))/8. + (9*b110*b210*power(b310,2)*sin(4*t - 4*t0))/8. + 3*a110*a210*b110*sin(5*t - 4*t0) - (3*b210*sin(5*t - 4*t0))/2. + (3*b210*power(a110,2)*sin(5*t - 4*t0))/2. - (27*b210*power(a210,2)*sin(5*t - 4*t0))/64. - (3*b210*power(b110,2)*sin(5*t - 4*t0))/2. + (9*power(b210,3)*sin(5*t - 4*t0))/64. - (69*a110*a210*sin(t - 3*t0))/16. - (63*b110*b210*sin(t - 3*t0))/8. + (9*b220*sin(t - 3*t0))/16. + (207*a210*b310*sin(t - 3*t0))/32. + (3*a120*a210*sin(2*t - 3*t0))/4. + (3*a110*a220*sin(2*t - 3*t0))/4. + (3*a110*a210*b110*sin(2*t - 3*t0))/2. - (153*b210*sin(2*t - 3*t0))/32. - (3*b120*b210*sin(2*t - 3*t0))/4. - (3*b110*b220*sin(2*t - 3*t0))/4. - 3*a210*b110*b310*sin(2*t - 3*t0) + (21*a110*b210*b310*sin(2*t - 3*t0))/4. + (45*b210*power(a110,2)*sin(2*t - 3*t0))/8. + (3*b210*power(a210,2)*sin(2*t - 3*t0))/2. - (39*b210*power(b110,2)*sin(2*t - 3*t0))/8. + (3*power(b210,3)*sin(2*t - 3*t0))/8. + (9*b210*power(b310,2)*sin(2*t - 3*t0))/8. - (11*a110*a210*sin(3*t - 3*t0))/8. - (a130*a210*sin(3*t - 3*t0))/4. - (a120*a220*sin(3*t - 3*t0))/4. - (a110*a230*sin(3*t - 3*t0))/4. - (a120*a210*b110*sin(3*t - 3*t0))/4. - (a110*a220*b110*sin(3*t - 3*t0))/4. - (a110*a210*b120*sin(3*t - 3*t0))/4. - (5*a110*a120*b210*sin(3*t - 3*t0))/2. - a210*a220*b210*sin(3*t - 3*t0) - (21*b110*b210*sin(3*t - 3*t0))/4. + (b130*b210*sin(3*t - 3*t0))/4. - (b220*sin(3*t - 3*t0))/8. + (b120*b220*sin(3*t - 3*t0))/4. + (b110*b230*sin(3*t - 3*t0))/4. + (35*a210*b310*sin(3*t - 3*t0))/16. + (a220*b110*b310*sin(3*t - 3*t0))/2. + (a210*b120*b310*sin(3*t - 3*t0))/2. - a120*b210*b310*sin(3*t - 3*t0) + 2*a110*b110*b210*b310*sin(3*t - 3*t0) - a110*b220*b310*sin(3*t - 3*t0) + (a210*b110*b320*sin(3*t - 3*t0))/2. - a110*b210*b320*sin(3*t - 3*t0) - (3*b210*b310*b320*sin(3*t - 3*t0))/4. + (23*b110*b210*power(a110,2)*sin(3*t - 3*t0))/4. - (5*b220*power(a110,2)*sin(3*t - 3*t0))/4. - (7*a210*b310*power(a110,2)*sin(3*t - 3*t0))/8. + (5*a210*power(a110,3)*sin(3*t - 3*t0))/2. - (55*b110*b210*power(a210,2)*sin(3*t - 3*t0))/32. - (b220*power(a210,2)*sin(3*t - 3*t0))/2. + (a110*power(a210,3)*sin(3*t - 3*t0))/32. - (3*b310*power(a210,3)*sin(3*t - 3*t0))/8. - (a110*a210*power(b110,2)*sin(3*t - 3*t0))/2. + (19*a210*b310*power(b110,2)*sin(3*t - 3*t0))/8. - b210*power(b110,3)*sin(3*t - 3*t0) - (47*a110*a210*power(b210,2)*sin(3*t - 3*t0))/32. - (3*b220*power(b210,2)*sin(3*t - 3*t0))/8. - (3*a210*b310*power(b210,2)*sin(3*t - 3*t0))/8. + (29*b110*power(b210,3)*sin(3*t - 3*t0))/32. - (19*a110*a210*power(b310,2)*sin(3*t - 3*t0))/8. + (b110*b210*power(b310,2)*sin(3*t - 3*t0))/2. - (3*b220*power(b310,2)*sin(3*t - 3*t0))/8. - (3*a210*power(b310,3)*sin(3*t - 3*t0))/4. + (3*a120*a210*sin(4*t - 3*t0))/8. + (3*a110*a220*sin(4*t - 3*t0))/8. - (9*a110*a210*b110*sin(4*t - 3*t0))/8. - (3*b210*sin(4*t - 3*t0))/4. - (3*b120*b210*sin(4*t - 3*t0))/8. - (3*b110*b220*sin(4*t - 3*t0))/8. + (21*a210*b110*b310*sin(4*t - 3*t0))/16. + (57*a110*b210*b310*sin(4*t - 3*t0))/16. + (3*b210*power(a210,2)*sin(4*t - 3*t0))/4. + (3*b210*power(b110,2)*sin(4*t - 3*t0))/8. + (3*power(b210,3)*sin(4*t - 3*t0))/16. + (9*b210*power(b310,2)*sin(4*t - 3*t0))/16. + 3*a110*a210*sin(5*t - 3*t0) - 3*b110*b210*sin(5*t - 3*t0) - (21*a120*a210*sin(t - 2*t0))/8. - (21*a110*a220*sin(t - 2*t0))/8. - (9*a110*a210*b110*sin(t - 2*t0))/2. - (39*b210*sin(t - 2*t0))/64. + (9*b230*sin(t - 2*t0))/8. - (3*a220*b310*sin(t - 2*t0))/4. + (69*a210*b110*b310*sin(t - 2*t0))/8. + (27*a110*b210*b310*sin(t - 2*t0))/4. - (3*a210*b320*sin(t - 2*t0))/4. + (75*b210*power(a110,2)*sin(t - 2*t0))/8. - (39*b210*power(a210,2)*sin(t - 2*t0))/32. - (9*b210*power(b110,2)*sin(t - 2*t0))/2. + (153*power(b210,3)*sin(t - 2*t0))/32. + (33*b210*power(b310,2)*sin(t - 2*t0))/8. + (3*a120*a210*b110*sin(2*t - 2*t0))/2. + (3*a110*a220*b110*sin(2*t - 2*t0))/2. + (3*a110*a210*b120*sin(2*t - 2*t0))/2. + (3*a110*a120*b210*sin(2*t - 2*t0))/2. - (63*b110*b210*sin(2*t - 2*t0))/8. - (3*b110*b120*b210*sin(2*t - 2*t0))/2. - (3*b220*sin(2*t - 2*t0))/8. - (3*a210*b310*sin(2*t - 2*t0))/2. + (21*a110*b110*b210*b310*sin(2*t - 2*t0))/2. + (15*b110*b210*power(a110,2)*sin(2*t - 2*t0))/4. + (3*b220*power(a110,2)*sin(2*t - 2*t0))/4. - 6*a210*b310*power(a110,2)*sin(2*t - 2*t0) - (15*a210*power(a110,3)*sin(2*t - 2*t0))/2. + 3*b110*b210*power(a210,2)*sin(2*t - 2*t0) - (3*a110*power(a210,3)*sin(2*t - 2*t0))/2. + (3*a110*a210*power(b110,2)*sin(2*t - 2*t0))/2. - (3*b220*power(b110,2)*sin(2*t - 2*t0))/4. - 3*a210*b310*power(b110,2)*sin(2*t - 2*t0) - (3*b210*power(b110,3)*sin(2*t - 2*t0))/4. + (3*a110*a210*power(b210,2)*sin(2*t - 2*t0))/4. + (3*b110*power(b210,3)*sin(2*t - 2*t0))/4. - (9*a110*a210*power(b310,2)*sin(2*t - 2*t0))/4. + (9*b110*b210*power(b310,2)*sin(2*t - 2*t0))/4. - (a120*a210*sin(3*t - 2*t0))/8. - (a110*a220*sin(3*t - 2*t0))/8. - (a110*a210*b110*sin(3*t - 2*t0))/2. - (247*b210*sin(3*t - 2*t0))/64. + (b230*sin(3*t - 2*t0))/8. + (a220*b310*sin(3*t - 2*t0))/4. + (9*a210*b110*b310*sin(3*t - 2*t0))/8. - (a110*b210*b310*sin(3*t - 2*t0))/4. + (a210*b320*sin(3*t - 2*t0))/4. + (63*b210*power(a110,2)*sin(3*t - 2*t0))/8. - (55*b210*power(a210,2)*sin(3*t - 2*t0))/64. - (13*b210*power(b110,2)*sin(3*t - 2*t0))/2. + (69*power(b210,3)*sin(3*t - 2*t0))/64. + (7*b210*power(b310,2)*sin(3*t - 2*t0))/8. - (39*a110*a210*sin(4*t - 2*t0))/16. + (75*b110*b210*sin(4*t - 2*t0))/32. - (3*b220*sin(4*t - 2*t0))/32. + (111*a210*b310*sin(4*t - 2*t0))/64. - (13*b210*sin(5*t - 2*t0))/8. - (27*a110*a210*sin(t - t0))/8. + (3*a130*a210*sin(t - t0))/4. + (3*a120*a220*sin(t - t0))/4. + (3*a110*a230*sin(t - t0))/4. - (21*a120*a210*b110*sin(t - t0))/4. - (21*a110*a220*b110*sin(t - t0))/4. - (21*a110*a210*b120*sin(t - t0))/4. - (33*a110*a120*b210*sin(t - t0))/2. - 3*a210*a220*b210*sin(t - t0) - (3*b110*b210*sin(t - t0))/4. + (9*b130*b210*sin(t - t0))/4. - (9*b220*sin(t - t0))/8. + (9*b120*b220*sin(t - t0))/4. + (9*b110*b230*sin(t - t0))/4. - (9*a210*b310*sin(t - t0))/16. - (3*a220*b110*b310*sin(t - t0))/2. - (3*a210*b120*b310*sin(t - t0))/2. - 9*a120*b210*b310*sin(t - t0) + 6*a110*b110*b210*b310*sin(t - t0) - 9*a110*b220*b310*sin(t - t0) - (3*a210*b110*b320*sin(t - t0))/2. - 9*a110*b210*b320*sin(t - t0) - (27*b210*b310*b320*sin(t - t0))/4. + (75*b110*b210*power(a110,2)*sin(t - t0))/4. - (33*b220*power(a110,2)*sin(t - t0))/4. + (213*a210*b310*power(a110,2)*sin(t - t0))/8. + (45*a210*power(a110,3)*sin(t - t0))/2. - (39*b110*b210*power(a210,2)*sin(t - t0))/16. - (3*b220*power(a210,2)*sin(t - t0))/2. + (87*a110*power(a210,3)*sin(t - t0))/16. + (9*b310*power(a210,3)*sin(t - t0))/8. - (9*a110*a210*power(b110,2)*sin(t - t0))/2. + (39*a210*b310*power(b110,2)*sin(t - t0))/8. - 3*b210*power(b110,3)*sin(t - t0) + (45*a110*a210*power(b210,2)*sin(t - t0))/16. - (27*b220*power(b210,2)*sin(t - t0))/8. + (9*a210*b310*power(b210,2)*sin(t - t0))/8. + (93*b110*power(b210,3)*sin(t - t0))/16. + (129*a110*a210*power(b310,2)*sin(t - t0))/8. + (9*b110*b210*power(b310,2)*sin(t - t0))/2. - (27*b220*power(b310,2)*sin(t - t0))/8. + (9*a210*power(b310,3)*sin(t - t0))/4. + (3*a120*a210*sin(2*t - t0))/4. + (3*a110*a220*sin(2*t - t0))/4. + (3*a110*a210*b110*sin(2*t - t0))/2. - (93*b210*sin(2*t - t0))/32. - (3*b120*b210*sin(2*t - t0))/4. - (3*b110*b220*sin(2*t - t0))/4. - 3*a210*b110*b310*sin(2*t - t0) + (51*a110*b210*b310*sin(2*t - t0))/4. - (15*b210*power(a110,2)*sin(2*t - t0))/8. + (3*b210*power(a210,2)*sin(2*t - t0))/2. + (21*b210*power(b110,2)*sin(2*t - t0))/8. + (3*power(b210,3)*sin(2*t - t0))/8. + (9*b210*power(b310,2)*sin(2*t - t0))/8. + (7*a110*a210*sin(3*t - t0))/16. - (91*b110*b210*sin(3*t - t0))/8. + (b220*sin(3*t - t0))/16. - (37*a210*b310*sin(3*t - t0))/32. + (63*b210*sin(4*t - t0))/32. + (63*a110*a210*b110*sin(t0))/4. + (21*b210*sin(t0))/32. + (65*a210*b110*b310*sin(t0))/8. + (5*a110*b210*b310*sin(t0))/8. - (37*b210*power(a110,2)*sin(t0))/8. - 3*b210*power(a210,2)*sin(t0) + (37*b210*power(b110,2)*sin(t0))/8. - (3*power(b210,3)*sin(t0))/2. - (5*b210*power(b310,2)*sin(t0))/2. + (63*a110*a210*sin(2*t0))/4. + (37*b110*b210*sin(2*t0))/4. + (65*a210*b310*sin(2*t0))/8. + (571*b210*sin(3*t0))/96. - (309*a110*a210*sin(t + t0))/16. - (183*b110*b210*sin(t + t0))/8. + (9*b220*sin(t + t0))/16. - (33*a210*b310*sin(t + t0))/32. + (261*b210*sin(2*t + t0))/32. - (937*b210*sin(t + 2*t0))/64.);
a3_e=e*cos(t) + (power(e,2)*(-52 - 24*b110*cos(t) + 35*cos(2*t) + 3*cos(2*t - 4*t0) + 12*cos(t - 3*t0) + 12*b110*cos(2*t - 3*t0) + 24*b110*cos(t - 2*t0) + 18*cos(2*t - 2*t0) + 32*cos(t - t0) - 24*a110*b310*cos(t - t0) + 36*b110*cos(2*t - t0) - 40*b110*cos(t0) - 44*cos(t + t0) - 8*power(a110,2) - 12*cos(2*t - 2*t0)*power(a110,2) - 4*power(a210,2) - 8*power(b110,2) + 12*cos(2*t - 2*t0)*power(b110,2) - 4*power(b210,2) - 8*power(b310,2) - 24*a110*sin(t) + 44*b310*sin(t) + 12*a110*sin(2*t - 3*t0) + 24*a110*sin(t - 2*t0) + 12*b310*sin(t - 2*t0) + 24*a110*b110*sin(2*t - 2*t0) + 24*b110*b310*sin(t - t0) + 36*a110*sin(2*t - t0) + 24*a110*sin(t0) - 32*b310*sin(t0)))/8. + (power(e,3)*(192*a110*a120 - 336*b110 - 192*b110*b120 - 64*a110*a210*b210 + 192*a120*b310 + 384*a110*b110*b310 + 192*a210*b210*b310 + 192*a110*b320 - 157*cos(t) - 192*b120*cos(t) + 672*a110*b310*cos(t) + 480*b110*cos(2*t) + 207*cos(3*t) - 13*cos(3*t - 6*t0) + 24*cos(2*t - 5*t0) - 78*b110*cos(3*t - 5*t0) + 96*b110*cos(2*t - 4*t0) - 63*cos(3*t - 4*t0) + 120*cos(2*t - 3*t0) + 96*b120*cos(2*t - 3*t0) - 96*a110*b310*cos(2*t - 3*t0) - 252*b110*cos(3*t - 3*t0) + 16*a110*a210*b210*cos(3*t - 3*t0) - 192*a110*a120*cos(2*t - 2*t0) + 384*b110*cos(2*t - 2*t0) + 192*b110*b120*cos(2*t - 2*t0) - 192*a110*a210*b210*cos(2*t - 2*t0) - 192*a110*b110*b310*cos(2*t - 2*t0) - 27*cos(3*t - 2*t0) + 204*b110*cos(t - t0) + 240*a110*a210*b210*cos(t - t0) - 192*a120*b310*cos(t - t0) - 192*a110*b110*b310*cos(t - t0) - 192*a210*b210*b310*cos(t - t0) - 192*a110*b320*cos(t - t0) + 232*cos(2*t - t0) + 288*b120*cos(2*t - t0) - 864*a110*b310*cos(2*t - t0) - 54*b110*cos(3*t - t0) - 105*cos(t0) - 192*b120*cos(t0) + 288*a110*b310*cos(t0) - 378*b110*cos(t)*cos(t0) + 8*cos(2*t)*cos(t0) - 444*b110*cos(2*t0) - 168*cos(t)*cos(2*t0) + 192*b120*cos(t)*cos(2*t0) - 864*a110*b310*cos(t)*cos(2*t0) + 160*cos(t0)*cos(2*t0) - 192*b120*cos(t0)*cos(2*t0) + 864*a110*b310*cos(t0)*cos(2*t0) - 218*cos(3*t0) + 462*b110*cos(t)*cos(3*t0) - 462*b110*cos(t0)*cos(3*t0) + 189*cos(t)*cos(4*t0) - 189*cos(t0)*cos(4*t0) + 864*b110*power(a110,2) + 372*cos(t)*power(a110,2) + 156*cos(3*t - 4*t0)*power(a110,2) - 96*cos(2*t - 3*t0)*power(a110,2) + 312*b110*cos(3*t - 3*t0)*power(a110,2) - 384*b110*cos(2*t - 2*t0)*power(a110,2) + 252*cos(3*t - 2*t0)*power(a110,2) - 792*b110*cos(t - t0)*power(a110,2) - 1056*cos(2*t - t0)*power(a110,2) + 372*cos(t0)*power(a110,2) - 1260*cos(t)*cos(2*t0)*power(a110,2) + 1260*cos(t0)*cos(2*t0)*power(a110,2) + 160*b110*power(a210,2) + 204*cos(t)*power(a210,2) + 4*cos(3*t - 4*t0)*power(a210,2) - 96*cos(2*t - 3*t0)*power(a210,2) + 8*b110*cos(3*t - 3*t0)*power(a210,2) - 192*b110*cos(2*t - 2*t0)*power(a210,2) + 4*cos(3*t - 2*t0)*power(a210,2) + 24*b110*cos(t - t0)*power(a210,2) - 288*cos(2*t - t0)*power(a210,2) + 172*cos(t0)*power(a210,2) - 180*cos(t)*cos(2*t0)*power(a210,2) + 180*cos(t0)*cos(2*t0)*power(a210,2) - 84*cos(t)*power(b110,2) - 156*cos(3*t - 4*t0)*power(b110,2) + 192*cos(2*t - 3*t0)*power(b110,2) - 252*cos(3*t - 2*t0)*power(b110,2) + 576*cos(2*t - t0)*power(b110,2) - 276*cos(t0)*power(b110,2) + 396*cos(t)*cos(2*t0)*power(b110,2) - 396*cos(t0)*cos(2*t0)*power(b110,2) - 160*power(b110,3) - 104*cos(3*t - 3*t0)*power(b110,3) + 192*cos(2*t - 2*t0)*power(b110,3) + 72*cos(t - t0)*power(b110,3) + 128*b110*power(b210,2) + 84*cos(t)*power(b210,2) - 4*cos(3*t - 4*t0)*power(b210,2) - 48*cos(2*t - 3*t0)*power(b210,2) - 8*b110*cos(3*t - 3*t0)*power(b210,2) - 96*b110*cos(2*t - 2*t0)*power(b210,2) - 4*cos(3*t - 2*t0)*power(b210,2) - 24*b110*cos(t - t0)*power(b210,2) - 144*cos(2*t - t0)*power(b210,2) + 116*cos(t0)*power(b210,2) - 108*cos(t)*cos(2*t0)*power(b210,2) + 108*cos(t0)*cos(2*t0)*power(b210,2) - 96*b110*power(b310,2) + 480*cos(t)*power(b310,2) - 144*cos(2*t - 3*t0)*power(b310,2) - 288*b110*cos(2*t - 2*t0)*power(b310,2) + 384*b110*cos(t - t0)*power(b310,2) - 432*cos(2*t - t0)*power(b310,2) + 96*cos(t0)*power(b310,2) - 96*cos(t)*cos(2*t0)*power(b310,2) + 96*cos(t0)*cos(2*t0)*power(b310,2) + 16*(-20*a110*a120 - 4*a210*a220 + b110 + 4*b110*b120 - 4*b210*b220 - 12*a120*b310 - 12*a110*b110*b310 - 12*a110*b320 - 8*b310*b320 - cos(t0) + 4*b120*cos(t0) - 12*a110*b310*cos(t0) + 5*b110*cos(2*t0) + 3*cos(3*t0) - 6*b110*power(a110,2) - 6*cos(t0)*power(a110,2) - 6*b110*power(a210,2) - 6*cos(t0)*power(a210,2) + 6*cos(t0)*power(b110,2) + 2*power(b110,3) - 6*b110*power(b310,2) - 6*cos(t0)*power(b310,2)) + 378*b110*power(cos(t0),2) - 378*b110*power(sin(t0),2) - 192*a120*sin(t) + 2472*a110*b110*sin(t) - 744*a210*b210*sin(t) + 1920*b110*b310*sin(t) + 352*b320*sin(t) + 1002*a110*cos(t0)*sin(t) + 816*b310*cos(t0)*sin(t) + 192*a120*cos(2*t0)*sin(t) + 744*a110*b110*cos(2*t0)*sin(t) + 24*a210*b210*cos(2*t0)*sin(t) + 384*b110*b310*cos(2*t0)*sin(t) + 96*b320*cos(2*t0)*sin(t) + 258*a110*cos(3*t0)*sin(t) + 48*b310*cos(3*t0)*sin(t) - 96*a110*sin(2*t) - 152*b310*sin(2*t) - 78*a110*sin(3*t - 5*t0) - 96*a110*sin(2*t - 4*t0) - 120*b310*sin(2*t - 4*t0) - 312*a110*b110*sin(3*t - 4*t0) - 8*a210*b210*sin(3*t - 4*t0) + 96*a120*sin(2*t - 3*t0) - 384*a110*b110*sin(2*t - 3*t0) + 96*a210*b210*sin(2*t - 3*t0) - 480*b110*b310*sin(2*t - 3*t0) - 252*a110*sin(3*t - 3*t0) - 16*a210*b110*b210*sin(3*t - 3*t0) + 104*power(a110,3)*sin(3*t - 3*t0) + 8*a110*power(a210,2)*sin(3*t - 3*t0) - 312*a110*power(b110,2)*sin(3*t - 3*t0) - 8*a110*power(b210,2)*sin(3*t - 3*t0) - 384*a110*sin(2*t - 2*t0) + 192*a120*b110*sin(2*t - 2*t0) + 192*a110*b120*sin(2*t - 2*t0) + 192*a210*b110*b210*sin(2*t - 2*t0) - 432*b310*sin(2*t - 2*t0) - 672*b310*power(a110,2)*sin(2*t - 2*t0) - 768*power(a110,3)*sin(2*t - 2*t0) - 192*a110*power(a210,2)*sin(2*t - 2*t0) - 192*a110*power(b110,2)*sin(2*t - 2*t0) - 480*b310*power(b110,2)*sin(2*t - 2*t0) - 96*a110*power(b210,2)*sin(2*t - 2*t0) - 288*a110*power(b310,2)*sin(2*t - 2*t0) - 504*a110*b110*sin(3*t - 2*t0) - 8*a210*b210*sin(3*t - 2*t0) + 1140*a110*sin(t - t0) - 336*a210*b110*b210*sin(t - t0) + 672*b310*sin(t - t0) + 192*b120*b310*sin(t - t0) + 192*b110*b320*sin(t - t0) - 768*b310*power(a110,2)*sin(t - t0) + 72*power(a110,3)*sin(t - t0) - 24*a110*power(a210,2)*sin(t - t0) - 192*b310*power(a210,2)*sin(t - t0) + 936*a110*power(b110,2)*sin(t - t0) + 768*b310*power(b110,2)*sin(t - t0) + 24*a110*power(b210,2)*sin(t - t0) - 96*b310*power(b210,2)*sin(t - t0) - 768*a110*power(b310,2)*sin(t - t0) - 288*power(b310,3)*sin(t - t0) + 288*a120*sin(2*t - t0) - 384*a110*b110*sin(2*t - t0) + 288*a210*b210*sin(2*t - t0) - 864*b110*b310*sin(2*t - t0) - 54*a110*sin(3*t - t0) - 2280*a110*b110*sin(t0) + 552*a210*b210*sin(t0) - 1536*b110*b310*sin(t0) - 352*b320*sin(t0) + 1002*a110*cos(t)*sin(t0) + 816*b310*cos(t)*sin(t0) - 2004*a110*cos(t0)*sin(t0) - 1632*b310*cos(t0)*sin(t0) - 192*a120*cos(2*t0)*sin(t0) - 744*a110*b110*cos(2*t0)*sin(t0) - 24*a210*b210*cos(2*t0)*sin(t0) - 384*b110*b310*cos(2*t0)*sin(t0) - 96*b320*cos(2*t0)*sin(t0) - 258*a110*cos(3*t0)*sin(t0) - 48*b310*cos(3*t0)*sin(t0) + 378*b110*sin(t)*sin(t0) - 8*sin(2*t)*sin(t0) - 24*a110*sin(2*t0) + 32*b310*sin(2*t0) - 192*a120*cos(t)*sin(2*t0) - 744*a110*b110*cos(t)*sin(2*t0) - 24*a210*b210*cos(t)*sin(2*t0) - 384*b110*b310*cos(t)*sin(2*t0) - 96*b320*cos(t)*sin(2*t0) + 192*a120*cos(t0)*sin(2*t0) + 744*a110*b110*cos(t0)*sin(2*t0) + 24*a210*b210*cos(t0)*sin(2*t0) + 384*b110*b310*cos(t0)*sin(2*t0) + 96*b320*cos(t0)*sin(2*t0) + 566*sin(t)*sin(2*t0) + 192*b120*sin(t)*sin(2*t0) - 864*a110*b310*sin(t)*sin(2*t0) - 1260*power(a110,2)*sin(t)*sin(2*t0) - 180*power(a210,2)*sin(t)*sin(2*t0) + 396*power(b110,2)*sin(t)*sin(2*t0) - 108*power(b210,2)*sin(t)*sin(2*t0) - 96*power(b310,2)*sin(t)*sin(2*t0) - 558*sin(t0)*sin(2*t0) - 192*b120*sin(t0)*sin(2*t0) + 864*a110*b310*sin(t0)*sin(2*t0) + 1260*power(a110,2)*sin(t0)*sin(2*t0) + 180*power(a210,2)*sin(t0)*sin(2*t0) - 396*power(b110,2)*sin(t0)*sin(2*t0) + 108*power(b210,2)*sin(t0)*sin(2*t0) + 96*power(b310,2)*sin(t0)*sin(2*t0) - 258*a110*cos(t)*sin(3*t0) - 48*b310*cos(t)*sin(3*t0) + 258*a110*cos(t0)*sin(3*t0) + 48*b310*cos(t0)*sin(3*t0) + 462*b110*sin(t)*sin(3*t0) - 462*b110*sin(t0)*sin(3*t0) + 189*sin(t)*sin(4*t0) - 189*sin(t0)*sin(4*t0)))/64. + power(e,4)*(-64.63671875 - 2*a110*a130 - a210*a230 + 24*a110*a120*b110 + 2*a210*a220*b110 - 5*b120 - 2*b110*b130 - a120*a210*b210 - a110*a220*b210 + (105*a110*a210*b110*b210)/4. - a110*a210*b220 + 4*b110*b210*b220 - b210*b230 + 33*a110*b310 + 3*a120*b110*b310 + 3*a110*b120*b310 + 3*a220*b210*b310 + 10*a210*b110*b210*b310 + 3*a210*b220*b310 + 3*a110*b110*b320 + 3*a210*b210*b320 - 6*b110*b310*b320 - 2*b310*b330 + (93*a110*a120*cos(t))/8. + (51*a210*a220*cos(t))/8. - (837*b110*cos(t))/16. - (21*b110*b120*cos(t))/8. - 3*b130*cos(t) - 6*a110*a210*b210*cos(t) + (21*b210*b220*cos(t))/8. + (21*a120*b310*cos(t))/2. + (249*a110*b110*b310*cos(t))/8. - (45*a210*b210*b310*cos(t))/4. + (21*a110*b320*cos(t))/2. + 15*b310*b320*cos(t) + (2795*cos(2*t))/48. + (15*b120*cos(2*t))/2. - (621*a110*b310*cos(2*t))/8. + (755*b110*cos(3*t))/16. - (12073*cos(4*t))/1536. - (19*cos(4*t - 8*t0))/512. - (23*cos(3*t - 7*t0))/16. - (19*b110*cos(4*t - 7*t0))/64. - (169*cos(2*t - 6*t0))/96. - (69*b110*cos(3*t - 6*t0))/8. - (455*cos(4*t - 6*t0))/384. + (199*cos(t - 5*t0))/32. - (165*b110*cos(2*t - 5*t0))/32. - (19*cos(3*t - 5*t0))/2. - (39*b120*cos(3*t - 5*t0))/32. + (159*a110*b310*cos(3*t - 5*t0))/32. - (455*b110*cos(4*t - 5*t0))/64. - (21*a110*a210*b210*cos(4*t - 5*t0))/16. + (475*b110*cos(t - 4*t0))/16. - (21*cos(2*t - 4*t0))/16. + (3*b120*cos(2*t - 4*t0))/2. + (147*a110*b310*cos(2*t - 4*t0))/8. + (39*a110*a120*cos(3*t - 4*t0))/8. + (a210*a220*cos(3*t - 4*t0))/8. - (601*b110*cos(3*t - 4*t0))/16. - (39*b110*b120*cos(3*t - 4*t0))/8. + 4*a110*a210*b210*cos(3*t - 4*t0) - (b210*b220*cos(3*t - 4*t0))/8. + (159*a110*b110*b310*cos(3*t - 4*t0))/8. - (3*a210*b210*b310*cos(3*t - 4*t0))/4. - (1825*cos(4*t - 4*t0))/256. - (21*a110*a210*b110*b210*cos(4*t - 4*t0))/8. + (1441*cos(t - 3*t0))/48. + (231*b120*cos(t - 3*t0))/32. - (159*a110*b310*cos(t - 3*t0))/32. - 3*a110*a120*cos(2*t - 3*t0) - 3*a210*a220*cos(2*t - 3*t0) + (971*b110*cos(2*t - 3*t0))/32. + 6*b110*b120*cos(2*t - 3*t0) + (3*b130*cos(2*t - 3*t0))/2. - a110*a210*b210*cos(2*t - 3*t0) - (3*b210*b220*cos(2*t - 3*t0))/2. - (3*a120*b310*cos(2*t - 3*t0))/2. + (57*a110*b110*b310*cos(2*t - 3*t0))/2. + (9*a210*b210*b310*cos(2*t - 3*t0))/2. - (3*a110*b320*cos(2*t - 3*t0))/2. - (9*b310*b320*cos(2*t - 3*t0))/2. - (597*cos(3*t - 3*t0))/32. + (39*a110*a120*b110*cos(3*t - 3*t0))/4. + (a210*a220*b110*cos(3*t - 3*t0))/4. - (63*b120*cos(3*t - 3*t0))/16. + (a120*a210*b210*cos(3*t - 3*t0))/4. + (a110*a220*b210*cos(3*t - 3*t0))/4. + 10*a110*a210*b110*b210*cos(3*t - 3*t0) + (a110*a210*b220*cos(3*t - 3*t0))/4. - (b110*b210*b220*cos(3*t - 3*t0))/4. + (583*a110*b310*cos(3*t - 3*t0))/16. - (3*a210*b110*b210*b310*cos(3*t - 3*t0))/2. - (1825*b110*cos(4*t - 3*t0))/64. - (47*a110*a210*b210*cos(4*t - 3*t0))/16. - (315*a110*a120*cos(t - 2*t0))/8. - (45*a210*a220*cos(t - 2*t0))/8. + (743*b110*cos(t - 2*t0))/8. + (99*b110*b120*cos(t - 2*t0))/8. + 3*b130*cos(t - 2*t0) - 15*a110*a210*b210*cos(t - 2*t0) - (27*b210*b220*cos(t - 2*t0))/8. - (27*a120*b310*cos(t - 2*t0))/2. - (207*a110*b110*b310*cos(t - 2*t0))/8. - 15*a210*b210*b310*cos(t - 2*t0) - (27*a110*b320*cos(t - 2*t0))/2. - 3*b310*b320*cos(t - 2*t0) + 32*cos(2*t - 2*t0) - 3*a110*a130*cos(2*t - 2*t0) - 12*a110*a120*b110*cos(2*t - 2*t0) - 6*a210*a220*b110*cos(2*t - 2*t0) + 6*b120*cos(2*t - 2*t0) + 3*b110*b130*cos(2*t - 2*t0) - 3*a120*a210*b210*cos(2*t - 2*t0) - 3*a110*a220*b210*cos(2*t - 2*t0) - (15*a110*a210*b110*b210*cos(2*t - 2*t0))/2. - 3*a110*a210*b220*cos(2*t - 2*t0) - 3*b110*b210*b220*cos(2*t - 2*t0) + (111*a110*b310*cos(2*t - 2*t0))/4. - 3*a120*b110*b310*cos(2*t - 2*t0) - 3*a110*b120*b310*cos(2*t - 2*t0) + 9*a210*b110*b210*b310*cos(2*t - 2*t0) - 3*a110*b110*b320*cos(2*t - 2*t0) - 9*b110*b310*b320*cos(2*t - 2*t0) + (63*a110*a120*cos(3*t - 2*t0))/8. + (a210*a220*cos(3*t - 2*t0))/8. - (103*b110*cos(3*t - 2*t0))/4. - (63*b110*b120*cos(3*t - 2*t0))/8. + 9*a110*a210*b210*cos(3*t - 2*t0) - (b210*b220*cos(3*t - 2*t0))/8. + (583*a110*b110*b310*cos(3*t - 2*t0))/8. - 2*a210*b210*b310*cos(3*t - 2*t0) - (1893*cos(4*t - 2*t0))/128. + (1393*cos(t - t0))/32. - (99*a110*a120*b110*cos(t - t0))/4. + (3*a210*a220*b110*cos(t - t0))/4. + (51*b120*cos(t - t0))/16. + (15*a120*a210*b210*cos(t - t0))/4. + (15*a110*a220*b210*cos(t - t0))/4. - 18*a110*a210*b110*b210*cos(t - t0) + (15*a110*a210*b220*cos(t - t0))/4. - (3*b110*b210*b220*cos(t - t0))/4. - (1191*a110*b310*cos(t - t0))/16. - 3*a130*b310*cos(t - t0) - 3*a120*b110*b310*cos(t - t0) - 3*a110*b120*b310*cos(t - t0) - 3*a220*b210*b310*cos(t - t0) - (45*a210*b110*b210*b310*cos(t - t0))/2. - 3*a210*b220*b310*cos(t - t0) - 3*a120*b320*cos(t - t0) - 3*a110*b110*b320*cos(t - t0) - 3*a210*b210*b320*cos(t - t0) + 12*b110*b310*b320*cos(t - t0) - 3*a110*b330*cos(t - t0) - 33*a110*a120*cos(2*t - t0) - 9*a210*a220*cos(2*t - t0) + (4097*b110*cos(2*t - t0))/32. + 18*b110*b120*cos(2*t - t0) + (9*b130*cos(2*t - t0))/2. - (27*a110*a210*b210*cos(2*t - t0))/2. - (9*b210*b220*cos(2*t - t0))/2. - (27*a120*b310*cos(2*t - t0))/2. - (159*a110*b110*b310*cos(2*t - t0))/2. + (9*a210*b210*b310*cos(2*t - t0))/2. - (27*a110*b320*cos(2*t - t0))/2. - (27*b310*b320*cos(2*t - t0))/2. + cos(3*t - t0)/16. - (27*b120*cos(3*t - t0))/32. + (1519*a110*b310*cos(3*t - t0))/32. - (1893*b110*cos(4*t - t0))/64. + 48*a110*a120*cos(t0) + 8*a210*a220*cos(t0) - (275*b110*cos(t0))/2. - 18*b110*b120*cos(t0) - 5*b130*cos(t0) + 43*a110*a210*b210*cos(t0) + 7*b210*b220*cos(t0) + 15*a120*b310*cos(t0) - 22*a110*b110*b310*cos(t0) + 10*a210*b210*b310*cos(t0) + 15*a110*b320*cos(t0) + 3*b310*b320*cos(t0) - (601*cos(2*t0))/192. - 7*b120*cos(2*t0) - 38*a110*b310*cos(2*t0) + 7*b110*cos(3*t0) + (5869*cos(4*t0))/768. - 64*cos(t + t0) - (189*b120*cos(t + t0))/32. + (1905*a110*b310*cos(t + t0))/32. + (329*b110*cos(2*t + t0))/32. + (753*cos(3*t + t0))/32. - (103*b110*cos(t + 2*t0))/2. - (453*cos(2*t + 2*t0))/32. - (541*cos(t + 3*t0))/48. - (1763*power(a110,2))/32. + 12*b120*power(a110,2) - (51*b110*cos(t)*power(a110,2))/4. + 29*cos(2*t)*power(a110,2) + (57*cos(4*t - 6*t0)*power(a110,2))/64. + (99*cos(3*t - 5*t0)*power(a110,2))/8. + (57*b110*cos(4*t - 5*t0)*power(a110,2))/16. + (41*cos(2*t - 4*t0)*power(a110,2))/4. + (99*b110*cos(3*t - 4*t0)*power(a110,2))/4. + (455*cos(4*t - 4*t0)*power(a110,2))/32. - (75*cos(t - 3*t0)*power(a110,2))/4. + (41*b110*cos(2*t - 3*t0)*power(a110,2))/8. + (53*cos(3*t - 3*t0)*power(a110,2))/2. + (39*b120*cos(3*t - 3*t0)*power(a110,2))/8. + (455*b110*cos(4*t - 3*t0)*power(a110,2))/16. + 12*b110*cos(t - 2*t0)*power(a110,2) - (97*cos(2*t - 2*t0)*power(a110,2))/4. - 6*b120*cos(2*t - 2*t0)*power(a110,2) - 9*b110*cos(3*t - 2*t0)*power(a110,2) + (1825*cos(4*t - 2*t0)*power(a110,2))/64. + 46*cos(t - t0)*power(a110,2) - (99*b120*cos(t - t0)*power(a110,2))/8. + (147*b110*cos(2*t - t0)*power(a110,2))/8. - (71*cos(3*t - t0)*power(a110,2))/2. - 49*b110*cos(t0)*power(a110,2) + (471*cos(2*t0)*power(a110,2))/32. - (185*cos(t + t0)*power(a110,2))/8. - (103*b310*power(a110,3))/3. - (209*b310*cos(3*t - 3*t0)*power(a110,3))/8. - (21*b310*cos(2*t - 2*t0)*power(a110,3))/2. + (369*b310*cos(t - t0)*power(a110,3))/8. - (1049*power(a110,4))/32. - (19*cos(4*t - 4*t0)*power(a110,4))/32. - (39*cos(3*t - 3*t0)*power(a110,4))/2. + cos(2*t - 2*t0)*power(a110,4) + (77*cos(t - t0)*power(a110,4))/2. - power(a120,2) - (3*cos(2*t - 2*t0)*power(a120,2))/2. + (67*power(a210,2))/32. + b120*power(a210,2) - 2*a110*b310*power(a210,2) + (21*b110*cos(t)*power(a210,2))/4. - (101*cos(2*t)*power(a210,2))/16. - (21*cos(4*t - 6*t0)*power(a210,2))/128. + (35*cos(3*t - 5*t0)*power(a210,2))/32. - (21*b110*cos(4*t - 5*t0)*power(a210,2))/32. - (31*cos(2*t - 4*t0)*power(a210,2))/16. + (19*b110*cos(3*t - 4*t0)*power(a210,2))/4. - (47*cos(4*t - 4*t0)*power(a210,2))/64. - (303*cos(t - 3*t0)*power(a210,2))/32. - (61*b110*cos(2*t - 3*t0)*power(a210,2))/8. + (55*cos(3*t - 3*t0)*power(a210,2))/16. + (b120*cos(3*t - 3*t0)*power(a210,2))/8. - (47*b110*cos(4*t - 3*t0)*power(a210,2))/32. - (51*b110*cos(t - 2*t0)*power(a210,2))/4. - (53*cos(2*t - 2*t0)*power(a210,2))/8. - 3*b120*cos(2*t - 2*t0)*power(a210,2) + (9*a110*b310*cos(2*t - 2*t0)*power(a210,2))/2. + (35*b110*cos(3*t - 2*t0)*power(a210,2))/4. - (133*cos(4*t - 2*t0)*power(a210,2))/128. + (29*cos(t - t0)*power(a210,2))/16. + (3*b120*cos(t - t0)*power(a210,2))/8. - 3*a110*b310*cos(t - t0)*power(a210,2) - (153*b110*cos(2*t - t0)*power(a210,2))/8. + (59*cos(3*t - t0)*power(a210,2))/32. + 12*b110*cos(t0)*power(a210,2) + (131*cos(2*t0)*power(a210,2))/32. + (137*cos(t + t0)*power(a210,2))/32. - (77*power(a110,2)*power(a210,2))/16. + (21*cos(4*t - 4*t0)*power(a110,2)*power(a210,2))/32. - (47*cos(3*t - 3*t0)*power(a110,2)*power(a210,2))/8. + (15*cos(2*t - 2*t0)*power(a110,2)*power(a210,2))/2. + (51*cos(t - t0)*power(a110,2)*power(a210,2))/8. - (19*power(a210,4))/32. - (cos(3*t - 3*t0)*power(a210,4))/8. + (3*cos(2*t - 2*t0)*power(a210,4))/2. - (3*cos(t - t0)*power(a210,4))/8. - power(a220,2)/2. - (2421*power(b110,2))/32. - 6*b120*power(b110,2) - 17*a110*b310*power(b110,2) + (97*cos(2*t)*power(b110,2))/2. - (57*cos(4*t - 6*t0)*power(b110,2))/64. - (591*cos(3*t - 5*t0)*power(b110,2))/32. + (13*cos(2*t - 4*t0)*power(b110,2))/4. - (455*cos(4*t - 4*t0)*power(b110,2))/32. + (1635*cos(t - 3*t0)*power(b110,2))/32. - (643*cos(3*t - 3*t0)*power(b110,2))/16. - (39*b120*cos(3*t - 3*t0)*power(b110,2))/8. + (159*a110*b310*cos(3*t - 3*t0)*power(b110,2))/8. + (337*cos(2*t - 2*t0)*power(b110,2))/4. + 9*b120*cos(2*t - 2*t0)*power(b110,2) - (39*a110*b310*cos(2*t - 2*t0)*power(b110,2))/2. - (1825*cos(4*t - 2*t0)*power(b110,2))/64. + (439*cos(t - t0)*power(b110,2))/16. + (27*b120*cos(t - t0)*power(b110,2))/8. + (153*a110*b310*cos(t - t0)*power(b110,2))/8. + (713*cos(3*t - t0)*power(b110,2))/32. - (1135*cos(2*t0)*power(b110,2))/32. - (1637*cos(t + t0)*power(b110,2))/32. - (269*power(a110,2)*power(b110,2))/16. + (57*cos(4*t - 4*t0)*power(a110,2)*power(b110,2))/16. + (39*cos(3*t - 3*t0)*power(a110,2)*power(b110,2))/8. + 9*cos(2*t - 2*t0)*power(a110,2)*power(b110,2) + (21*cos(t - t0)*power(a110,2)*power(b110,2))/8. + (61*power(a210,2)*power(b110,2))/16. - (21*cos(4*t - 4*t0)*power(a210,2)*power(b110,2))/32. + (21*cos(3*t - 3*t0)*power(a210,2)*power(b110,2))/4. - (21*cos(2*t - 2*t0)*power(a210,2)*power(b110,2))/2. - (9*cos(t - t0)*power(a210,2)*power(b110,2))/4. - (81*cos(t)*power(b110,3))/8. - (19*cos(4*t - 5*t0)*power(b110,3))/16. - (131*cos(3*t - 4*t0)*power(b110,3))/8. + (391*cos(2*t - 3*t0)*power(b110,3))/24. - (455*cos(4*t - 3*t0)*power(b110,3))/48. + (213*cos(t - 2*t0)*power(b110,3))/8. - (49*cos(3*t - 2*t0)*power(b110,3))/8. + (287*cos(2*t - t0)*power(b110,3))/8. - 44*cos(t0)*power(b110,3) - (217*power(b110,4))/32. - (19*cos(4*t - 4*t0)*power(b110,4))/32. - (39*cos(3*t - 3*t0)*power(b110,4))/8. + 8*cos(2*t - 2*t0)*power(b110,4) + (27*cos(t - t0)*power(b110,4))/8. - power(b120,2) + (3*cos(2*t - 2*t0)*power(b120,2))/2. + (109*power(b210,2))/32. + 2*b120*power(b210,2) - (11*a110*b310*power(b210,2))/2. - (69*b110*cos(t)*power(b210,2))/16. + (7*cos(2*t)*power(b210,2))/16. + (21*cos(4*t - 6*t0)*power(b210,2))/128. + (55*cos(3*t - 5*t0)*power(b210,2))/64. + (21*b110*cos(4*t - 5*t0)*power(b210,2))/32. + (cos(2*t - 4*t0)*power(b210,2))/16. + (49*b110*cos(3*t - 4*t0)*power(b210,2))/16. + (47*cos(4*t - 4*t0)*power(b210,2))/64. + (81*cos(t - 3*t0)*power(b210,2))/64. + (b110*cos(2*t - 3*t0)*power(b210,2))/8. + (87*cos(3*t - 3*t0)*power(b210,2))/32. - (b120*cos(3*t - 3*t0)*power(b210,2))/8. + (47*b110*cos(4*t - 3*t0)*power(b210,2))/32. + (3*b110*cos(t - 2*t0)*power(b210,2))/16. + (5*cos(2*t - 2*t0)*power(b210,2))/8. - (3*b120*cos(2*t - 2*t0)*power(b210,2))/2. + (57*b110*cos(3*t - 2*t0)*power(b210,2))/16. + (133*cos(4*t - 2*t0)*power(b210,2))/128. - (11*cos(t - t0)*power(b210,2))/32. - (3*b120*cos(t - t0)*power(b210,2))/8. + (3*a110*b310*cos(t - t0)*power(b210,2))/2. - (15*b110*cos(2*t - t0)*power(b210,2))/8. - (29*cos(3*t - t0)*power(b210,2))/64. + 16*b110*cos(t0)*power(b210,2) + (365*cos(2*t0)*power(b210,2))/32. - (179*cos(t + t0)*power(b210,2))/64. - (203*power(a110,2)*power(b210,2))/16. - (21*cos(4*t - 4*t0)*power(a110,2)*power(b210,2))/32. - (27*cos(3*t - 3*t0)*power(a110,2)*power(b210,2))/16. + (135*cos(t - t0)*power(a110,2)*power(b210,2))/16. - (79*power(a210,2)*power(b210,2))/16. + (5*cos(3*t - 3*t0)*power(a210,2)*power(b210,2))/16. + (63*cos(t - t0)*power(a210,2)*power(b210,2))/16. + (67*power(b110,2)*power(b210,2))/16. + (21*cos(4*t - 4*t0)*power(b110,2)*power(b210,2))/32. + (41*cos(3*t - 3*t0)*power(b110,2)*power(b210,2))/16. - (3*cos(2*t - 2*t0)*power(b110,2)*power(b210,2))/2. - (21*cos(t - t0)*power(b110,2)*power(b210,2))/16. - (43*power(b210,4))/32. + (cos(3*t - 3*t0)*power(b210,4))/16. + (3*cos(2*t - 2*t0)*power(b210,4))/8. + (3*cos(t - t0)*power(b210,4))/16. - power(b220,2)/2. - (135*power(b310,2))/4. - 3*b120*power(b310,2) + (207*b110*cos(t)*power(b310,2))/16. + 8*cos(2*t)*power(b310,2) + (117*cos(3*t - 5*t0)*power(b310,2))/64. - 3*cos(2*t - 4*t0)*power(b310,2) + (117*b110*cos(3*t - 4*t0)*power(b310,2))/16. + (483*cos(t - 3*t0)*power(b310,2))/64. - 12*b110*cos(2*t - 3*t0)*power(b310,2) + (189*cos(3*t - 3*t0)*power(b310,2))/32. + (471*b110*cos(t - 2*t0)*power(b310,2))/16. - (3*cos(2*t - 2*t0)*power(b310,2))/4. - (9*b120*cos(2*t - 2*t0)*power(b310,2))/2. + (189*b110*cos(3*t - 2*t0)*power(b310,2))/16. + (863*cos(t - t0)*power(b310,2))/32. + 6*b120*cos(t - t0)*power(b310,2) - (21*b110*cos(2*t - t0)*power(b310,2))/2. + (81*cos(3*t - t0)*power(b310,2))/64. - 41*b110*cos(t0)*power(b310,2) + (cos(2*t0)*power(b310,2))/4. - (817*cos(t + t0)*power(b310,2))/64. - (9*power(a110,2)*power(b310,2))/2. - (117*cos(3*t - 3*t0)*power(a110,2)*power(b310,2))/16. - 15*cos(2*t - 2*t0)*power(a110,2)*power(b310,2) + (129*cos(t - t0)*power(a110,2)*power(b310,2))/16. + (3*power(a210,2)*power(b310,2))/2. - (3*cos(3*t - 3*t0)*power(a210,2)*power(b310,2))/16. + (9*cos(2*t - 2*t0)*power(a210,2)*power(b310,2))/2. - (81*cos(t - t0)*power(a210,2)*power(b310,2))/16. - (33*power(b110,2)*power(b310,2))/2. + (117*cos(3*t - 3*t0)*power(b110,2)*power(b310,2))/16. - (33*cos(2*t - 2*t0)*power(b110,2)*power(b310,2))/2. + (375*cos(t - t0)*power(b110,2)*power(b310,2))/16. + (3*cos(3*t - 3*t0)*power(b210,2)*power(b310,2))/16. + (9*cos(2*t - 2*t0)*power(b210,2)*power(b310,2))/4. - (63*cos(t - t0)*power(b210,2)*power(b310,2))/16. + (39*a110*power(b310,3))/2. + (9*a110*cos(2*t - 2*t0)*power(b310,3))/2. - (57*a110*cos(t - t0)*power(b310,3))/2. + (21*power(b310,4))/4. + (27*cos(2*t - 2*t0)*power(b310,4))/8. - 9*cos(t - t0)*power(b310,4) - power(b320,2) - (635*a110*sin(t))/8. - 3*a130*sin(t) + (309*a120*b110*sin(t))/8. + (309*a110*b120*sin(t))/8. - (93*a220*b210*sin(t))/8. - (53*a210*b110*b210*sin(t))/8. - (93*a210*b220*sin(t))/8. + (6643*b310*sin(t))/64. + 30*b120*b310*sin(t) + 30*b110*b320*sin(t) + (11*b330*sin(t))/2. - (3483*b310*power(a110,2)*sin(t))/16. - (1765*power(a110,3)*sin(t))/12. - (227*a110*power(a210,2)*sin(t))/8. - (165*b310*power(a210,2)*sin(t))/8. + (317*a110*power(b110,2)*sin(t))/8. + (1455*b310*power(b110,2)*sin(t))/16. - (419*a110*power(b210,2)*sin(t))/16. - (111*b310*power(b210,2)*sin(t))/8. - (3111*a110*power(b310,2)*sin(t))/16. - (69*power(b310,3)*sin(t))/2. - (3*a120*sin(2*t))/2. - (345*a110*b110*sin(2*t))/16. + (27*a210*b210*sin(2*t))/16. + (129*b110*b310*sin(2*t))/4. - (19*b320*sin(2*t))/8. + (391*a110*sin(3*t))/8. - (1479*b310*sin(3*t))/64. - (19*a110*sin(4*t - 7*t0))/64. - (99*a110*sin(3*t - 6*t0))/16. + (25*b310*sin(3*t - 6*t0))/64. - (57*a110*b110*sin(4*t - 6*t0))/32. + (21*a210*b210*sin(4*t - 6*t0))/64. - 11*a110*sin(2*t - 5*t0) - (69*b310*sin(2*t - 5*t0))/8. - (39*a120*sin(3*t - 5*t0))/32. - (357*a110*b110*sin(3*t - 5*t0))/16. - (27*a210*b210*sin(3*t - 5*t0))/32. + (75*b110*b310*sin(3*t - 5*t0))/32. - (455*a110*sin(4*t - 5*t0))/64. + (21*a210*b110*b210*sin(4*t - 5*t0))/16. + (19*power(a110,3)*sin(4*t - 5*t0))/16. - (21*a110*power(a210,2)*sin(4*t - 5*t0))/32. - (57*a110*power(b110,2)*sin(4*t - 5*t0))/16. + (21*a110*power(b210,2)*sin(4*t - 5*t0))/32. + (23*a110*sin(t - 4*t0))/2. - (471*b310*sin(t - 4*t0))/64. - (3*a120*sin(2*t - 4*t0))/2. - (361*a110*b110*sin(2*t - 4*t0))/16. + (23*a210*b210*sin(2*t - 4*t0))/16. - (147*b110*b310*sin(2*t - 4*t0))/4. - (15*b320*sin(2*t - 4*t0))/8. - (109*a110*sin(3*t - 4*t0))/4. - (39*a120*b110*sin(3*t - 4*t0))/8. - (39*a110*b120*sin(3*t - 4*t0))/8. - (a220*b210*sin(3*t - 4*t0))/8. - (33*a210*b110*b210*sin(3*t - 4*t0))/8. - (a210*b220*sin(3*t - 4*t0))/8. - (205*b310*sin(3*t - 4*t0))/64. + (393*b310*power(a110,2)*sin(3*t - 4*t0))/16. + (85*power(a110,3)*sin(3*t - 4*t0))/4. + (37*a110*power(a210,2)*sin(3*t - 4*t0))/8. - (3*b310*power(a210,2)*sin(3*t - 4*t0))/8. - (159*a110*power(b110,2)*sin(3*t - 4*t0))/8. + (75*b310*power(b110,2)*sin(3*t - 4*t0))/16. + (49*a110*power(b210,2)*sin(3*t - 4*t0))/16. + (3*b310*power(b210,2)*sin(3*t - 4*t0))/8. + (117*a110*power(b310,2)*sin(3*t - 4*t0))/16. - (455*a110*b110*sin(4*t - 4*t0))/16. + (47*a210*b210*sin(4*t - 4*t0))/32. - (21*a210*b210*power(a110,2)*sin(4*t - 4*t0))/16. + (19*b110*power(a110,3)*sin(4*t - 4*t0))/8. - (21*a110*b110*power(a210,2)*sin(4*t - 4*t0))/16. + (21*a210*b210*power(b110,2)*sin(4*t - 4*t0))/16. - (19*a110*power(b110,3)*sin(4*t - 4*t0))/8. + (21*a110*b110*power(b210,2)*sin(4*t - 4*t0))/16. + (129*a120*sin(t - 3*t0))/32. + (723*a110*b110*sin(t - 3*t0))/16. + (261*a210*b210*sin(t - 3*t0))/32. + (15*b110*b310*sin(t - 3*t0))/32. + (3*b320*sin(t - 3*t0))/4. + (29*a110*sin(2*t - 3*t0))/8. + (3*a130*sin(2*t - 3*t0))/2. - 6*a120*b110*sin(2*t - 3*t0) - 6*a110*b120*sin(2*t - 3*t0) + (3*a220*b210*sin(2*t - 3*t0))/2. + (11*a210*b110*b210*sin(2*t - 3*t0))/2. + (3*a210*b220*sin(2*t - 3*t0))/2. - 36*b310*sin(2*t - 3*t0) - (15*b120*b310*sin(2*t - 3*t0))/2. - (15*b110*b320*sin(2*t - 3*t0))/2. + (159*b310*power(a110,2)*sin(2*t - 3*t0))/2. + (457*power(a110,3)*sin(2*t - 3*t0))/12. + (35*a110*power(a210,2)*sin(2*t - 3*t0))/8. + (27*b310*power(a210,2)*sin(2*t - 3*t0))/4. - (37*a110*power(b110,2)*sin(2*t - 3*t0))/4. - 51*b310*power(b110,2)*sin(2*t - 3*t0) + (49*a110*power(b210,2)*sin(2*t - 3*t0))/8. + (9*b310*power(b210,2)*sin(2*t - 3*t0))/2. + (93*a110*power(b310,2)*sin(2*t - 3*t0))/2. + (45*power(b310,3)*sin(2*t - 3*t0))/4. - (63*a120*sin(3*t - 3*t0))/16. + (a110*a210*a220*sin(3*t - 3*t0))/4. - (313*a110*b110*sin(3*t - 3*t0))/8. - (39*a110*b110*b120*sin(3*t - 3*t0))/4. - (43*a210*b210*sin(3*t - 3*t0))/16. - (a220*b110*b210*sin(3*t - 3*t0))/4. - (a210*b120*b210*sin(3*t - 3*t0))/4. - (a210*b110*b220*sin(3*t - 3*t0))/4. - (a110*b210*b220*sin(3*t - 3*t0))/4. - (205*b110*b310*sin(3*t - 3*t0))/16. + (39*a120*power(a110,2)*sin(3*t - 3*t0))/8. + (53*a210*b210*power(a110,2)*sin(3*t - 3*t0))/8. + (393*b110*b310*power(a110,2)*sin(3*t - 3*t0))/8. + (117*b110*power(a110,3)*sin(3*t - 3*t0))/4. + (a120*power(a210,2)*sin(3*t - 3*t0))/8. + (41*a110*b110*power(a210,2)*sin(3*t - 3*t0))/4. - (3*b110*b310*power(a210,2)*sin(3*t - 3*t0))/4. + (3*b210*power(a210,3)*sin(3*t - 3*t0))/8. - (39*a120*power(b110,2)*sin(3*t - 3*t0))/8. - (41*a210*b210*power(b110,2)*sin(3*t - 3*t0))/8. + (25*b310*power(b110,3)*sin(3*t - 3*t0))/8. - (a120*power(b210,2)*sin(3*t - 3*t0))/8. + (41*a110*b110*power(b210,2)*sin(3*t - 3*t0))/8. + (3*b110*b310*power(b210,2)*sin(3*t - 3*t0))/4. + (117*a110*b110*power(b310,2)*sin(3*t - 3*t0))/8. + (3*a210*b210*power(b310,2)*sin(3*t - 3*t0))/8. - (1825*a110*sin(4*t - 3*t0))/64. + (47*a210*b110*b210*sin(4*t - 3*t0))/16. + (455*power(a110,3)*sin(4*t - 3*t0))/48. - (47*a110*power(a210,2)*sin(4*t - 3*t0))/32. - (455*a110*power(b110,2)*sin(4*t - 3*t0))/16. + (47*a110*power(b210,2)*sin(4*t - 3*t0))/32. + (943*a110*sin(t - 2*t0))/16. + 3*a130*sin(t - 2*t0) + (93*a120*b110*sin(t - 2*t0))/8. + (93*a110*b120*sin(t - 2*t0))/8. + (3*a220*b210*sin(t - 2*t0))/8. + (51*a210*b110*b210*sin(t - 2*t0))/8. + (3*a210*b220*sin(t - 2*t0))/8. + (1715*b310*sin(t - 2*t0))/64. + 6*b120*b310*sin(t - 2*t0) + 6*b110*b320*sin(t - 2*t0) + (3*b330*sin(t - 2*t0))/2. - (1059*b310*power(a110,2)*sin(t - 2*t0))/16. - 35*power(a110,3)*sin(t - 2*t0) - (51*a110*power(a210,2)*sin(t - 2*t0))/8. - (33*b310*power(a210,2)*sin(t - 2*t0))/4. + (243*a110*power(b110,2)*sin(t - 2*t0))/8. + (663*b310*power(b110,2)*sin(t - 2*t0))/16. - (75*a110*power(b210,2)*sin(t - 2*t0))/16. + (9*b310*power(b210,2)*sin(t - 2*t0))/4. - (207*a110*power(b310,2)*sin(t - 2*t0))/16. - 6*power(b310,3)*sin(t - 2*t0) - 6*a120*sin(2*t - 2*t0) - 6*a110*a210*a220*sin(2*t - 2*t0) + (493*a110*b110*sin(2*t - 2*t0))/8. + 3*a130*b110*sin(2*t - 2*t0) + 3*a120*b120*sin(2*t - 2*t0) - 6*a110*b110*b120*sin(2*t - 2*t0) + 3*a110*b130*sin(2*t - 2*t0) + (31*a210*b210*sin(2*t - 2*t0))/8. + 3*a220*b110*b210*sin(2*t - 2*t0) + 3*a210*b120*b210*sin(2*t - 2*t0) + 3*a210*b110*b220*sin(2*t - 2*t0) - 3*a110*b210*b220*sin(2*t - 2*t0) - 21*a110*a120*b310*sin(2*t - 2*t0) - 81*b110*b310*sin(2*t - 2*t0) - 15*b110*b120*b310*sin(2*t - 2*t0) - 9*a110*a210*b210*b310*sin(2*t - 2*t0) - (27*b320*sin(2*t - 2*t0))/4. - 9*a110*b310*b320*sin(2*t - 2*t0) - 36*a120*power(a110,2)*sin(2*t - 2*t0) - (81*a210*b210*power(a110,2)*sin(2*t - 2*t0))/4. + 93*b110*b310*power(a110,2)*sin(2*t - 2*t0) - (21*b320*power(a110,2)*sin(2*t - 2*t0))/2. + (235*b110*power(a110,3)*sin(2*t - 2*t0))/4. - 3*a120*power(a210,2)*sin(2*t - 2*t0) + 3*a110*b110*power(a210,2)*sin(2*t - 2*t0) + (27*b110*b310*power(a210,2)*sin(2*t - 2*t0))/2. - 3*b210*power(a210,3)*sin(2*t - 2*t0) - 3*a120*power(b110,2)*sin(2*t - 2*t0) + (33*a210*b210*power(b110,2)*sin(2*t - 2*t0))/4. - (15*b320*power(b110,2)*sin(2*t - 2*t0))/2. - (59*a110*power(b110,3)*sin(2*t - 2*t0))/4. - 24*b310*power(b110,3)*sin(2*t - 2*t0) - (3*a120*power(b210,2)*sin(2*t - 2*t0))/2. + 9*a110*b110*power(b210,2)*sin(2*t - 2*t0) + 9*b110*b310*power(b210,2)*sin(2*t - 2*t0) - (3*a210*power(b210,3)*sin(2*t - 2*t0))/2. - (9*a120*power(b310,2)*sin(2*t - 2*t0))/2. + 84*a110*b110*power(b310,2)*sin(2*t - 2*t0) - (9*a210*b210*power(b310,2)*sin(2*t - 2*t0))/2. + (45*b110*power(b310,3)*sin(2*t - 2*t0))/2. - (259*a110*sin(3*t - 2*t0))/16. - (63*a120*b110*sin(3*t - 2*t0))/8. - (63*a110*b120*sin(3*t - 2*t0))/8. - (a220*b210*sin(3*t - 2*t0))/8. - (73*a210*b110*b210*sin(3*t - 2*t0))/8. - (a210*b220*sin(3*t - 2*t0))/8. - (1357*b310*sin(3*t - 2*t0))/64. + (961*b310*power(a110,2)*sin(3*t - 2*t0))/16. + 20*power(a110,3)*sin(3*t - 2*t0) + (69*a110*power(a210,2)*sin(3*t - 2*t0))/8. - b310*power(a210,2)*sin(3*t - 2*t0) + (183*a110*power(b110,2)*sin(3*t - 2*t0))/8. - (205*b310*power(b110,2)*sin(3*t - 2*t0))/16. + (57*a110*power(b210,2)*sin(3*t - 2*t0))/16. + b310*power(b210,2)*sin(3*t - 2*t0) + (189*a110*power(b310,2)*sin(3*t - 2*t0))/16. - (1825*a110*b110*sin(4*t - 2*t0))/32. + (133*a210*b210*sin(4*t - 2*t0))/64. + (285*a120*sin(t - t0))/16. - (3*a110*a210*a220*sin(t - t0))/4. - (25*a110*b110*sin(t - t0))/8. + (117*a110*b110*b120*sin(t - t0))/4. + (a210*b210*sin(t - t0))/16. - (21*a220*b110*b210*sin(t - t0))/4. - (21*a210*b120*b210*sin(t - t0))/4. - (21*a210*b110*b220*sin(t - t0))/4. + (3*a110*b210*b220*sin(t - t0))/4. - 24*a110*a120*b310*sin(t - t0) - 6*a210*a220*b310*sin(t - t0) + (2319*b110*b310*sin(t - t0))/16. + 24*b110*b120*b310*sin(t - t0) + 3*b130*b310*sin(t - t0) + 18*a110*a210*b210*b310*sin(t - t0) - 3*b210*b220*b310*sin(t - t0) + (21*b320*sin(t - t0))/2. + 3*b120*b320*sin(t - t0) - 24*a110*b310*b320*sin(t - t0) + 3*b110*b330*sin(t - t0) + (27*a120*power(a110,2)*sin(t - t0))/8. + (177*a210*b210*power(a110,2)*sin(t - t0))/8. - (1395*b110*b310*power(a110,2)*sin(t - t0))/8. - 12*b320*power(a110,2)*sin(t - t0) - (451*b110*power(a110,3)*sin(t - t0))/4. - (3*a120*power(a210,2)*sin(t - t0))/8. - (87*a110*b110*power(a210,2)*sin(t - t0))/4. - (87*b110*b310*power(a210,2)*sin(t - t0))/4. - 3*b320*power(a210,2)*sin(t - t0) + (39*b210*power(a210,3)*sin(t - t0))/8. + (117*a120*power(b110,2)*sin(t - t0))/8. - (21*a210*b210*power(b110,2)*sin(t - t0))/8. + 12*b320*power(b110,2)*sin(t - t0) + 21*a110*power(b110,3)*sin(t - t0) + (237*b310*power(b110,3)*sin(t - t0))/8. + (3*a120*power(b210,2)*sin(t - t0))/8. - (147*a110*b110*power(b210,2)*sin(t - t0))/8. - (33*b110*b310*power(b210,2)*sin(t - t0))/4. - (3*b320*power(b210,2)*sin(t - t0))/2. + 3*a210*power(b210,3)*sin(t - t0) - 12*a120*power(b310,2)*sin(t - t0) - (1023*a110*b110*power(b310,2)*sin(t - t0))/8. + (63*a210*b210*power(b310,2)*sin(t - t0))/8. - (27*b320*power(b310,2)*sin(t - t0))/2. - 30*b110*power(b310,3)*sin(t - t0) + (335*a110*sin(2*t - t0))/4. + (9*a130*sin(2*t - t0))/2. - 6*a120*b110*sin(2*t - t0) - 6*a110*b120*sin(2*t - t0) + (9*a220*b210*sin(2*t - t0))/2. + (27*a210*b110*b210*sin(2*t - t0))/2. + (9*a210*b220*sin(2*t - t0))/2. - (179*b310*sin(2*t - t0))/8. - (27*b120*b310*sin(2*t - t0))/2. - (27*b110*b320*sin(2*t - t0))/2. + 60*b310*power(a110,2)*sin(2*t - t0) + (203*power(a110,3)*sin(2*t - t0))/4. + (33*a110*power(a210,2)*sin(2*t - t0))/8. + (45*b310*power(a210,2)*sin(2*t - t0))/4. - (93*a110*power(b110,2)*sin(2*t - t0))/4. - (63*b310*power(b110,2)*sin(2*t - t0))/2. + (87*a110*power(b210,2)*sin(2*t - t0))/8. + 9*b310*power(b210,2)*sin(2*t - t0) + 93*a110*power(b310,2)*sin(2*t - t0) + (81*power(b310,3)*sin(2*t - t0))/4. - (27*a120*sin(3*t - t0))/32. + (1019*a110*b110*sin(3*t - t0))/16. - (87*a210*b210*sin(3*t - t0))/32. - (1357*b110*b310*sin(3*t - t0))/32. - (1893*a110*sin(4*t - t0))/64. + (2713*a110*sin(t0))/32. + 3*a130*sin(t0) - 24*a120*b110*sin(t0) - 24*a110*b120*sin(t0) + 9*a220*b210*sin(t0) - (39*a210*b110*b210*sin(t0))/4. + 9*a210*b220*sin(t0) - (691*b310*sin(t0))/8. - 18*b120*b310*sin(t0) - 18*b110*b320*sin(t0) - 4*b330*sin(t0) + (241*b310*power(a110,2)*sin(t0))/2. + (2177*power(a110,3)*sin(t0))/24. + (55*a110*power(a210,2)*sin(t0))/8. + (17*b310*power(a210,2)*sin(t0))/2. - (65*a110*power(b110,2)*sin(t0))/8. - (113*b310*power(b110,2)*sin(t0))/2. + (161*a110*power(b210,2)*sin(t0))/8. + (17*b310*power(b210,2)*sin(t0))/2. + 128*a110*power(b310,2)*sin(t0) + 17*power(b310,3)*sin(t0) - 12*a120*sin(2*t0) - (31*a110*b110*sin(2*t0))/4. - (49*a210*b210*sin(2*t0))/8. - 101*b110*b310*sin(2*t0) - (23*b320*sin(2*t0))/2. - (843*a110*sin(3*t0))/32. - (809*b310*sin(3*t0))/24. + (501*a120*sin(t + t0))/32. + (499*a110*b110*sin(t + t0))/16. - (127*a210*b210*sin(t + t0))/32. + (2151*b110*b310*sin(t + t0))/32. + (51*b320*sin(t + t0))/4. - (247*a110*sin(2*t + t0))/8. + 40*b310*sin(2*t + t0) + (531*a110*sin(t + 2*t0))/16. - (55*b310*sin(t + 2*t0))/64.);
b1_e=(e*(2*b110 - cos(2*t - t0) + cos(t0)))/2. + power(e,2)*(-3 + b120 - 3*a110*b310 + (3*b110*cos(t))/4. + (9*cos(2*t))/2. - (7*cos(3*t - 5*t0))/16. - (3*cos(2*t - 4*t0))/2. - (7*b110*cos(3*t - 4*t0))/4. + (3*cos(t - 3*t0))/16. - 3*b110*cos(2*t - 3*t0) - (19*cos(3*t - 3*t0))/8. + (15*b110*cos(t - 2*t0))/4. - 3*cos(2*t - 2*t0) + 3*a110*b310*cos(2*t - 2*t0) - (19*b110*cos(3*t - 2*t0))/4. + (67*cos(t - t0))/8. + 3*b110*cos(2*t - t0) - (59*cos(3*t - t0))/16. + 2*b110*cos(t0) + 4*cos(2*t0) - (49*cos(t + t0))/16. - 4*power(a110,2) + (7*cos(3*t - 3*t0)*power(a110,2))/4. + (9*cos(t - t0)*power(a110,2))/4. - power(a210,2) - (cos(3*t - 3*t0)*power(a210,2))/8. + (9*cos(t - t0)*power(a210,2))/8. + power(b110,2) - (7*cos(3*t - 3*t0)*power(b110,2))/4. + (3*cos(t - t0)*power(b110,2))/4. - power(b210,2)/2. + (cos(3*t - 3*t0)*power(b210,2))/8. + (3*cos(t - t0)*power(b210,2))/8. - (3*power(b310,2))/2. + (3*cos(t - t0)*power(b310,2))/2. - (11*a110*sin(t))/4. + 3*b310*sin(t) - (7*a110*sin(3*t - 4*t0))/4. - 3*a110*sin(2*t - 3*t0) - (3*b310*sin(2*t - 3*t0))/2. - (7*a110*b110*sin(3*t - 3*t0))/2. + (a210*b210*sin(3*t - 3*t0))/4. + (9*a110*sin(t - 2*t0))/4. - 3*b310*sin(t - 2*t0) - 3*b110*b310*sin(2*t - 2*t0) - (19*a110*sin(3*t - 2*t0))/4. - (3*a110*b110*sin(t - t0))/2. - (3*a210*b210*sin(t - t0))/4. + 3*a110*sin(2*t - t0) - (9*b310*sin(2*t - t0))/2. + 2*a110*sin(t0) - 3*b310*sin(t0)) + (power(e,3)*(-256*a110*a120 - 64*a210*a220 - 120*b110 + 64*b110*b120 + 32*b130 - 112*a110*a210*b210 - 32*b210*b220 - 96*a120*b310 - 96*a110*b110*b310 + 32*a210*b210*b310 - 96*a110*b320 - 96*b310*b320 + 51*cos(t) + 24*b120*cos(t) - 60*a110*b310*cos(t) + 218*b110*cos(2*t) - 29*cos(3*t) + 8*cos(4*t - 7*t0) - 15*cos(3*t - 6*t0) + 48*b110*cos(4*t - 6*t0) - 92*cos(2*t - 5*t0) - 60*b110*cos(3*t - 5*t0) + 37*cos(4*t - 5*t0) - 214*b110*cos(2*t - 4*t0) - 63*cos(3*t - 4*t0) - 56*b120*cos(3*t - 4*t0) + 60*a110*b310*cos(3*t - 4*t0) + 148*b110*cos(4*t - 4*t0) - 62*cos(2*t - 3*t0) - 96*b120*cos(2*t - 3*t0) + 432*a110*b310*cos(2*t - 3*t0) + 112*a110*a120*cos(3*t - 3*t0) - 8*a210*a220*cos(3*t - 3*t0) - 208*b110*cos(3*t - 3*t0) - 112*b110*b120*cos(3*t - 3*t0) + 88*a110*a210*b210*cos(3*t - 3*t0) + 8*b210*b220*cos(3*t - 3*t0) + 120*a110*b110*b310*cos(3*t - 3*t0) - 8*a210*b210*b310*cos(3*t - 3*t0) + 20*cos(4*t - 3*t0) - 28*b110*cos(2*t - 2*t0) - 144*a110*a210*b210*cos(2*t - 2*t0) + 96*a120*b310*cos(2*t - 2*t0) + 96*a110*b110*b310*cos(2*t - 2*t0) + 96*a210*b210*b310*cos(2*t - 2*t0) + 96*a110*b320*cos(2*t - 2*t0) - 101*cos(3*t - 2*t0) - 152*b120*cos(3*t - 2*t0) + 444*a110*b310*cos(3*t - 2*t0) + 40*b110*cos(4*t - 2*t0) + 144*a110*a120*cos(t - t0) + 72*a210*a220*cos(t - t0) + 208*b110*cos(t - t0) + 48*b110*b120*cos(t - t0) + 168*a110*a210*b210*cos(t - t0) + 24*b210*b220*cos(t - t0) - 120*a110*b110*b310*cos(t - t0) - 120*a210*b210*b310*cos(t - t0) + 96*b310*b320*cos(t - t0) + 66*cos(2*t - t0) + 96*b120*cos(2*t - t0) - 336*a110*b310*cos(2*t - t0) - 260*b110*cos(3*t - t0) - 75*cos(4*t - t0) + 52*cos(t0) + 184*b120*cos(t0) - 540*a110*b310*cos(t0) - 52*b110*cos(t)*cos(t0) + 96*cos(2*t)*cos(t0) + 228*b110*cos(2*t0) + 84*cos(t)*cos(2*t0) + 120*b120*cos(t)*cos(2*t0) - 444*a110*b310*cos(t)*cos(2*t0) - 180*cos(t0)*cos(2*t0) - 120*b120*cos(t0)*cos(2*t0) + 444*a110*b310*cos(t0)*cos(2*t0) + 203*cos(3*t0) + 180*b110*cos(t)*cos(3*t0) - 180*b110*cos(t0)*cos(3*t0) + 9*cos(t)*cos(4*t0) - 9*cos(t0)*cos(4*t0) + 136*b110*power(a110,2) - 204*cos(t)*power(a110,2) - 96*cos(4*t - 5*t0)*power(a110,2) + 60*cos(3*t - 4*t0)*power(a110,2) - 192*b110*cos(4*t - 4*t0)*power(a110,2) + 592*cos(2*t - 3*t0)*power(a110,2) + 224*b110*cos(3*t - 3*t0)*power(a110,2) - 148*cos(4*t - 3*t0)*power(a110,2) + 312*b110*cos(2*t - 2*t0)*power(a110,2) + 548*cos(3*t - 2*t0)*power(a110,2) - 480*b110*cos(t - t0)*power(a110,2) - 264*cos(2*t - t0)*power(a110,2) - 488*cos(t0)*power(a110,2) - 660*cos(t)*cos(2*t0)*power(a110,2) + 660*cos(t0)*cos(2*t0)*power(a110,2) - 104*b110*power(a210,2) + 48*cos(3*t - 4*t0)*power(a210,2) + 88*cos(2*t - 3*t0)*power(a210,2) + 104*b110*cos(3*t - 3*t0)*power(a210,2) - 4*cos(4*t - 3*t0)*power(a210,2) - 24*b110*cos(2*t - 2*t0)*power(a210,2) + 152*cos(3*t - 2*t0)*power(a210,2) + 24*b110*cos(t - t0)*power(a210,2) - 96*cos(2*t - t0)*power(a210,2) - 188*cos(t0)*power(a210,2) - 72*cos(t)*cos(2*t0)*power(a210,2) + 72*cos(t0)*cos(2*t0)*power(a210,2) + 36*cos(t)*power(b110,2) + 96*cos(4*t - 5*t0)*power(b110,2) - 116*cos(3*t - 4*t0)*power(b110,2) - 160*cos(2*t - 3*t0)*power(b110,2) + 148*cos(4*t - 3*t0)*power(b110,2) - 316*cos(3*t - 2*t0)*power(b110,2) + 120*cos(2*t - t0)*power(b110,2) + 192*cos(t0)*power(b110,2) + 204*cos(t)*cos(2*t0)*power(b110,2) - 204*cos(t0)*cos(2*t0)*power(b110,2) + 8*power(b110,3) + 64*cos(4*t - 4*t0)*power(b110,3) - 112*cos(3*t - 3*t0)*power(b110,3) - 8*cos(2*t - 2*t0)*power(b110,3) + 48*cos(t - t0)*power(b110,3) - 24*b110*power(b210,2) - 12*cos(t)*power(b210,2) + 28*cos(3*t - 4*t0)*power(b210,2) + 56*cos(2*t - 3*t0)*power(b210,2) + 48*b110*cos(3*t - 3*t0)*power(b210,2) + 4*cos(4*t - 3*t0)*power(b210,2) + 24*b110*cos(2*t - 2*t0)*power(b210,2) + 68*cos(3*t - 2*t0)*power(b210,2) - 48*b110*cos(t - t0)*power(b210,2) - 48*cos(2*t - t0)*power(b210,2) - 96*cos(t0)*power(b210,2) - 84*cos(t)*cos(2*t0)*power(b210,2) + 84*cos(t0)*cos(2*t0)*power(b210,2) - 192*b110*power(b310,2) + 108*cos(t)*power(b310,2) + 84*cos(3*t - 4*t0)*power(b310,2) + 48*cos(2*t - 3*t0)*power(b310,2) + 168*b110*cos(3*t - 3*t0)*power(b310,2) - 192*b110*cos(2*t - 2*t0)*power(b310,2) + 228*cos(3*t - 2*t0)*power(b310,2) + 216*b110*cos(t - t0)*power(b310,2) - 240*cos(2*t - t0)*power(b310,2) - 228*cos(t0)*power(b310,2) - 36*cos(t)*cos(2*t0)*power(b310,2) + 36*cos(t0)*cos(2*t0)*power(b310,2) + 52*b110*power(cos(t0),2) - 52*b110*power(sin(t0),2) - 88*a120*sin(t) + 536*a110*b110*sin(t) - 208*a210*b210*sin(t) + 612*b110*b310*sin(t) + 96*b320*sin(t) + 244*a110*cos(t0)*sin(t) + 273*b310*cos(t0)*sin(t) + 72*a120*cos(2*t0)*sin(t) - 504*a110*b110*cos(2*t0)*sin(t) + 192*a210*b210*cos(2*t0)*sin(t) - 348*b110*b310*cos(2*t0)*sin(t) - 96*b320*cos(2*t0)*sin(t) - 276*a110*cos(3*t0)*sin(t) - 267*b310*cos(3*t0)*sin(t) - 352*a110*sin(2*t) - 360*b310*sin(2*t) + 48*a110*sin(4*t - 6*t0) + 52*a110*sin(3*t - 5*t0) + 69*b310*sin(3*t - 5*t0) + 192*a110*b110*sin(4*t - 5*t0) - 112*a110*sin(2*t - 4*t0) - 24*b310*sin(2*t - 4*t0) - 56*a120*sin(3*t - 4*t0) + 216*a110*b110*sin(3*t - 4*t0) - 48*a210*b210*sin(3*t - 4*t0) + 276*b110*b310*sin(3*t - 4*t0) + 148*a110*sin(4*t - 4*t0) - 64*power(a110,3)*sin(4*t - 4*t0) + 192*a110*power(b110,2)*sin(4*t - 4*t0) - 96*a120*sin(2*t - 3*t0) - 296*a110*b110*sin(2*t - 3*t0) - 8*a210*b210*sin(2*t - 3*t0) - 192*b110*b310*sin(2*t - 3*t0) - 48*b320*sin(2*t - 3*t0) + 208*a110*sin(3*t - 3*t0) - 112*a120*b110*sin(3*t - 3*t0) - 112*a110*b120*sin(3*t - 3*t0) + 8*a220*b210*sin(3*t - 3*t0) - 112*a210*b110*b210*sin(3*t - 3*t0) + 8*a210*b220*sin(3*t - 3*t0) + 234*b310*sin(3*t - 3*t0) + 396*b310*power(a110,2)*sin(3*t - 3*t0) + 448*power(a110,3)*sin(3*t - 3*t0) + 96*a110*power(a210,2)*sin(3*t - 3*t0) - 4*b310*power(a210,2)*sin(3*t - 3*t0) + 112*a110*power(b110,2)*sin(3*t - 3*t0) + 276*b310*power(b110,2)*sin(3*t - 3*t0) + 64*a110*power(b210,2)*sin(3*t - 3*t0) + 4*b310*power(b210,2)*sin(3*t - 3*t0) + 168*a110*power(b310,2)*sin(3*t - 3*t0) + 296*a110*b110*sin(4*t - 3*t0) + 8*a210*b210*sin(4*t - 3*t0) - 424*a110*sin(2*t - 2*t0) + 192*a210*b110*b210*sin(2*t - 2*t0) - 288*b310*sin(2*t - 2*t0) - 96*b120*b310*sin(2*t - 2*t0) - 96*b110*b320*sin(2*t - 2*t0) + 384*b310*power(a110,2)*sin(2*t - 2*t0) - 64*power(a110,3)*sin(2*t - 2*t0) + 96*b310*power(a210,2)*sin(2*t - 2*t0) - 384*a110*power(b110,2)*sin(2*t - 2*t0) - 384*b310*power(b110,2)*sin(2*t - 2*t0) + 48*b310*power(b210,2)*sin(2*t - 2*t0) + 384*a110*power(b310,2)*sin(2*t - 2*t0) + 144*power(b310,3)*sin(2*t - 2*t0) - 152*a120*sin(3*t - 2*t0) + 200*a110*b110*sin(3*t - 2*t0) - 160*a210*b210*sin(3*t - 2*t0) + 468*b110*b310*sin(3*t - 2*t0) + 40*a110*sin(4*t - 2*t0) + 16*a110*sin(t - t0) - 48*a120*b110*sin(t - t0) - 48*a110*b120*sin(t - t0) - 24*a220*b210*sin(t - t0) - 48*a210*b110*b210*sin(t - t0) - 24*a210*b220*sin(t - t0) + 66*b310*sin(t - t0) + 156*b310*power(a110,2)*sin(t - t0) + 192*power(a110,3)*sin(t - t0) + 96*a110*power(a210,2)*sin(t - t0) + 12*b310*power(a210,2)*sin(t - t0) + 48*a110*power(b110,2)*sin(t - t0) + 132*b310*power(b110,2)*sin(t - t0) - 12*b310*power(b210,2)*sin(t - t0) + 72*a110*power(b310,2)*sin(t - t0) + 96*a120*sin(2*t - t0) - 936*a110*b110*sin(2*t - t0) + 312*a210*b210*sin(2*t - t0) - 864*b110*b310*sin(2*t - t0) - 144*b320*sin(2*t - t0) + 44*a110*sin(3*t - t0) + 105*b310*sin(3*t - t0) - 8*a120*sin(t0) + 16*a110*b110*sin(t0) - 8*a210*b210*sin(t0) - 132*b110*b310*sin(t0) + 244*a110*cos(t)*sin(t0) + 273*b310*cos(t)*sin(t0) - 488*a110*cos(t0)*sin(t0) - 546*b310*cos(t0)*sin(t0) - 72*a120*cos(2*t0)*sin(t0) + 504*a110*b110*cos(2*t0)*sin(t0) - 192*a210*b210*cos(2*t0)*sin(t0) + 348*b110*b310*cos(2*t0)*sin(t0) + 96*b320*cos(2*t0)*sin(t0) + 276*a110*cos(3*t0)*sin(t0) + 267*b310*cos(3*t0)*sin(t0) + 52*b110*sin(t)*sin(t0) - 96*sin(2*t)*sin(t0) + 256*a110*sin(2*t0) + 300*b310*sin(2*t0) - 72*a120*cos(t)*sin(2*t0) + 504*a110*b110*cos(t)*sin(2*t0) - 192*a210*b210*cos(t)*sin(2*t0) + 348*b110*b310*cos(t)*sin(2*t0) + 96*b320*cos(t)*sin(2*t0) + 72*a120*cos(t0)*sin(2*t0) - 504*a110*b110*cos(t0)*sin(2*t0) + 192*a210*b210*cos(t0)*sin(2*t0) - 348*b110*b310*cos(t0)*sin(2*t0) - 96*b320*cos(t0)*sin(2*t0) + 142*sin(t)*sin(2*t0) + 120*b120*sin(t)*sin(2*t0) - 444*a110*b310*sin(t)*sin(2*t0) - 660*power(a110,2)*sin(t)*sin(2*t0) - 72*power(a210,2)*sin(t)*sin(2*t0) + 204*power(b110,2)*sin(t)*sin(2*t0) - 84*power(b210,2)*sin(t)*sin(2*t0) - 36*power(b310,2)*sin(t)*sin(2*t0) - 46*sin(t0)*sin(2*t0) - 120*b120*sin(t0)*sin(2*t0) + 444*a110*b310*sin(t0)*sin(2*t0) + 660*power(a110,2)*sin(t0)*sin(2*t0) + 72*power(a210,2)*sin(t0)*sin(2*t0) - 204*power(b110,2)*sin(t0)*sin(2*t0) + 84*power(b210,2)*sin(t0)*sin(2*t0) + 36*power(b310,2)*sin(t0)*sin(2*t0) + 276*a110*cos(t)*sin(3*t0) + 267*b310*cos(t)*sin(3*t0) - 276*a110*cos(t0)*sin(3*t0) - 267*b310*cos(t0)*sin(3*t0) + 180*b110*sin(t)*sin(3*t0) - 180*b110*sin(t0)*sin(3*t0) + 9*sin(t)*sin(4*t0) - 9*sin(t0)*sin(4*t0)))/32. + power(e,4)*(-39.71875 - 8*a110*a130 - 2*a210*a230 + (17*a110*a120*b110)/2. - (13*a210*a220*b110)/2. - (15*b120)/4. + 2*b110*b130 + b140 - (7*a120*a210*b210)/2. - (7*a110*a220*b210)/2. + 24*a110*a210*b110*b210 - (7*a110*a210*b220)/2. - (3*b110*b210*b220)/2. - b210*b230 + (823*a110*b310)/8. - 3*a130*b310 - 3*a120*b110*b310 - 3*a110*b120*b310 + a220*b210*b310 + (85*a210*b110*b210*b310)/8. + a210*b220*b310 - 3*a120*b320 - 3*a110*b110*b320 + a210*b210*b320 - 12*b110*b310*b320 - 3*a110*b330 - 3*b310*b330 - (51*a110*a120*cos(t))/4. + (1529*b110*cos(t))/128. + (9*b110*b120*cos(t))/4. + (3*b130*cos(t))/4. - (549*a110*a210*b210*cos(t))/16. - (3*b210*b220*cos(t))/4. - (15*a120*b310*cos(t))/8. + (267*a110*b110*b310*cos(t))/4. - (33*a210*b210*b310*cos(t))/4. - (15*a110*b320*cos(t))/8. + (27*b310*b320*cos(t))/4. + (1037*cos(2*t))/16. + (109*b120*cos(2*t))/16. - (1455*a110*b310*cos(2*t))/16. + (1425*b110*cos(3*t))/256. - (473*cos(4*t))/16. + (97*cos(5*t - 9*t0))/2048. + (7*cos(4*t - 8*t0))/4. + (97*b110*cos(5*t - 8*t0))/256. + (11731*cos(3*t - 7*t0))/6144. + (21*b110*cos(4*t - 7*t0))/2. + (785*cos(5*t - 7*t0))/512. - (173*cos(2*t - 6*t0))/32. + (1461*b110*cos(3*t - 6*t0))/256. + (91*cos(4*t - 6*t0))/8. + (3*b120*cos(4*t - 6*t0))/2. - 6*a110*b310*cos(4*t - 6*t0) + (2355*b110*cos(5*t - 6*t0))/256. + (51*a110*a210*b210*cos(5*t - 6*t0))/32. - (3997*cos(t - 5*t0))/1024. - (397*b110*cos(2*t - 5*t0))/16. + (3959*cos(3*t - 5*t0))/1536. - (15*b120*cos(3*t - 5*t0))/8. - (79*a110*b310*cos(3*t - 5*t0))/4. - 6*a110*a120*cos(4*t - 5*t0) + 45*b110*cos(4*t - 5*t0) + 6*b110*b120*cos(4*t - 5*t0) - (33*a110*a210*b210*cos(4*t - 5*t0))/8. - 24*a110*b110*b310*cos(4*t - 5*t0) + (15*a210*b210*b310*cos(4*t - 5*t0))/16. + (9351*cos(5*t - 5*t0))/1024. + (51*a110*a210*b110*b210*cos(5*t - 5*t0))/16. - (73*b110*cos(t - 4*t0))/128. - (379*cos(2*t - 4*t0))/16. - (107*b120*cos(2*t - 4*t0))/16. + (33*a110*b310*cos(2*t - 4*t0))/16. + (15*a110*a120*cos(3*t - 4*t0))/4. + 3*a210*a220*cos(3*t - 4*t0) - (7257*b110*cos(3*t - 4*t0))/256. - (29*b110*b120*cos(3*t - 4*t0))/4. - (7*b130*cos(3*t - 4*t0))/4. + (55*a110*a210*b210*cos(3*t - 4*t0))/32. + (7*b210*b220*cos(3*t - 4*t0))/4. + (15*a120*b310*cos(3*t - 4*t0))/8. - (119*a110*b110*b310*cos(3*t - 4*t0))/4. - (15*a210*b210*b310*cos(3*t - 4*t0))/4. + (15*a110*b320*cos(3*t - 4*t0))/8. + (21*b310*b320*cos(3*t - 4*t0))/4. + (363*cos(4*t - 4*t0))/16. - 12*a110*a120*b110*cos(4*t - 4*t0) + (37*b120*cos(4*t - 4*t0))/8. - 12*a110*a210*b110*b210*cos(4*t - 4*t0) - (87*a110*b310*cos(4*t - 4*t0))/2. + (15*a210*b110*b210*b310*cos(4*t - 4*t0))/8. + (9351*b110*cos(5*t - 4*t0))/256. + (147*a110*a210*b210*cos(5*t - 4*t0))/32. + (803*cos(t - 3*t0))/256. + (45*b120*cos(t - 3*t0))/8. + 12*a110*b310*cos(t - 3*t0) + 37*a110*a120*cos(2*t - 3*t0) + (11*a210*a220*cos(2*t - 3*t0))/2. - (1135*b110*cos(2*t - 3*t0))/16. - 10*b110*b120*cos(2*t - 3*t0) - 3*b130*cos(2*t - 3*t0) + 16*a110*a210*b210*cos(2*t - 3*t0) + (7*b210*b220*cos(2*t - 3*t0))/2. + (27*a120*b310*cos(2*t - 3*t0))/2. + (57*a110*b110*b310*cos(2*t - 3*t0))/4. + 10*a210*b210*b310*cos(2*t - 3*t0) + (27*a110*b320*cos(2*t - 3*t0))/2. + 3*b310*b320*cos(2*t - 3*t0) - (31009*cos(3*t - 3*t0))/1024. + (7*a110*a130*cos(3*t - 3*t0))/2. - (a210*a230*cos(3*t - 3*t0))/4. + 14*a110*a120*b110*cos(3*t - 3*t0) + (13*a210*a220*b110*cos(3*t - 3*t0))/2. - (13*b120*cos(3*t - 3*t0))/2. - (7*b110*b130*cos(3*t - 3*t0))/2. + (11*a120*a210*b210*cos(3*t - 3*t0))/4. + (11*a110*a220*b210*cos(3*t - 3*t0))/4. + (183*a110*a210*b110*b210*cos(3*t - 3*t0))/16. + (11*a110*a210*b220*cos(3*t - 3*t0))/4. + 3*b110*b210*b220*cos(3*t - 3*t0) + (b210*b230*cos(3*t - 3*t0))/4. - (125*a110*b310*cos(3*t - 3*t0))/4. + (15*a120*b110*b310*cos(3*t - 3*t0))/4. + (15*a110*b120*b310*cos(3*t - 3*t0))/4. - (a220*b210*b310*cos(3*t - 3*t0))/4. - (19*a210*b110*b210*b310*cos(3*t - 3*t0))/2. - (a210*b220*b310*cos(3*t - 3*t0))/4. + (15*a110*b110*b320*cos(3*t - 3*t0))/4. - (a210*b210*b320*cos(3*t - 3*t0))/4. + (21*b110*b310*b320*cos(3*t - 3*t0))/2. - (37*a110*a120*cos(4*t - 3*t0))/4. - (a210*a220*cos(4*t - 3*t0))/4. + (251*b110*cos(4*t - 3*t0))/8. + (37*b110*b120*cos(4*t - 3*t0))/4. - (95*a110*a210*b210*cos(4*t - 3*t0))/8. + (b210*b220*cos(4*t - 3*t0))/4. - 87*a110*b110*b310*cos(4*t - 3*t0) + (41*a210*b210*b310*cos(4*t - 3*t0))/16. + (9813*cos(5*t - 3*t0))/512. - (165*a110*a120*cos(t - 2*t0))/4. - (9*a210*a220*cos(t - 2*t0))/2. + (10341*b110*cos(t - 2*t0))/128. + (51*b110*b120*cos(t - 2*t0))/4. + (15*b130*cos(t - 2*t0))/4. - (405*a110*a210*b210*cos(t - 2*t0))/16. - (21*b210*b220*cos(t - 2*t0))/4. - (111*a120*b310*cos(t - 2*t0))/8. - (45*a110*b110*b310*cos(t - 2*t0))/4. - (57*a210*b210*b310*cos(t - 2*t0))/4. - (111*a110*b320*cos(t - 2*t0))/8. - (9*b310*b320*cos(t - 2*t0))/4. - (533*cos(2*t - 2*t0))/16. + (39*a110*a120*b110*cos(2*t - 2*t0))/2. - (3*a210*a220*b110*cos(2*t - 2*t0))/2. - (7*b120*cos(2*t - 2*t0))/8. - (9*a120*a210*b210*cos(2*t - 2*t0))/2. - (9*a110*a220*b210*cos(2*t - 2*t0))/2. + 12*a110*a210*b110*b210*cos(2*t - 2*t0) - (9*a110*a210*b220*cos(2*t - 2*t0))/2. + (3*b110*b210*b220*cos(2*t - 2*t0))/2. + (417*a110*b310*cos(2*t - 2*t0))/8. + 3*a130*b310*cos(2*t - 2*t0) + 3*a120*b110*b310*cos(2*t - 2*t0) + 3*a110*b120*b310*cos(2*t - 2*t0) + 3*a220*b210*b310*cos(2*t - 2*t0) + (39*a210*b110*b210*b310*cos(2*t - 2*t0))/2. + 3*a210*b220*b310*cos(2*t - 2*t0) + 3*a120*b320*cos(2*t - 2*t0) + 3*a110*b110*b320*cos(2*t - 2*t0) + 3*a210*b210*b320*cos(2*t - 2*t0) - 12*b110*b310*b320*cos(2*t - 2*t0) + 3*a110*b330*cos(2*t - 2*t0) + (137*a110*a120*cos(3*t - 2*t0))/4. + (19*a210*a220*cos(3*t - 2*t0))/2. - (32157*b110*cos(3*t - 2*t0))/256. - (79*b110*b120*cos(3*t - 2*t0))/4. - (19*b130*cos(3*t - 2*t0))/4. + (503*a110*a210*b210*cos(3*t - 2*t0))/32. + (17*b210*b220*cos(3*t - 2*t0))/4. + (111*a120*b310*cos(3*t - 2*t0))/8. + (353*a110*b110*b310*cos(3*t - 2*t0))/4. - (23*a210*b210*b310*cos(3*t - 2*t0))/4. + (111*a110*b320*cos(3*t - 2*t0))/8. + (57*b310*b320*cos(3*t - 2*t0))/4. + (9*cos(4*t - 2*t0))/8. + (5*b120*cos(4*t - 2*t0))/4. - (117*a110*b310*cos(4*t - 2*t0))/2. + (9813*b110*cos(5*t - 2*t0))/256. + (36605*cos(t - t0))/512. + (9*a110*a130*cos(t - t0))/2. + (9*a210*a230*cos(t - t0))/4. - 30*a110*a120*b110*cos(t - t0) + (3*a210*a220*b110*cos(t - t0))/2. + (13*b120*cos(t - t0))/2. + (3*b110*b130*cos(t - t0))/2. + (21*a120*a210*b210*cos(t - t0))/4. + (21*a110*a220*b210*cos(t - t0))/4. - (309*a110*a210*b110*b210*cos(t - t0))/8. + (21*a110*a210*b220*cos(t - t0))/4. - 3*b110*b210*b220*cos(t - t0) + (3*b210*b230*cos(t - t0))/4. - (321*a110*b310*cos(t - t0))/4. - (15*a120*b110*b310*cos(t - t0))/4. - (15*a110*b120*b310*cos(t - t0))/4. - (15*a220*b210*b310*cos(t - t0))/4. - (45*a210*b110*b210*b310*cos(t - t0))/2. - (15*a210*b220*b310*cos(t - t0))/4. - (15*a110*b110*b320*cos(t - t0))/4. - (15*a210*b210*b320*cos(t - t0))/4. + (27*b110*b310*b320*cos(t - t0))/2. + 3*b310*b330*cos(t - t0) - (33*a110*a120*cos(2*t - t0))/2. - 6*a210*a220*cos(2*t - t0) + (1093*b110*cos(2*t - t0))/16. + (15*b110*b120*cos(2*t - t0))/2. + 3*b130*cos(2*t - t0) - 3*b210*b220*cos(2*t - t0) - (21*a120*b310*cos(2*t - t0))/2. - (303*a110*b110*b310*cos(2*t - t0))/4. + (21*a210*b210*b310*cos(2*t - t0))/2. - (21*a110*b320*cos(2*t - t0))/2. - 15*b310*b320*cos(2*t - t0) - (89477*cos(3*t - t0))/1536. - (65*b120*cos(3*t - t0))/8. + (345*a110*b310*cos(3*t - t0))/4. - (455*b110*cos(4*t - t0))/8. + (74987*cos(5*t - t0))/6144. + (43*a110*a120*cos(t0))/4. - (29*a210*a220*cos(t0))/4. - (233*b110*cos(t0))/4. - (3*b110*b120*cos(t0))/4. + 2*b130*cos(t0) + 36*a110*a210*b210*cos(t0) - (3*b210*b220*cos(t0))/4. - 3*a120*b310*cos(t0) + (117*a110*b110*b310*cos(t0))/2. + 8*a210*b210*b310*cos(t0) - 3*a110*b320*cos(t0) - 12*b310*b320*cos(t0) + (193*cos(2*t0))/12. + (25*b120*cos(2*t0))/8. - (121*a110*b310*cos(2*t0))/8. + (61*b110*cos(3*t0))/4. + (457*cos(4*t0))/96. - (29083*cos(t + t0))/768. - (13*b120*cos(t + t0))/8. + 90*a110*b310*cos(t + t0) + (375*b110*cos(2*t + t0))/16. + (120107*cos(3*t + t0))/6144. - (2165*b110*cos(t + 2*t0))/128. - (101*cos(2*t + 2*t0))/32. + (1851*cos(t + 3*t0))/1024. + (5*power(a110,2))/4. + (17*b120*power(a110,2))/4. + (699*b110*cos(t)*power(a110,2))/32. + (349*cos(2*t)*power(a110,2))/8. - (291*cos(5*t - 7*t0)*power(a110,2))/256. - 15*cos(4*t - 6*t0)*power(a110,2) - (291*b110*cos(5*t - 6*t0)*power(a110,2))/64. - (3031*cos(3*t - 5*t0)*power(a110,2))/256. - 30*b110*cos(4*t - 5*t0)*power(a110,2) - (2355*cos(5*t - 5*t0)*power(a110,2))/128. + (93*cos(2*t - 4*t0)*power(a110,2))/8. - (483*b110*cos(3*t - 4*t0)*power(a110,2))/64. - (63*cos(4*t - 4*t0)*power(a110,2))/2. - 6*b120*cos(4*t - 4*t0)*power(a110,2) - (2355*b110*cos(5*t - 4*t0)*power(a110,2))/64. - (2269*cos(t - 3*t0)*power(a110,2))/128. - (103*b110*cos(2*t - 3*t0)*power(a110,2))/4. + (2429*cos(3*t - 3*t0)*power(a110,2))/128. + 7*b120*cos(3*t - 3*t0)*power(a110,2) + (23*b110*cos(4*t - 3*t0)*power(a110,2))/2. - (9351*cos(5*t - 3*t0)*power(a110,2))/256. + (1035*b110*cos(t - 2*t0)*power(a110,2))/32. - (125*cos(2*t - 2*t0)*power(a110,2))/2. + (39*b120*cos(2*t - 2*t0)*power(a110,2))/4. - (2195*b110*cos(3*t - 2*t0)*power(a110,2))/64. + (83*cos(4*t - 2*t0)*power(a110,2))/2. + (5899*cos(t - t0)*power(a110,2))/64. - 15*b120*cos(t - t0)*power(a110,2) + (69*b110*cos(2*t - t0)*power(a110,2))/4. - (12067*cos(3*t - t0)*power(a110,2))/256. + 56*b110*cos(t0)*power(a110,2) + (115*cos(2*t0)*power(a110,2))/2. - (3185*cos(t + t0)*power(a110,2))/128. - (285*b310*power(a110,3))/4. + 32*b310*cos(4*t - 4*t0)*power(a110,3) + (45*b310*cos(3*t - 3*t0)*power(a110,3))/4. - (127*b310*cos(2*t - 2*t0)*power(a110,3))/4. + (239*b310*cos(t - t0)*power(a110,3))/4. - (181*power(a110,4))/4. + (97*cos(5*t - 5*t0)*power(a110,4))/128. + 24*cos(4*t - 4*t0)*power(a110,4) - (151*cos(3*t - 3*t0)*power(a110,4))/128. - 28*cos(2*t - 2*t0)*power(a110,4) + (3179*cos(t - t0)*power(a110,4))/64. - 4*power(a120,2) + (7*cos(3*t - 3*t0)*power(a120,2))/4. + (9*cos(t - t0)*power(a120,2))/4. - (35*power(a210,2))/16. - (13*b120*power(a210,2))/4. + (79*a110*b310*power(a210,2))/16. + (345*b110*cos(t)*power(a210,2))/32. - (67*cos(2*t)*power(a210,2))/16. + (51*cos(5*t - 7*t0)*power(a210,2))/256. - (33*cos(4*t - 6*t0)*power(a210,2))/32. + (51*b110*cos(5*t - 6*t0)*power(a210,2))/64. + (567*cos(3*t - 5*t0)*power(a210,2))/256. - (81*b110*cos(4*t - 5*t0)*power(a210,2))/16. + (147*cos(5*t - 5*t0)*power(a210,2))/128. + (93*cos(2*t - 4*t0)*power(a210,2))/16. + (539*b110*cos(3*t - 4*t0)*power(a210,2))/64. - (63*cos(4*t - 4*t0)*power(a210,2))/16. - (15*a110*b310*cos(4*t - 4*t0)*power(a210,2))/16. + (147*b110*cos(5*t - 4*t0)*power(a210,2))/64. - (847*cos(t - 3*t0)*power(a210,2))/128. + (29*b110*cos(2*t - 3*t0)*power(a210,2))/4. + (763*cos(3*t - 3*t0)*power(a210,2))/128. + (13*b120*cos(3*t - 3*t0)*power(a210,2))/4. - 4*a110*b310*cos(3*t - 3*t0)*power(a210,2) - (167*b110*cos(4*t - 3*t0)*power(a210,2))/16. + (399*cos(5*t - 3*t0)*power(a210,2))/256. - (279*b110*cos(t - 2*t0)*power(a210,2))/32. - (17*cos(2*t - 2*t0)*power(a210,2))/8. - (3*b120*cos(2*t - 2*t0)*power(a210,2))/4. + 3*a110*b310*cos(2*t - 2*t0)*power(a210,2) + (1243*b110*cos(3*t - 2*t0)*power(a210,2))/64. - (85*cos(4*t - 2*t0)*power(a210,2))/32. + (73*cos(t - t0)*power(a210,2))/64. + (3*b120*cos(t - t0)*power(a210,2))/4. - 3*a110*b310*cos(t - t0)*power(a210,2) - (33*b110*cos(2*t - t0)*power(a210,2))/4. + (1579*cos(3*t - t0)*power(a210,2))/256. - (33*b110*cos(t0)*power(a210,2))/2. - (163*cos(2*t0)*power(a210,2))/16. + (1117*cos(t + t0)*power(a210,2))/128. + (21*power(a110,2)*power(a210,2))/4. - (51*cos(5*t - 5*t0)*power(a110,2)*power(a210,2))/64. + 6*cos(4*t - 4*t0)*power(a110,2)*power(a210,2) - (459*cos(3*t - 3*t0)*power(a110,2)*power(a210,2))/64. - (3*cos(2*t - 2*t0)*power(a110,2)*power(a210,2))/4. - (81*cos(t - t0)*power(a110,2)*power(a210,2))/32. + power(a210,4) + (3*cos(5*t - 5*t0)*power(a210,4))/128. - (221*cos(3*t - 3*t0)*power(a210,4))/128. + (3*cos(2*t - 2*t0)*power(a210,4))/4. - (3*cos(t - t0)*power(a210,4))/64. - power(a220,2) - (cos(3*t - 3*t0)*power(a220,2))/8. + (9*cos(t - t0)*power(a220,2))/8. - (67*power(b110,2))/2. + (3*b120*power(b110,2))/4. - (9*a110*b310*power(b110,2))/4. + (619*cos(2*t)*power(b110,2))/16. + (291*cos(5*t - 7*t0)*power(b110,2))/256. + (45*cos(4*t - 6*t0)*power(b110,2))/2. - (833*cos(3*t - 5*t0)*power(b110,2))/256. + (2355*cos(5*t - 5*t0)*power(b110,2))/128. - (653*cos(2*t - 4*t0)*power(b110,2))/16. + (385*cos(4*t - 4*t0)*power(b110,2))/8. + 6*b120*cos(4*t - 4*t0)*power(b110,2) - 24*a110*b310*cos(4*t - 4*t0)*power(b110,2) + (3241*cos(t - 3*t0)*power(b110,2))/128. - (10805*cos(3*t - 3*t0)*power(b110,2))/128. - (21*b120*cos(3*t - 3*t0)*power(b110,2))/2. + (93*a110*b310*cos(3*t - 3*t0)*power(b110,2))/4. + (9351*cos(5*t - 3*t0)*power(b110,2))/256. - (35*cos(2*t - 2*t0)*power(b110,2))/8. - (3*b120*cos(2*t - 2*t0)*power(b110,2))/4. - (123*a110*b310*cos(2*t - 2*t0)*power(b110,2))/4. - (107*cos(4*t - 2*t0)*power(b110,2))/4. + (3569*cos(t - t0)*power(b110,2))/64. + (9*b120*cos(t - t0)*power(b110,2))/2. + (135*a110*b310*cos(t - t0)*power(b110,2))/4. - (9653*cos(3*t - t0)*power(b110,2))/256. - (43*cos(2*t0)*power(b110,2))/8. - (1315*cos(t + t0)*power(b110,2))/128. + (39*power(a110,2)*power(b110,2))/4. - (291*cos(5*t - 5*t0)*power(a110,2)*power(b110,2))/64. - 6*cos(4*t - 4*t0)*power(a110,2)*power(b110,2) - (723*cos(3*t - 3*t0)*power(a110,2)*power(b110,2))/64. - (21*cos(2*t - 2*t0)*power(a110,2)*power(b110,2))/4. + (555*cos(t - t0)*power(a110,2)*power(b110,2))/32. - 7*power(a210,2)*power(b110,2) + (51*cos(5*t - 5*t0)*power(a210,2)*power(b110,2))/64. - 6*cos(4*t - 4*t0)*power(a210,2)*power(b110,2) + (763*cos(3*t - 3*t0)*power(a210,2)*power(b110,2))/64. - (3*cos(2*t - 2*t0)*power(a210,2)*power(b110,2))/2. + (57*cos(t - t0)*power(a210,2)*power(b110,2))/32. + (259*cos(t)*power(b110,3))/32. + (97*cos(5*t - 6*t0)*power(b110,3))/64. + 20*cos(4*t - 5*t0)*power(b110,3) - (3365*cos(3*t - 4*t0)*power(b110,3))/192. + (785*cos(5*t - 4*t0)*power(b110,3))/64. - (71*cos(2*t - 3*t0)*power(b110,3))/4. + (29*cos(4*t - 3*t0)*power(b110,3))/4. + (739*cos(t - 2*t0)*power(b110,3))/32. - (6613*cos(3*t - 2*t0)*power(b110,3))/192. + (55*cos(2*t - t0)*power(b110,3))/4. - (65*cos(t0)*power(b110,3))/4. - (5*power(b110,4))/2. + (97*cos(5*t - 5*t0)*power(b110,4))/128. + 6*cos(4*t - 4*t0)*power(b110,4) - (1111*cos(3*t - 3*t0)*power(b110,4))/128. - (3*cos(2*t - 2*t0)*power(b110,4))/4. + (331*cos(t - t0)*power(b110,4))/64. + power(b120,2) - (7*cos(3*t - 3*t0)*power(b120,2))/4. + (3*cos(t - t0)*power(b120,2))/4. + (241*power(b210,2))/16. - (3*b120*power(b210,2))/4. - (103*a110*b310*power(b210,2))/16. - (381*b110*cos(t)*power(b210,2))/32. + (71*cos(2*t)*power(b210,2))/32. - (51*cos(5*t - 7*t0)*power(b210,2))/256. - (39*cos(4*t - 6*t0)*power(b210,2))/32. - (51*b110*cos(5*t - 6*t0)*power(b210,2))/64. - (119*cos(3*t - 5*t0)*power(b210,2))/256. - (63*b110*cos(4*t - 5*t0)*power(b210,2))/16. - (147*cos(5*t - 5*t0)*power(b210,2))/128. + (47*cos(2*t - 4*t0)*power(b210,2))/32. - (51*b110*cos(3*t - 4*t0)*power(b210,2))/64. - (13*cos(4*t - 4*t0)*power(b210,2))/4. + (15*a110*b310*cos(4*t - 4*t0)*power(b210,2))/16. - (147*b110*cos(5*t - 4*t0)*power(b210,2))/64. - (545*cos(t - 3*t0)*power(b210,2))/128. + (3*b110*cos(2*t - 3*t0)*power(b210,2))/4. - (107*cos(3*t - 3*t0)*power(b210,2))/128. + (3*b120*cos(3*t - 3*t0)*power(b210,2))/2. + (5*a110*b310*cos(3*t - 3*t0)*power(b210,2))/8. - (63*b110*cos(4*t - 3*t0)*power(b210,2))/16. - (399*cos(5*t - 3*t0)*power(b210,2))/256. - (261*b110*cos(t - 2*t0)*power(b210,2))/32. - (49*cos(2*t - 2*t0)*power(b210,2))/16. + (3*b120*cos(2*t - 2*t0)*power(b210,2))/4. - (3*a110*b310*cos(2*t - 2*t0)*power(b210,2))/2. + (61*b110*cos(3*t - 2*t0)*power(b210,2))/64. + (17*cos(4*t - 2*t0)*power(b210,2))/32. - (433*cos(t - t0)*power(b210,2))/64. - (3*b120*cos(t - t0)*power(b210,2))/2. + (51*a110*b310*cos(t - t0)*power(b210,2))/8. - (587*cos(3*t - t0)*power(b210,2))/256. + (241*b110*cos(t0)*power(b210,2))/8. + (55*cos(2*t0)*power(b210,2))/4. - (1021*cos(t + t0)*power(b210,2))/128. - (97*power(a110,2)*power(b210,2))/8. + (51*cos(5*t - 5*t0)*power(a110,2)*power(b210,2))/64. + 3*cos(4*t - 4*t0)*power(a110,2)*power(b210,2) + (83*cos(3*t - 3*t0)*power(a110,2)*power(b210,2))/64. - (75*cos(2*t - 2*t0)*power(a110,2)*power(b210,2))/8. + (525*cos(t - t0)*power(a110,2)*power(b210,2))/32. - (21*power(a210,2)*power(b210,2))/8. - (9*cos(5*t - 5*t0)*power(a210,2)*power(b210,2))/64. + (15*cos(3*t - 3*t0)*power(a210,2)*power(b210,2))/64. - (39*cos(2*t - 2*t0)*power(a210,2)*power(b210,2))/8. + (237*cos(t - t0)*power(a210,2)*power(b210,2))/32. + (63*power(b110,2)*power(b210,2))/8. - (51*cos(5*t - 5*t0)*power(b110,2)*power(b210,2))/64. - 3*cos(4*t - 4*t0)*power(b110,2)*power(b210,2) + (69*cos(3*t - 3*t0)*power(b110,2)*power(b210,2))/64. - (3*cos(2*t - 2*t0)*power(b110,2)*power(b210,2))/8. - (153*cos(t - t0)*power(b110,2)*power(b210,2))/32. - (3*power(b210,4))/8. + (3*cos(5*t - 5*t0)*power(b210,4))/128. - (21*cos(3*t - 3*t0)*power(b210,4))/128. - (3*cos(2*t - 2*t0)*power(b210,4))/8. + (57*cos(t - t0)*power(b210,4))/64. - power(b220,2)/2. + (cos(3*t - 3*t0)*power(b220,2))/8. + (3*cos(t - t0)*power(b220,2))/8. - (69*power(b310,2))/8. - 6*b120*power(b310,2) + 36*b110*cos(t)*power(b310,2) + (381*cos(2*t)*power(b310,2))/32. - (9*cos(4*t - 6*t0)*power(b310,2))/4. + (119*cos(3*t - 5*t0)*power(b310,2))/32. - 9*b110*cos(4*t - 5*t0)*power(b310,2) - (267*cos(2*t - 4*t0)*power(b310,2))/32. + (29*b110*cos(3*t - 4*t0)*power(b310,2))/2. - (111*cos(4*t - 4*t0)*power(b310,2))/16. - (27*cos(t - 3*t0)*power(b310,2))/32. - 33*b110*cos(2*t - 3*t0)*power(b310,2) + (9*cos(3*t - 3*t0)*power(b310,2))/16. + (21*b120*cos(3*t - 3*t0)*power(b310,2))/4. - (111*b110*cos(4*t - 3*t0)*power(b310,2))/8. + (129*b110*cos(t - 2*t0)*power(b310,2))/4. - (495*cos(2*t - 2*t0)*power(b310,2))/16. - 6*b120*cos(2*t - 2*t0)*power(b310,2) + (45*b110*cos(3*t - 2*t0)*power(b310,2))/4. - (15*cos(4*t - 2*t0)*power(b310,2))/8. + (735*cos(t - t0)*power(b310,2))/16. + (27*b120*cos(t - t0)*power(b310,2))/4. - (81*b110*cos(2*t - t0)*power(b310,2))/4. - (309*cos(3*t - t0)*power(b310,2))/32. - (143*b110*cos(t0)*power(b310,2))/8. + (161*cos(2*t0)*power(b310,2))/16. - (87*cos(t + t0)*power(b310,2))/32. - (319*power(a110,2)*power(b310,2))/8. + 9*cos(4*t - 4*t0)*power(a110,2)*power(b310,2) + (127*cos(3*t - 3*t0)*power(a110,2)*power(b310,2))/8. - (33*cos(2*t - 2*t0)*power(a110,2)*power(b310,2))/8. + (153*cos(t - t0)*power(a110,2)*power(b310,2))/8. + (35*power(a210,2)*power(b310,2))/8. - (41*cos(3*t - 3*t0)*power(a210,2)*power(b310,2))/8. + (45*cos(2*t - 2*t0)*power(a210,2)*power(b310,2))/8. - (39*cos(t - t0)*power(a210,2)*power(b310,2))/8. - (125*power(b110,2)*power(b310,2))/8. - 9*cos(4*t - 4*t0)*power(b110,2)*power(b310,2) + (155*cos(3*t - 3*t0)*power(b110,2)*power(b310,2))/8. - (219*cos(2*t - 2*t0)*power(b110,2)*power(b310,2))/8. + (261*cos(t - t0)*power(b110,2)*power(b310,2))/8. + (13*power(b210,2)*power(b310,2))/8. - 2*cos(3*t - 3*t0)*power(b210,2)*power(b310,2) + (27*cos(2*t - 2*t0)*power(b210,2)*power(b310,2))/8. - 3*cos(t - t0)*power(b210,2)*power(b310,2) + (15*a110*power(b310,3))/2. - (45*a110*cos(3*t - 3*t0)*power(b310,3))/8. + (57*a110*cos(2*t - 2*t0)*power(b310,3))/2. - (243*a110*cos(t - t0)*power(b310,3))/8. + (9*power(b310,4))/2. - (63*cos(3*t - 3*t0)*power(b310,4))/16. + 9*cos(2*t - 2*t0)*power(b310,4) - (153*cos(t - t0)*power(b310,4))/16. - (3*power(b320,2))/2. + (3*cos(t - t0)*power(b320,2))/2. - (16257*a110*sin(t))/128. - (11*a130*sin(t))/4. + (67*a120*b110*sin(t))/4. + (67*a110*b120*sin(t))/4. - (13*a220*b210*sin(t))/2. + (193*a210*b110*b210*sin(t))/16. - (13*a210*b220*sin(t))/2. + (5031*b310*sin(t))/64. + (153*b120*b310*sin(t))/8. + (153*b110*b320*sin(t))/8. + 3*b330*sin(t) - (1533*b310*power(a110,2)*sin(t))/16. - (2705*power(a110,3)*sin(t))/32. + (99*a110*power(a210,2)*sin(t))/32. - (173*b310*power(a210,2)*sin(t))/16. + (523*a110*power(b110,2)*sin(t))/32. + (969*b310*power(b110,2)*sin(t))/16. - (647*a110*power(b210,2)*sin(t))/32. - (83*b310*power(b210,2)*sin(t))/8. - (273*a110*power(b310,2)*sin(t))/2. - (339*power(b310,3)*sin(t))/16. - 11*a120*sin(2*t) - 71*a110*b110*sin(2*t) + (11*a210*b210*sin(2*t))/2. - (87*b110*b310*sin(2*t))/2. - (45*b320*sin(2*t))/4. + (41657*a110*sin(3*t))/768. - (2835*b310*sin(3*t))/64. + (97*a110*sin(5*t - 8*t0))/256. + (15*a110*sin(4*t - 7*t0))/2. - (b310*sin(4*t - 7*t0))/2. + (291*a110*b110*sin(5*t - 7*t0))/128. - (51*a210*b210*sin(5*t - 7*t0))/128. + (3231*a110*sin(3*t - 6*t0))/256. + (625*b310*sin(3*t - 6*t0))/64. + (3*a120*sin(4*t - 6*t0))/2. + 27*a110*b110*sin(4*t - 6*t0) + (9*a210*b210*sin(4*t - 6*t0))/16. - 3*b110*b310*sin(4*t - 6*t0) + (2355*a110*sin(5*t - 6*t0))/256. - (51*a210*b110*b210*sin(5*t - 6*t0))/32. - (97*power(a110,3)*sin(5*t - 6*t0))/64. + (51*a110*power(a210,2)*sin(5*t - 6*t0))/64. + (291*a110*power(b110,2)*sin(5*t - 6*t0))/64. - (51*a110*power(b210,2)*sin(5*t - 6*t0))/64. - (123*a110*sin(2*t - 5*t0))/16. + (59*b310*sin(2*t - 5*t0))/8. + (13*a120*sin(3*t - 5*t0))/8. + (3517*a110*b110*sin(3*t - 5*t0))/128. - (277*a210*b210*sin(3*t - 5*t0))/128. + (1331*b110*b310*sin(3*t - 5*t0))/32. + (69*b320*sin(3*t - 5*t0))/32. + (131*a110*sin(4*t - 5*t0))/4. + 6*a120*b110*sin(4*t - 5*t0) + 6*a110*b120*sin(4*t - 5*t0) + (33*a210*b110*b210*sin(4*t - 5*t0))/8. + (63*b310*sin(4*t - 5*t0))/16. - 30*b310*power(a110,2)*sin(4*t - 5*t0) - 26*power(a110,3)*sin(4*t - 5*t0) - (81*a110*power(a210,2)*sin(4*t - 5*t0))/16. + (15*b310*power(a210,2)*sin(4*t - 5*t0))/32. + 24*a110*power(b110,2)*sin(4*t - 5*t0) - 6*b310*power(b110,2)*sin(4*t - 5*t0) - (63*a110*power(b210,2)*sin(4*t - 5*t0))/16. - (15*b310*power(b210,2)*sin(4*t - 5*t0))/32. - 9*a110*power(b310,2)*sin(4*t - 5*t0) + (2355*a110*b110*sin(5*t - 5*t0))/64. - (147*a210*b210*sin(5*t - 5*t0))/64. + (51*a210*b210*power(a110,2)*sin(5*t - 5*t0))/32. - (97*b110*power(a110,3)*sin(5*t - 5*t0))/32. + (51*a110*b110*power(a210,2)*sin(5*t - 5*t0))/32. - (3*b210*power(a210,3)*sin(5*t - 5*t0))/32. - (51*a210*b210*power(b110,2)*sin(5*t - 5*t0))/32. + (97*a110*power(b110,3)*sin(5*t - 5*t0))/32. - (51*a110*b110*power(b210,2)*sin(5*t - 5*t0))/32. + (3*a210*power(b210,3)*sin(5*t - 5*t0))/32. - (1839*a110*sin(t - 4*t0))/128. - (1327*b310*sin(t - 4*t0))/64. - (7*a120*sin(2*t - 4*t0))/2. - (63*a110*b110*sin(2*t - 4*t0))/2. - (3*a210*b210*sin(2*t - 4*t0))/2. - (3*b110*b310*sin(2*t - 4*t0))/4. - (3*b320*sin(2*t - 4*t0))/4. + (181*a110*sin(3*t - 4*t0))/256. - (7*a130*sin(3*t - 4*t0))/4. + (27*a120*b110*sin(3*t - 4*t0))/4. + (27*a110*b120*sin(3*t - 4*t0))/4. - (3*a220*b210*sin(3*t - 4*t0))/2. - (225*a210*b110*b210*sin(3*t - 4*t0))/32. - (3*a210*b220*sin(3*t - 4*t0))/2. + (2555*b310*sin(3*t - 4*t0))/64. + (69*b120*b310*sin(3*t - 4*t0))/8. + (69*b110*b320*sin(3*t - 4*t0))/8. - (1441*b310*power(a110,2)*sin(3*t - 4*t0))/16. - (8425*power(a110,3)*sin(3*t - 4*t0))/192. - (343*a110*power(a210,2)*sin(3*t - 4*t0))/64. - (113*b310*power(a210,2)*sin(3*t - 4*t0))/16. + (921*a110*power(b110,2)*sin(3*t - 4*t0))/64. + (925*b310*power(b110,2)*sin(3*t - 4*t0))/16. - (497*a110*power(b210,2)*sin(3*t - 4*t0))/64. - (47*b310*power(b210,2)*sin(3*t - 4*t0))/8. - 53*a110*power(b310,2)*sin(3*t - 4*t0) - (207*power(b310,3)*sin(3*t - 4*t0))/16. + (37*a120*sin(4*t - 4*t0))/8. + (189*a110*b110*sin(4*t - 4*t0))/4. + 12*a110*b110*b120*sin(4*t - 4*t0) + 3*a210*b210*sin(4*t - 4*t0) + (63*b110*b310*sin(4*t - 4*t0))/4. + (15*a110*a210*b210*b310*sin(4*t - 4*t0))/8. - 6*a120*power(a110,2)*sin(4*t - 4*t0) - 6*a210*b210*power(a110,2)*sin(4*t - 4*t0) - 60*b110*b310*power(a110,2)*sin(4*t - 4*t0) - 36*b110*power(a110,3)*sin(4*t - 4*t0) - 12*a110*b110*power(a210,2)*sin(4*t - 4*t0) + (15*b110*b310*power(a210,2)*sin(4*t - 4*t0))/16. + 6*a120*power(b110,2)*sin(4*t - 4*t0) + 6*a210*b210*power(b110,2)*sin(4*t - 4*t0) - 4*b310*power(b110,3)*sin(4*t - 4*t0) - 6*a110*b110*power(b210,2)*sin(4*t - 4*t0) - (15*b110*b310*power(b210,2)*sin(4*t - 4*t0))/16. - 18*a110*b110*power(b310,2)*sin(4*t - 4*t0) + (9351*a110*sin(5*t - 4*t0))/256. - (147*a210*b110*b210*sin(5*t - 4*t0))/32. - (785*power(a110,3)*sin(5*t - 4*t0))/64. + (147*a110*power(a210,2)*sin(5*t - 4*t0))/64. + (2355*a110*power(b110,2)*sin(5*t - 4*t0))/64. - (147*a110*power(b210,2)*sin(5*t - 4*t0))/64. - (69*a120*sin(t - 3*t0))/8. + (79*a110*b110*sin(t - 3*t0))/64. + (337*a210*b210*sin(t - 3*t0))/64. - (1773*b110*b310*sin(t - 3*t0))/32. - (267*b320*sin(t - 3*t0))/32. - (647*a110*sin(2*t - 3*t0))/16. - 3*a130*sin(2*t - 3*t0) - (37*a120*b110*sin(2*t - 3*t0))/4. - (37*a110*b120*sin(2*t - 3*t0))/4. - (a220*b210*sin(2*t - 3*t0))/4. + (5*a210*b110*b210*sin(2*t - 3*t0))/4. - (a210*b220*sin(2*t - 3*t0))/4. - (183*b310*sin(2*t - 3*t0))/8. - 6*b120*b310*sin(2*t - 3*t0) - 6*b110*b320*sin(2*t - 3*t0) - (3*b330*sin(2*t - 3*t0))/2. + (213*b310*power(a110,2)*sin(2*t - 3*t0))/4. + (97*power(a110,3)*sin(2*t - 3*t0))/4. + (21*a110*power(a210,2)*sin(2*t - 3*t0))/4. + (23*b310*power(a210,2)*sin(2*t - 3*t0))/4. - (37*a110*power(b110,2)*sin(2*t - 3*t0))/2. - (171*b310*power(b110,2)*sin(2*t - 3*t0))/4. + (11*a110*power(b210,2)*sin(2*t - 3*t0))/8. + (b310*power(b210,2)*sin(2*t - 3*t0))/4. + (75*a110*power(b310,2)*sin(2*t - 3*t0))/8. + 6*power(b310,3)*sin(2*t - 3*t0) + (13*a120*sin(3*t - 3*t0))/2. + 6*a110*a210*a220*sin(3*t - 3*t0) - (3303*a110*b110*sin(3*t - 3*t0))/64. - (7*a130*b110*sin(3*t - 3*t0))/2. - (7*a120*b120*sin(3*t - 3*t0))/2. + 7*a110*b110*b120*sin(3*t - 3*t0) - (7*a110*b130*sin(3*t - 3*t0))/2. - (217*a210*b210*sin(3*t - 3*t0))/64. + (a230*b210*sin(3*t - 3*t0))/4. - (7*a220*b110*b210*sin(3*t - 3*t0))/2. - (7*a210*b120*b210*sin(3*t - 3*t0))/2. + (a220*b220*sin(3*t - 3*t0))/4. - (7*a210*b110*b220*sin(3*t - 3*t0))/2. + 4*a110*b210*b220*sin(3*t - 3*t0) + (a210*b230*sin(3*t - 3*t0))/4. + (99*a110*a120*b310*sin(3*t - 3*t0))/4. - (a210*a220*b310*sin(3*t - 3*t0))/4. + (1439*b110*b310*sin(3*t - 3*t0))/16. + (69*b110*b120*b310*sin(3*t - 3*t0))/4. + 10*a110*a210*b210*b310*sin(3*t - 3*t0) + (b210*b220*b310*sin(3*t - 3*t0))/4. + (117*b320*sin(3*t - 3*t0))/16. + (21*a110*b310*b320*sin(3*t - 3*t0))/2. + 42*a120*power(a110,2)*sin(3*t - 3*t0) + (745*a210*b210*power(a110,2)*sin(3*t - 3*t0))/32. - (861*b110*b310*power(a110,2)*sin(3*t - 3*t0))/8. + (99*b320*power(a110,2)*sin(3*t - 3*t0))/8. - (2195*b110*power(a110,3)*sin(3*t - 3*t0))/32. + 3*a120*power(a210,2)*sin(3*t - 3*t0) - (103*a110*b110*power(a210,2)*sin(3*t - 3*t0))/32. - (121*b110*b310*power(a210,2)*sin(3*t - 3*t0))/8. - (b320*power(a210,2)*sin(3*t - 3*t0))/8. + (119*b210*power(a210,3)*sin(3*t - 3*t0))/32. + (7*a120*power(b110,2)*sin(3*t - 3*t0))/2. - (329*a210*b210*power(b110,2)*sin(3*t - 3*t0))/32. + (69*b320*power(b110,2)*sin(3*t - 3*t0))/8. + (595*a110*power(b110,3)*sin(3*t - 3*t0))/32. + (219*b310*power(b110,3)*sin(3*t - 3*t0))/8. + 2*a120*power(b210,2)*sin(3*t - 3*t0) - (409*a110*b110*power(b210,2)*sin(3*t - 3*t0))/32. - (43*b110*b310*power(b210,2)*sin(3*t - 3*t0))/4. + (b320*power(b210,2)*sin(3*t - 3*t0))/8. + (65*a210*power(b210,3)*sin(3*t - 3*t0))/32. + (21*a120*power(b310,2)*sin(3*t - 3*t0))/4. - (385*a110*b110*power(b310,2)*sin(3*t - 3*t0))/4. + (23*a210*b210*power(b310,2)*sin(3*t - 3*t0))/4. - (207*b110*power(b310,3)*sin(3*t - 3*t0))/8. + (157*a110*sin(4*t - 3*t0))/8. + (37*a120*b110*sin(4*t - 3*t0))/4. + (37*a110*b120*sin(4*t - 3*t0))/4. + (a220*b210*sin(4*t - 3*t0))/4. + (89*a210*b110*b210*sin(4*t - 3*t0))/8. + (a210*b220*sin(4*t - 3*t0))/4. + (51*b310*sin(4*t - 3*t0))/2. - (285*b310*power(a110,2)*sin(4*t - 3*t0))/4. - 23*power(a110,3)*sin(4*t - 3*t0) - (171*a110*power(a210,2)*sin(4*t - 3*t0))/16. + (41*b310*power(a210,2)*sin(4*t - 3*t0))/32. - (109*a110*power(b110,2)*sin(4*t - 3*t0))/4. + (63*b310*power(b110,2)*sin(4*t - 3*t0))/4. - (55*a110*power(b210,2)*sin(4*t - 3*t0))/16. - (41*b310*power(b210,2)*sin(4*t - 3*t0))/32. - (111*a110*power(b310,2)*sin(4*t - 3*t0))/8. + (9351*a110*b110*sin(5*t - 3*t0))/128. - (399*a210*b210*sin(5*t - 3*t0))/128. + (6995*a110*sin(t - 2*t0))/128. + (9*a130*sin(t - 2*t0))/4. - (63*a120*b110*sin(t - 2*t0))/4. - (63*a110*b120*sin(t - 2*t0))/4. + 6*a220*b210*sin(t - 2*t0) + (81*a210*b110*b210*sin(t - 2*t0))/16. + 6*a210*b220*sin(t - 2*t0) - (2733*b310*sin(t - 2*t0))/64. - (87*b120*b310*sin(t - 2*t0))/8. - (87*b110*b320*sin(t - 2*t0))/8. - 3*b330*sin(t - 2*t0) + (867*b310*power(a110,2)*sin(t - 2*t0))/16. + (1591*power(a110,3)*sin(t - 2*t0))/32. + (411*a110*power(a210,2)*sin(t - 2*t0))/32. + (27*b310*power(a210,2)*sin(t - 2*t0))/16. - (285*a110*power(b110,2)*sin(t - 2*t0))/32. - (231*b310*power(b110,2)*sin(t - 2*t0))/16. + (201*a110*power(b210,2)*sin(t - 2*t0))/32. + (57*b310*power(b210,2)*sin(t - 2*t0))/8. + (309*a110*power(b310,2)*sin(t - 2*t0))/4. + (141*power(b310,3)*sin(t - 2*t0))/16. - (53*a120*sin(2*t - 2*t0))/4. + 29*a110*b110*sin(2*t - 2*t0) - 24*a110*b110*b120*sin(2*t - 2*t0) - (7*a210*b210*sin(2*t - 2*t0))/4. + 6*a220*b110*b210*sin(2*t - 2*t0) + 6*a210*b120*b210*sin(2*t - 2*t0) + 6*a210*b110*b220*sin(2*t - 2*t0) + 24*a110*a120*b310*sin(2*t - 2*t0) + 6*a210*a220*b310*sin(2*t - 2*t0) - 135*b110*b310*sin(2*t - 2*t0) - 24*b110*b120*b310*sin(2*t - 2*t0) - 3*b130*b310*sin(2*t - 2*t0) - 18*a110*a210*b210*b310*sin(2*t - 2*t0) + 3*b210*b220*b310*sin(2*t - 2*t0) - 9*b320*sin(2*t - 2*t0) - 3*b120*b320*sin(2*t - 2*t0) + 24*a110*b310*b320*sin(2*t - 2*t0) - 3*b110*b330*sin(2*t - 2*t0) - 6*a120*power(a110,2)*sin(2*t - 2*t0) - 30*a210*b210*power(a110,2)*sin(2*t - 2*t0) + 147*b110*b310*power(a110,2)*sin(2*t - 2*t0) + 12*b320*power(a110,2)*sin(2*t - 2*t0) + 97*b110*power(a110,3)*sin(2*t - 2*t0) + 15*a110*b110*power(a210,2)*sin(2*t - 2*t0) + (81*b110*b310*power(a210,2)*sin(2*t - 2*t0))/4. + 3*b320*power(a210,2)*sin(2*t - 2*t0) - 6*b210*power(a210,3)*sin(2*t - 2*t0) - 12*a120*power(b110,2)*sin(2*t - 2*t0) + 6*a210*b210*power(b110,2)*sin(2*t - 2*t0) - 12*b320*power(b110,2)*sin(2*t - 2*t0) - 21*a110*power(b110,3)*sin(2*t - 2*t0) - 31*b310*power(b110,3)*sin(2*t - 2*t0) + 15*a110*b110*power(b210,2)*sin(2*t - 2*t0) + (39*b110*b310*power(b210,2)*sin(2*t - 2*t0))/4. + (3*b320*power(b210,2)*sin(2*t - 2*t0))/2. - 3*a210*power(b210,3)*sin(2*t - 2*t0) + 12*a120*power(b310,2)*sin(2*t - 2*t0) + 120*a110*b110*power(b310,2)*sin(2*t - 2*t0) - 9*a210*b210*power(b310,2)*sin(2*t - 2*t0) + (27*b320*power(b310,2)*sin(2*t - 2*t0))/2. + 30*b110*power(b310,3)*sin(2*t - 2*t0) - (19191*a110*sin(3*t - 2*t0))/256. - (19*a130*sin(3*t - 2*t0))/4. + (25*a120*b110*sin(3*t - 2*t0))/4. + (25*a110*b120*sin(3*t - 2*t0))/4. - 5*a220*b210*sin(3*t - 2*t0) - (481*a210*b110*b210*sin(3*t - 2*t0))/32. - 5*a210*b220*sin(3*t - 2*t0) + (1719*b310*sin(3*t - 2*t0))/64. + (117*b120*b310*sin(3*t - 2*t0))/8. + (117*b110*b320*sin(3*t - 2*t0))/8. - (1025*b310*power(a110,2)*sin(3*t - 2*t0))/16. - (11561*power(a110,3)*sin(3*t - 2*t0))/192. - (327*a110*power(a210,2)*sin(3*t - 2*t0))/64. - (201*b310*power(a210,2)*sin(3*t - 2*t0))/16. + (2617*a110*power(b110,2)*sin(3*t - 2*t0))/64. + (557*b310*power(b110,2)*sin(3*t - 2*t0))/16. - (881*a110*power(b210,2)*sin(3*t - 2*t0))/64. - (75*b310*power(b210,2)*sin(3*t - 2*t0))/8. - (405*a110*power(b310,2)*sin(3*t - 2*t0))/4. - (351*power(b310,3)*sin(3*t - 2*t0))/16. + (5*a120*sin(4*t - 2*t0))/4. - 77*a110*b110*sin(4*t - 2*t0) + (61*a210*b210*sin(4*t - 2*t0))/16. + 51*b110*b310*sin(4*t - 2*t0) + (9813*a110*sin(5*t - 2*t0))/256. + (a120*sin(t - t0))/2. + 6*a110*a210*a220*sin(t - t0) - (1733*a110*b110*sin(t - t0))/32. - (3*a130*b110*sin(t - t0))/2. - (3*a120*b120*sin(t - t0))/2. + 3*a110*b110*b120*sin(t - t0) - (3*a110*b130*sin(t - t0))/2. + (181*a210*b210*sin(t - t0))/32. - (3*a230*b210*sin(t - t0))/4. - (3*a220*b110*b210*sin(t - t0))/2. - (3*a210*b120*b210*sin(t - t0))/2. - (3*a220*b220*sin(t - t0))/4. - (3*a210*b110*b220*sin(t - t0))/2. - (3*a210*b230*sin(t - t0))/4. + (39*a110*a120*b310*sin(t - t0))/4. + (3*a210*a220*b310*sin(t - t0))/4. + (771*b110*b310*sin(t - t0))/16. + (33*b110*b120*b310*sin(t - t0))/4. + 6*a110*a210*b210*b310*sin(t - t0) - (3*b210*b220*b310*sin(t - t0))/4. + (33*b320*sin(t - t0))/16. + (9*a110*b310*b320*sin(t - t0))/2. + 18*a120*power(a110,2)*sin(t - t0) + (99*a210*b210*power(a110,2)*sin(t - t0))/16. - (393*b110*b310*power(a110,2)*sin(t - t0))/8. + (39*b320*power(a110,2)*sin(t - t0))/8. - (529*b110*power(a110,3)*sin(t - t0))/16. + 3*a120*power(a210,2)*sin(t - t0) + (123*a110*b110*power(a210,2)*sin(t - t0))/16. - (69*b110*b310*power(a210,2)*sin(t - t0))/8. + (3*b320*power(a210,2)*sin(t - t0))/8. + (21*b210*power(a210,3)*sin(t - t0))/16. + (3*a120*power(b110,2)*sin(t - t0))/2. + (45*a210*b210*power(b110,2)*sin(t - t0))/16. + (33*b320*power(b110,2)*sin(t - t0))/8. + (113*a110*power(b110,3)*sin(t - t0))/16. + (111*b310*power(b110,3)*sin(t - t0))/8. - (123*a110*b110*power(b210,2)*sin(t - t0))/16. - (15*b110*b310*power(b210,2)*sin(t - t0))/4. - (3*b320*power(b210,2)*sin(t - t0))/8. - (9*a210*power(b210,3)*sin(t - t0))/16. + (9*a120*power(b310,2)*sin(t - t0))/4. - (189*a110*b110*power(b310,2)*sin(t - t0))/4. + (3*a210*b210*power(b310,2)*sin(t - t0))/4. - (99*b110*power(b310,3)*sin(t - t0))/8. + (1395*a110*sin(2*t - t0))/16. + 3*a130*sin(2*t - t0) - (117*a120*b110*sin(2*t - t0))/4. - (117*a110*b120*sin(2*t - t0))/4. + (39*a220*b210*sin(2*t - t0))/4. + (33*a210*b110*b210*sin(2*t - t0))/4. + (39*a210*b220*sin(2*t - t0))/4. - (759*b310*sin(2*t - t0))/8. - 27*b120*b310*sin(2*t - t0) - 27*b110*b320*sin(2*t - t0) - (9*b330*sin(2*t - t0))/2. + (609*b310*power(a110,2)*sin(2*t - t0))/4. + (479*power(a110,3)*sin(2*t - t0))/4. + (81*a110*power(a210,2)*sin(2*t - t0))/4. + 18*b310*power(a210,2)*sin(2*t - t0) - 51*a110*power(b110,2)*sin(2*t - t0) - (327*b310*power(b110,2)*sin(2*t - t0))/4. + (171*a110*power(b210,2)*sin(2*t - t0))/8. + 12*b310*power(b210,2)*sin(2*t - t0) + (1347*a110*power(b310,2)*sin(2*t - t0))/8. + 30*power(b310,3)*sin(2*t - t0) + (11*a120*sin(3*t - t0))/8. + (7473*a110*b110*sin(3*t - t0))/128. - (577*a210*b210*sin(3*t - t0))/128. - (1089*b110*b310*sin(3*t - t0))/32. + (105*b320*sin(3*t - t0))/32. - (475*a110*sin(4*t - t0))/8. + (463*b310*sin(4*t - t0))/16. + (231*a110*sin(t0))/2. + 2*a130*sin(t0) - (61*a120*b110*sin(t0))/4. - (61*a110*b120*sin(t0))/4. + (23*a220*b210*sin(t0))/4. - 10*a210*b110*b210*sin(t0) + (23*a210*b220*sin(t0))/4. - (925*b310*sin(t0))/16. - 15*b120*b310*sin(t0) - 15*b110*b320*sin(t0) - 3*b330*sin(t0) + (265*b310*power(a110,2)*sin(t0))/4. + (377*power(a110,3)*sin(t0))/6. - (11*a110*power(a210,2)*sin(t0))/8. + (79*b310*power(a210,2)*sin(t0))/16. - (a110*power(b110,2)*sin(t0))/4. - (139*b310*power(b110,2)*sin(t0))/4. + (27*a110*power(b210,2)*sin(t0))/2. + (161*b310*power(b210,2)*sin(t0))/16. + (863*a110*power(b310,2)*sin(t0))/8. + 15*power(b310,3)*sin(t0) - (33*a120*sin(2*t0))/4. + (55*a110*b110*sin(2*t0))/2. - (57*a210*b210*sin(2*t0))/4. - (173*b110*b310*sin(2*t0))/4. - (15*b320*sin(2*t0))/2. - (113*a110*sin(3*t0))/12. - (11*b310*sin(3*t0))/16. + (61*a120*sin(t + t0))/8. + (995*a110*b110*sin(t + t0))/64. + (917*a210*b210*sin(t + t0))/64. + (1671*b110*b310*sin(t + t0))/32. + (273*b320*sin(t + t0))/32. - (1025*a110*sin(2*t + t0))/16. + (115*b310*sin(2*t + t0))/8. + (4957*a110*sin(t + 2*t0))/128. - (155*b310*sin(t + 2*t0))/64.);
b2_e=b210*e + (power(e,2)*(-16*a110*a210 - 8*b110*b210 + 8*b220 + 3*b210*cos(t) + b210*cos(3*t - 4*t0) - 2*a110*a210*cos(3*t - 3*t0) + 2*b110*b210*cos(3*t - 3*t0) + 3*b210*cos(t - 2*t0) + b210*cos(3*t - 2*t0) + 18*a110*a210*cos(t - t0) + 6*b110*b210*cos(t - t0) - 8*b210*cos(t0) - 3*a210*sin(t) + a210*sin(3*t - 4*t0) + 2*a210*b110*sin(3*t - 3*t0) + 2*a110*b210*sin(3*t - 3*t0) - 3*a210*sin(t - 2*t0) + a210*sin(3*t - 2*t0) - 6*a210*b110*sin(t - t0) - 6*a110*b210*sin(t - t0)))/8. + (power(e,3)*(-64*a120*a210 - 64*a110*a220 + 152*a110*a210*b110 + 10*b210 - 32*b120*b210 - 32*b110*b220 + 32*b230 + 128*a210*b110*b310 + 128*a110*b210*b310 - 60*a110*a210*cos(t) + 12*b220*cos(t) - 72*a210*b310*cos(t) + 6*b210*cos(2*t) - 3*b210*cos(4*t - 6*t0) + 2*b210*cos(3*t - 5*t0) + 12*a110*a210*cos(4*t - 5*t0) - 12*b110*b210*cos(4*t - 5*t0) + 6*b210*cos(2*t - 4*t0) - 4*a110*a210*cos(3*t - 4*t0) + 4*b220*cos(3*t - 4*t0) + 8*a210*b310*cos(3*t - 4*t0) + 24*a110*a210*b110*cos(4*t - 4*t0) - 6*b210*cos(4*t - 4*t0) - 24*a110*a210*cos(2*t - 3*t0) + 24*b110*b210*cos(2*t - 3*t0) - 8*a120*a210*cos(3*t - 3*t0) - 8*a110*a220*cos(3*t - 3*t0) - 8*a110*a210*b110*cos(3*t - 3*t0) - 4*b210*cos(3*t - 3*t0) + 8*b120*b210*cos(3*t - 3*t0) + 8*b110*b220*cos(3*t - 3*t0) + 16*a210*b110*b310*cos(3*t - 3*t0) - 32*a110*b210*b310*cos(3*t - 3*t0) + 12*a110*a210*cos(4*t - 3*t0) - 12*b110*b210*cos(4*t - 3*t0) - 48*a110*a210*b110*cos(2*t - 2*t0) + 12*b210*cos(2*t - 2*t0) - 4*a110*a210*cos(3*t - 2*t0) + 4*b220*cos(3*t - 2*t0) + 8*a210*b310*cos(3*t - 2*t0) - 3*b210*cos(4*t - 2*t0) + 72*a120*a210*cos(t - t0) + 72*a110*a220*cos(t - t0) - 120*a110*a210*b110*cos(t - t0) - 12*b210*cos(t - t0) + 24*b120*b210*cos(t - t0) + 24*b110*b220*cos(t - t0) - 144*a210*b110*b310*cos(t - t0) - 96*a110*b210*b310*cos(t - t0) - 24*a110*a210*cos(2*t - t0) + 24*b110*b210*cos(2*t - t0) + 2*b210*cos(3*t - t0) + 92*a110*a210*cos(t0) - 24*b110*b210*cos(t0) - 20*b220*cos(t0) + 56*a210*b310*cos(t0) + 6*b210*cos(t)*cos(t0) - 10*b210*cos(2*t0) - 60*a110*a210*cos(t)*cos(2*t0) + 12*b220*cos(t)*cos(2*t0) - 72*a210*b310*cos(t)*cos(2*t0) + 60*a110*a210*cos(t0)*cos(2*t0) - 12*b220*cos(t0)*cos(2*t0) + 72*a210*b310*cos(t0)*cos(2*t0) + 6*b210*cos(t)*cos(3*t0) - 6*b210*cos(t0)*cos(3*t0) + 76*b210*power(a110,2) + 12*b210*cos(4*t - 4*t0)*power(a110,2) - 40*b210*cos(3*t - 3*t0)*power(a110,2) - 24*b210*cos(2*t - 2*t0)*power(a110,2) - 24*b210*cos(t - t0)*power(a110,2) - 32*b210*power(a210,2) - 16*b210*cos(3*t - 3*t0)*power(a210,2) + 48*b210*cos(t - t0)*power(a210,2) - 12*b210*power(b110,2) - 12*b210*cos(4*t - 4*t0)*power(b110,2) + 24*b210*cos(2*t - 2*t0)*power(b110,2) + 16*power(b210,3) - 4*cos(3*t - 3*t0)*power(b210,3) - 12*cos(t - t0)*power(b210,3) + 48*b210*power(b310,2) - 12*b210*cos(3*t - 3*t0)*power(b310,2) - 36*b210*cos(t - t0)*power(b310,2) - 6*b210*power(cos(t0),2) + 6*b210*power(sin(t0),2) - 12*a220*sin(t) - 48*a210*b110*sin(t) + 24*a110*b210*sin(t) + 24*b210*b310*sin(t) - 18*a210*cos(t0)*sin(t) - 12*a220*cos(2*t0)*sin(t) - 48*a210*b110*cos(2*t0)*sin(t) + 24*a110*b210*cos(2*t0)*sin(t) + 24*b210*b310*cos(2*t0)*sin(t) - 18*a210*cos(3*t0)*sin(t) + 6*a210*sin(2*t) - 3*a210*sin(4*t - 6*t0) + 6*a210*sin(3*t - 5*t0) - 12*a210*b110*sin(4*t - 5*t0) - 12*a110*b210*sin(4*t - 5*t0) + 6*a210*sin(2*t - 4*t0) + 4*a220*sin(3*t - 4*t0) + 16*a210*b110*sin(3*t - 4*t0) - 8*a110*b210*sin(3*t - 4*t0) - 8*b210*b310*sin(3*t - 4*t0) - 6*a210*sin(4*t - 4*t0) - 24*a110*b110*b210*sin(4*t - 4*t0) + 12*a210*power(a110,2)*sin(4*t - 4*t0) - 12*a210*power(b110,2)*sin(4*t - 4*t0) + 24*a210*b110*sin(2*t - 3*t0) + 24*a110*b210*sin(2*t - 3*t0) + 4*a210*sin(3*t - 3*t0) + 8*a220*b110*sin(3*t - 3*t0) + 8*a210*b120*sin(3*t - 3*t0) + 8*a120*b210*sin(3*t - 3*t0) - 16*a110*b110*b210*sin(3*t - 3*t0) + 8*a110*b220*sin(3*t - 3*t0) - 32*a110*a210*b310*sin(3*t - 3*t0) - 16*b110*b210*b310*sin(3*t - 3*t0) - 48*a210*power(a110,2)*sin(3*t - 3*t0) - 8*power(a210,3)*sin(3*t - 3*t0) + 16*a210*power(b110,2)*sin(3*t - 3*t0) + 4*a210*power(b210,2)*sin(3*t - 3*t0) - 12*a210*power(b310,2)*sin(3*t - 3*t0) - 12*a210*b110*sin(4*t - 3*t0) - 12*a110*b210*sin(4*t - 3*t0) + 12*a210*sin(2*t - 2*t0) + 48*a110*b110*b210*sin(2*t - 2*t0) - 24*a210*power(a110,2)*sin(2*t - 2*t0) + 24*a210*power(b110,2)*sin(2*t - 2*t0) + 4*a220*sin(3*t - 2*t0) + 16*a210*b110*sin(3*t - 2*t0) - 8*a110*b210*sin(3*t - 2*t0) - 8*b210*b310*sin(3*t - 2*t0) - 3*a210*sin(4*t - 2*t0) - 12*a210*sin(t - t0) - 24*a220*b110*sin(t - t0) - 24*a210*b120*sin(t - t0) - 24*a120*b210*sin(t - t0) + 48*a110*b110*b210*sin(t - t0) - 24*a110*b220*sin(t - t0) + 96*a110*a210*b310*sin(t - t0) + 48*b110*b210*b310*sin(t - t0) + 144*a210*power(a110,2)*sin(t - t0) + 24*power(a210,3)*sin(t - t0) - 48*a210*power(b110,2)*sin(t - t0) - 12*a210*power(b210,2)*sin(t - t0) + 36*a210*power(b310,2)*sin(t - t0) + 24*a210*b110*sin(2*t - t0) + 24*a110*b210*sin(2*t - t0) + 6*a210*sin(3*t - t0) + 12*a220*sin(t0) + 48*a210*b110*sin(t0) - 24*a110*b210*sin(t0) - 24*b210*b310*sin(t0) - 18*a210*cos(t)*sin(t0) + 36*a210*cos(t0)*sin(t0) + 12*a220*cos(2*t0)*sin(t0) + 48*a210*b110*cos(2*t0)*sin(t0) - 24*a110*b210*cos(2*t0)*sin(t0) - 24*b210*b310*cos(2*t0)*sin(t0) + 18*a210*cos(3*t0)*sin(t0) - 6*b210*sin(t)*sin(t0) + 12*a220*cos(t)*sin(2*t0) + 48*a210*b110*cos(t)*sin(2*t0) - 24*a110*b210*cos(t)*sin(2*t0) - 24*b210*b310*cos(t)*sin(2*t0) - 12*a220*cos(t0)*sin(2*t0) - 48*a210*b110*cos(t0)*sin(2*t0) + 24*a110*b210*cos(t0)*sin(2*t0) + 24*b210*b310*cos(t0)*sin(2*t0) - 60*a110*a210*sin(t)*sin(2*t0) + 12*b220*sin(t)*sin(2*t0) - 72*a210*b310*sin(t)*sin(2*t0) + 60*a110*a210*sin(t0)*sin(2*t0) - 12*b220*sin(t0)*sin(2*t0) + 72*a210*b310*sin(t0)*sin(2*t0) + 18*a210*cos(t)*sin(3*t0) - 18*a210*cos(t0)*sin(3*t0) + 6*b210*sin(t)*sin(3*t0) - 6*b210*sin(t0)*sin(3*t0)))/32. + power(e,4)*((-75*a110*a210)/8. - 2*a130*a210 - 2*a120*a220 - 2*a110*a230 + (19*a120*a210*b110)/4. + (19*a110*a220*b110)/4. + (19*a110*a210*b120)/4. + (19*a110*a120*b210)/4. - 2*a210*a220*b210 - (197*b110*b210)/16. - (3*b110*b120*b210)/4. - b130*b210 + (5*b220)/16. - b120*b220 - b110*b230 + b240 + (479*a210*b310)/32. + 4*a220*b110*b310 + 4*a210*b120*b310 + 4*a120*b210*b310 + (29*a110*b110*b210*b310)/8. + 4*a110*b220*b310 + 4*a210*b110*b320 + 4*a110*b210*b320 + 3*b210*b310*b320 - (15*a120*a210*cos(t))/8. - (15*a110*a220*cos(t))/8. + (27*a110*a210*b110*cos(t))/2. + (483*b210*cos(t))/64. + (3*b230*cos(t))/8. - (9*a220*b310*cos(t))/4. - (45*a210*b110*b310*cos(t))/8. + (3*a110*b210*b310*cos(t))/4. - (9*a210*b320*cos(t))/4. + (21*a110*a210*cos(2*t))/2. + (15*b110*b210*cos(2*t))/16. + (3*b220*cos(2*t))/16. - (123*a210*b310*cos(2*t))/16. - (65*b210*cos(3*t))/64. - (3*b210*cos(4*t - 7*t0))/8. - (25*b210*cos(3*t - 6*t0))/64. + (21*a110*a210*cos(4*t - 6*t0))/16. - (45*b110*b210*cos(4*t - 6*t0))/32. - (3*b220*cos(4*t - 6*t0))/32. - (9*a210*b310*cos(4*t - 6*t0))/64. - (3*b210*cos(5*t - 6*t0))/8. + (9*b210*cos(2*t - 5*t0))/32. + (7*a110*a210*cos(3*t - 5*t0))/16. - (11*b110*b210*cos(3*t - 5*t0))/8. + (b220*cos(3*t - 5*t0))/16. + (43*a210*b310*cos(3*t - 5*t0))/32. + (3*a120*a210*cos(4*t - 5*t0))/8. + (3*a110*a220*cos(4*t - 5*t0))/8. + (21*a110*a210*b110*cos(4*t - 5*t0))/8. - (39*b210*cos(4*t - 5*t0))/32. - (3*b120*b210*cos(4*t - 5*t0))/8. - (3*b110*b220*cos(4*t - 5*t0))/8. - (9*a210*b110*b310*cos(4*t - 5*t0))/16. + (27*a110*b210*b310*cos(4*t - 5*t0))/16. + (3*a110*a210*cos(5*t - 5*t0))/2. - (3*b110*b210*cos(5*t - 5*t0))/2. - (147*b210*cos(t - 4*t0))/64. - (9*a110*a210*cos(2*t - 4*t0))/2. + (15*b110*b210*cos(2*t - 4*t0))/16. + (3*b220*cos(2*t - 4*t0))/16. - (3*a210*b310*cos(2*t - 4*t0))/16. - (a120*a210*cos(3*t - 4*t0))/8. - (a110*a220*cos(3*t - 4*t0))/8. - (a110*a210*b110*cos(3*t - 4*t0))/2. - (47*b210*cos(3*t - 4*t0))/64. + (b230*cos(3*t - 4*t0))/8. + (a220*b310*cos(3*t - 4*t0))/4. + (29*a210*b110*b310*cos(3*t - 4*t0))/8. + (9*a110*b210*b310*cos(3*t - 4*t0))/4. + (a210*b320*cos(3*t - 4*t0))/4. + (15*a110*a210*cos(4*t - 4*t0))/8. + (3*a120*a210*b110*cos(4*t - 4*t0))/4. + (3*a110*a220*b110*cos(4*t - 4*t0))/4. + (3*a110*a210*b120*cos(4*t - 4*t0))/4. + (3*a110*a120*b210*cos(4*t - 4*t0))/4. - (33*b110*b210*cos(4*t - 4*t0))/16. - (3*b110*b120*b210*cos(4*t - 4*t0))/4. - (3*b220*cos(4*t - 4*t0))/16. + (21*a210*b310*cos(4*t - 4*t0))/32. + (27*a110*b110*b210*b310*cos(4*t - 4*t0))/8. + 3*a110*a210*b110*cos(5*t - 4*t0) - (3*b210*cos(5*t - 4*t0))/2. - (111*a110*a210*cos(t - 3*t0))/16. + (3*b110*b210*cos(t - 3*t0))/8. + (3*b220*cos(t - 3*t0))/16. - (51*a210*b310*cos(t - 3*t0))/32. - (3*a120*a210*cos(2*t - 3*t0))/4. - (3*a110*a220*cos(2*t - 3*t0))/4. - 9*a110*a210*b110*cos(2*t - 3*t0) + (3*b210*cos(2*t - 3*t0))/32. + (3*b120*b210*cos(2*t - 3*t0))/4. + (3*b110*b220*cos(2*t - 3*t0))/4. - (3*a210*b110*b310*cos(2*t - 3*t0))/4. - (3*a110*b210*b310*cos(2*t - 3*t0))/2. - (51*a110*a210*cos(3*t - 3*t0))/8. - (a130*a210*cos(3*t - 3*t0))/4. - (a120*a220*cos(3*t - 3*t0))/4. - (a110*a230*cos(3*t - 3*t0))/4. - (a120*a210*b110*cos(3*t - 3*t0))/4. - (a110*a220*b110*cos(3*t - 3*t0))/4. - (a110*a210*b120*cos(3*t - 3*t0))/4. - (5*a110*a120*b210*cos(3*t - 3*t0))/2. - a210*a220*b210*cos(3*t - 3*t0) - (b110*b210*cos(3*t - 3*t0))/4. + (b130*b210*cos(3*t - 3*t0))/4. - (b220*cos(3*t - 3*t0))/8. + (b120*b220*cos(3*t - 3*t0))/4. + (b110*b230*cos(3*t - 3*t0))/4. + (35*a210*b310*cos(3*t - 3*t0))/16. + (a220*b110*b310*cos(3*t - 3*t0))/2. + (a210*b120*b310*cos(3*t - 3*t0))/2. - a120*b210*b310*cos(3*t - 3*t0) + 2*a110*b110*b210*b310*cos(3*t - 3*t0) - a110*b220*b310*cos(3*t - 3*t0) + (a210*b110*b320*cos(3*t - 3*t0))/2. - a110*b210*b320*cos(3*t - 3*t0) - (3*b210*b310*b320*cos(3*t - 3*t0))/4. + (3*a120*a210*cos(4*t - 3*t0))/8. + (3*a110*a220*cos(4*t - 3*t0))/8. - (9*a110*a210*b110*cos(4*t - 3*t0))/8. - (3*b210*cos(4*t - 3*t0))/4. - (3*b120*b210*cos(4*t - 3*t0))/8. - (3*b110*b220*cos(4*t - 3*t0))/8. + (21*a210*b110*b310*cos(4*t - 3*t0))/16. + (57*a110*b210*b310*cos(4*t - 3*t0))/16. + 3*a110*a210*cos(5*t - 3*t0) - 3*b110*b210*cos(5*t - 3*t0) - (15*a120*a210*cos(t - 2*t0))/8. - (15*a110*a220*cos(t - 2*t0))/8. - (3*a110*a210*b110*cos(t - 2*t0))/2. + (483*b210*cos(t - 2*t0))/64. + (3*b230*cos(t - 2*t0))/8. - (9*a220*b310*cos(t - 2*t0))/4. - (105*a210*b110*b310*cos(t - 2*t0))/8. - (27*a110*b210*b310*cos(t - 2*t0))/4. - (9*a210*b320*cos(t - 2*t0))/4. - (15*a110*a210*cos(2*t - 2*t0))/2. - (3*a120*a210*b110*cos(2*t - 2*t0))/2. - (3*a110*a220*b110*cos(2*t - 2*t0))/2. - (3*a110*a210*b120*cos(2*t - 2*t0))/2. - (3*a110*a120*b210*cos(2*t - 2*t0))/2. + (3*b110*b210*cos(2*t - 2*t0))/8. + (3*b110*b120*b210*cos(2*t - 2*t0))/2. + (3*b220*cos(2*t - 2*t0))/8. - (33*a210*b310*cos(2*t - 2*t0))/8. - 3*a110*b110*b210*b310*cos(2*t - 2*t0) - (a120*a210*cos(3*t - 2*t0))/8. - (a110*a220*cos(3*t - 2*t0))/8. - (21*a110*a210*b110*cos(3*t - 2*t0))/2. + (73*b210*cos(3*t - 2*t0))/64. + (b230*cos(3*t - 2*t0))/8. + (a220*b310*cos(3*t - 2*t0))/4. + (9*a210*b110*b310*cos(3*t - 2*t0))/8. - (a110*b210*b310*cos(3*t - 2*t0))/4. + (a210*b320*cos(3*t - 2*t0))/4. - (39*a110*a210*cos(4*t - 2*t0))/16. + (75*b110*b210*cos(4*t - 2*t0))/32. - (3*b220*cos(4*t - 2*t0))/32. + (111*a210*b310*cos(4*t - 2*t0))/64. - (13*b210*cos(5*t - 2*t0))/8. + (159*a110*a210*cos(t - t0))/8. + (9*a130*a210*cos(t - t0))/4. + (9*a120*a220*cos(t - t0))/4. + (9*a110*a230*cos(t - t0))/4. - (15*a120*a210*b110*cos(t - t0))/4. - (15*a110*a220*b110*cos(t - t0))/4. - (15*a110*a210*b120*cos(t - t0))/4. - (3*a110*a120*b210*cos(t - t0))/2. + 3*a210*a220*b210*cos(t - t0) + (63*b110*b210*cos(t - t0))/4. + (3*b130*b210*cos(t - t0))/4. - (3*b220*cos(t - t0))/8. + (3*b120*b220*cos(t - t0))/4. + (3*b110*b230*cos(t - t0))/4. - (219*a210*b310*cos(t - t0))/16. - (9*a220*b110*b310*cos(t - t0))/2. - (9*a210*b120*b310*cos(t - t0))/2. - 3*a120*b210*b310*cos(t - t0) - 6*a110*b110*b210*b310*cos(t - t0) - 3*a110*b220*b310*cos(t - t0) - (9*a210*b110*b320*cos(t - t0))/2. - 3*a110*b210*b320*cos(t - t0) - (9*b210*b310*b320*cos(t - t0))/4. - (3*a120*a210*cos(2*t - t0))/4. - (3*a110*a220*cos(2*t - t0))/4. + 6*a110*a210*b110*cos(2*t - t0) + (3*b210*cos(2*t - t0))/32. + (3*b120*b210*cos(2*t - t0))/4. + (3*b110*b220*cos(2*t - t0))/4. - (33*a210*b110*b310*cos(2*t - t0))/4. - (3*a110*b210*b310*cos(2*t - t0))/2. - (153*a110*a210*cos(3*t - t0))/16. - (11*b110*b210*cos(3*t - t0))/8. + (b220*cos(3*t - t0))/16. - (37*a210*b310*cos(3*t - t0))/32. + (63*b210*cos(4*t - t0))/32. + (19*a120*a210*cos(t0))/4. + (19*a110*a220*cos(t0))/4. - (5*a110*a210*b110*cos(t0))/2. - (379*b210*cos(t0))/32. - (3*b120*b210*cos(t0))/4. - (3*b110*b220*cos(t0))/4. - b230*cos(t0) + 4*a220*b310*cos(t0) + (89*a210*b110*b310*cos(t0))/4. + (7*a110*b210*b310*cos(t0))/4. + 4*a210*b320*cos(t0) + (a110*a210*cos(2*t0))/8. - (205*b110*b210*cos(2*t0))/16. - (11*b220*cos(2*t0))/16. + (57*a210*b310*cos(2*t0))/32. - (145*b210*cos(3*t0))/32. + (129*a110*a210*cos(t + t0))/16. + (123*b110*b210*cos(t + t0))/8. + (3*b220*cos(t + t0))/16. + (189*a210*b310*cos(t + t0))/32. + (9*b210*cos(2*t + t0))/32. + (493*b210*cos(t + 2*t0))/64. + (95*b110*b210*power(a110,2))/8. + (19*b220*power(a110,2))/8. - (589*a210*b310*power(a110,2))/16. - (123*b210*cos(t)*power(a110,2))/8. + (15*b210*cos(4*t - 5*t0)*power(a110,2))/8. + (23*b210*cos(3*t - 4*t0)*power(a110,2))/8. + (15*b110*b210*cos(4*t - 4*t0)*power(a110,2))/8. + (3*b220*cos(4*t - 4*t0)*power(a110,2))/8. - (63*a210*b310*cos(4*t - 4*t0)*power(a110,2))/16. + (3*b210*cos(5*t - 4*t0)*power(a110,2))/2. - (15*b210*cos(2*t - 3*t0)*power(a110,2))/8. + (23*b110*b210*cos(3*t - 3*t0)*power(a110,2))/4. - (5*b220*cos(3*t - 3*t0)*power(a110,2))/4. - (7*a210*b310*cos(3*t - 3*t0)*power(a110,2))/8. - (63*b210*cos(t - 2*t0)*power(a110,2))/8. - (15*b110*b210*cos(2*t - 2*t0)*power(a110,2))/4. - (3*b220*cos(2*t - 2*t0)*power(a110,2))/4. + (39*a210*b310*cos(2*t - 2*t0)*power(a110,2))/4. + (23*b210*cos(3*t - 2*t0)*power(a110,2))/8. - (63*b110*b210*cos(t - t0)*power(a110,2))/4. - (3*b220*cos(t - t0)*power(a110,2))/4. + (255*a210*b310*cos(t - t0)*power(a110,2))/8. - (15*b210*cos(2*t - t0)*power(a110,2))/8. + (143*b210*cos(t0)*power(a110,2))/8. - (55*a210*power(a110,3))/4. - (15*a210*cos(4*t - 4*t0)*power(a110,3))/4. + (5*a210*cos(3*t - 3*t0)*power(a110,3))/2. + (15*a210*cos(2*t - 2*t0)*power(a110,3))/2. + (15*a210*cos(t - t0)*power(a110,3))/2. - (5*b110*b210*power(a210,2))/2. - b220*power(a210,2) + (81*b210*cos(t)*power(a210,2))/32. - (9*b210*cos(5*t - 6*t0)*power(a210,2))/64. + (3*b210*cos(4*t - 5*t0)*power(a210,2))/4. - (9*b110*b210*cos(5*t - 5*t0)*power(a210,2))/32. - (55*b210*cos(3*t - 4*t0)*power(a210,2))/64. + (3*b110*b210*cos(4*t - 4*t0)*power(a210,2))/2. - (27*b210*cos(5*t - 4*t0)*power(a210,2))/64. - (3*b210*cos(2*t - 3*t0)*power(a210,2))/2. - (25*b110*b210*cos(3*t - 3*t0)*power(a210,2))/32. - (b220*cos(3*t - 3*t0)*power(a210,2))/2. + (3*b210*cos(4*t - 3*t0)*power(a210,2))/4. + (171*b210*cos(t - 2*t0)*power(a210,2))/32. - 3*b110*b210*cos(2*t - 2*t0)*power(a210,2) + (35*b210*cos(3*t - 2*t0)*power(a210,2))/64. + (81*b110*b210*cos(t - t0)*power(a210,2))/16. + (3*b220*cos(t - t0)*power(a210,2))/2. - (3*b210*cos(2*t - t0)*power(a210,2))/2. - (11*b210*cos(t0)*power(a210,2))/2. - (27*a110*power(a210,3))/4. - 3*b310*power(a210,3) + (3*a110*cos(5*t - 5*t0)*power(a210,3))/32. - (3*a110*cos(4*t - 4*t0)*power(a210,3))/4. - (9*a110*cos(3*t - 3*t0)*power(a210,3))/32. - (3*b310*cos(3*t - 3*t0)*power(a210,3))/8. + (3*a110*cos(2*t - 2*t0)*power(a210,3))/2. + (99*a110*cos(t - t0)*power(a210,3))/16. + (27*b310*cos(t - t0)*power(a210,3))/8. + (11*a110*a210*power(b110,2))/4. - (3*b220*power(b110,2))/8. + (133*a210*b310*power(b110,2))/16. + 12*b210*cos(t)*power(b110,2) - (3*b210*cos(4*t - 5*t0)*power(b110,2))/2. - (3*b210*cos(3*t - 4*t0)*power(b110,2))/2. + (3*a110*a210*cos(4*t - 4*t0)*power(b110,2))/4. - (3*b220*cos(4*t - 4*t0)*power(b110,2))/8. - (9*a210*b310*cos(4*t - 4*t0)*power(b110,2))/16. - (3*b210*cos(5*t - 4*t0)*power(b110,2))/2. + (9*b210*cos(2*t - 3*t0)*power(b110,2))/8. - (a110*a210*cos(3*t - 3*t0)*power(b110,2))/2. + (19*a210*b310*cos(3*t - 3*t0)*power(b110,2))/8. + (3*b210*cos(4*t - 3*t0)*power(b110,2))/8. + (9*b210*cos(t - 2*t0)*power(b110,2))/2. - (3*a110*a210*cos(2*t - 2*t0)*power(b110,2))/2. + (3*b220*cos(2*t - 2*t0)*power(b110,2))/4. - (3*a210*b310*cos(2*t - 2*t0)*power(b110,2))/4. - (3*b210*cos(3*t - 2*t0)*power(b110,2))/2. - (3*a110*a210*cos(t - t0)*power(b110,2))/2. - (75*a210*b310*cos(t - t0)*power(b110,2))/8. + (9*b210*cos(2*t - t0)*power(b110,2))/8. - (105*b210*cos(t0)*power(b110,2))/8. - (19*b210*power(b110,3))/8. - (3*b210*cos(4*t - 4*t0)*power(b110,3))/8. - b210*cos(3*t - 3*t0)*power(b110,3) + (3*b210*cos(2*t - 2*t0)*power(b110,3))/4. + 3*b210*cos(t - t0)*power(b110,3) - (61*a110*a210*power(b210,2))/8. + (3*b220*power(b210,2))/2. - 3*a210*b310*power(b210,2) - (9*a110*a210*cos(5*t - 5*t0)*power(b210,2))/32. + (3*a110*a210*cos(4*t - 4*t0)*power(b210,2))/8. - (17*a110*a210*cos(3*t - 3*t0)*power(b210,2))/32. - (3*b220*cos(3*t - 3*t0)*power(b210,2))/8. - (3*a210*b310*cos(3*t - 3*t0)*power(b210,2))/8. - (3*a110*a210*cos(2*t - 2*t0)*power(b210,2))/4. + (141*a110*a210*cos(t - t0)*power(b210,2))/16. - (9*b220*cos(t - t0)*power(b210,2))/8. + (27*a210*b310*cos(t - t0)*power(b210,2))/8. - (13*b110*power(b210,3))/8. + (21*cos(t)*power(b210,3))/32. + (3*cos(5*t - 6*t0)*power(b210,3))/64. + (3*cos(4*t - 5*t0)*power(b210,3))/16. + (3*b110*cos(5*t - 5*t0)*power(b210,3))/32. + (29*cos(3*t - 4*t0)*power(b210,3))/64. + (3*b110*cos(4*t - 4*t0)*power(b210,3))/8. + (9*cos(5*t - 4*t0)*power(b210,3))/64. - (3*cos(2*t - 3*t0)*power(b210,3))/8. + (19*b110*cos(3*t - 3*t0)*power(b210,3))/32. + (3*cos(4*t - 3*t0)*power(b210,3))/16. + (51*cos(t - 2*t0)*power(b210,3))/32. - (3*b110*cos(2*t - 2*t0)*power(b210,3))/4. + (39*cos(3*t - 2*t0)*power(b210,3))/64. + (21*b110*cos(t - t0)*power(b210,3))/16. - (3*cos(2*t - t0)*power(b210,3))/8. - (25*cos(t0)*power(b210,3))/8. - (233*a110*a210*power(b310,2))/8. - (7*b110*b210*power(b310,2))/8. + (3*b220*power(b310,2))/2. + (3*b210*cos(t)*power(b310,2))/4. + (9*b210*cos(4*t - 5*t0)*power(b310,2))/16. + (b210*cos(3*t - 4*t0)*power(b310,2))/4. - (9*a110*a210*cos(4*t - 4*t0)*power(b310,2))/8. + (9*b110*b210*cos(4*t - 4*t0)*power(b310,2))/8. - (9*b210*cos(2*t - 3*t0)*power(b310,2))/8. - (19*a110*a210*cos(3*t - 3*t0)*power(b310,2))/8. + (b110*b210*cos(3*t - 3*t0)*power(b310,2))/2. - (3*b220*cos(3*t - 3*t0)*power(b310,2))/8. + (9*b210*cos(4*t - 3*t0)*power(b310,2))/16. + (21*b210*cos(t - 2*t0)*power(b310,2))/8. + (9*a110*a210*cos(2*t - 2*t0)*power(b310,2))/4. - (9*b110*b210*cos(2*t - 2*t0)*power(b310,2))/4. + (7*b210*cos(3*t - 2*t0)*power(b310,2))/8. + (243*a110*a210*cos(t - t0)*power(b310,2))/8. + (3*b110*b210*cos(t - t0)*power(b310,2))/2. - (9*b220*cos(t - t0)*power(b310,2))/8. - (9*b210*cos(2*t - t0)*power(b310,2))/8. - (27*b210*cos(t0)*power(b310,2))/8. - 6*a210*power(b310,3) - (3*a210*cos(3*t - 3*t0)*power(b310,3))/4. + (27*a210*cos(t - t0)*power(b310,3))/4. - (1215*a210*sin(t))/64. - (3*a230*sin(t))/8. - (3*a220*b110*sin(t))/2. - (3*a210*b120*sin(t))/2. + (3*a120*b210*sin(t))/4. + 27*a110*b110*b210*sin(t) + (3*a110*b220*sin(t))/4. + (51*a110*a210*b310*sin(t))/4. + (51*b110*b210*b310*sin(t))/8. + (3*b220*b310*sin(t))/4. + (3*b210*b320*sin(t))/4. + (45*a210*power(a110,2)*sin(t))/4. - (45*power(a210,3)*sin(t))/32. - (57*a210*power(b110,2)*sin(t))/4. - (129*a210*power(b210,2)*sin(t))/32. - (9*a210*power(b310,2)*sin(t))/4. + (3*a220*sin(2*t))/16. - (147*a210*b110*sin(2*t))/16. - (3*a110*b210*sin(2*t))/16. - (3*b210*b310*sin(2*t))/4. + (929*a210*sin(3*t))/192. - (15*a210*sin(4*t - 7*t0))/32. + (3*a210*sin(3*t - 6*t0))/64. - (3*a220*sin(4*t - 6*t0))/32. - (63*a210*b110*sin(4*t - 6*t0))/32. - (27*a110*b210*sin(4*t - 6*t0))/32. + (9*b210*b310*sin(4*t - 6*t0))/64. - (3*a210*sin(5*t - 6*t0))/8. - (3*power(a210,3)*sin(5*t - 6*t0))/64. + (9*a210*power(b210,2)*sin(5*t - 6*t0))/64. + (45*a210*sin(2*t - 5*t0))/32. + (3*a220*sin(3*t - 5*t0))/16. + (3*a210*b110*sin(3*t - 5*t0))/4. - (7*a110*b210*sin(3*t - 5*t0))/4. - (31*b210*b310*sin(3*t - 5*t0))/32. - (3*a210*sin(4*t - 5*t0))/2. - (3*a220*b110*sin(4*t - 5*t0))/8. - (3*a210*b120*sin(4*t - 5*t0))/8. - (3*a120*b210*sin(4*t - 5*t0))/8. - (3*a110*b110*b210*sin(4*t - 5*t0))/4. - (3*a110*b220*sin(4*t - 5*t0))/8. + (27*a110*a210*b310*sin(4*t - 5*t0))/16. + (9*b110*b210*b310*sin(4*t - 5*t0))/16. + (21*a210*power(a110,2)*sin(4*t - 5*t0))/8. + (3*power(a210,3)*sin(4*t - 5*t0))/8. - (21*a210*power(b110,2)*sin(4*t - 5*t0))/8. - (3*a210*power(b210,2)*sin(4*t - 5*t0))/16. + (9*a210*power(b310,2)*sin(4*t - 5*t0))/16. - (3*a210*b110*sin(5*t - 5*t0))/2. - (3*a110*b210*sin(5*t - 5*t0))/2. - (9*a110*b210*power(a210,2)*sin(5*t - 5*t0))/32. - (3*b110*power(a210,3)*sin(5*t - 5*t0))/32. + (9*a210*b110*power(b210,2)*sin(5*t - 5*t0))/32. + (3*a110*power(b210,3)*sin(5*t - 5*t0))/32. - (129*a210*sin(t - 4*t0))/64. + (3*a220*sin(2*t - 4*t0))/16. + (93*a210*b110*sin(2*t - 4*t0))/16. - (3*a110*b210*sin(2*t - 4*t0))/16. - (3*b210*b310*sin(2*t - 4*t0))/4. + (85*a210*sin(3*t - 4*t0))/64. + (a230*sin(3*t - 4*t0))/8. + (a220*b110*sin(3*t - 4*t0))/2. + (a210*b120*sin(3*t - 4*t0))/2. - (a120*b210*sin(3*t - 4*t0))/4. - 4*a110*b110*b210*sin(3*t - 4*t0) - (a110*b220*sin(3*t - 4*t0))/4. + (3*a110*a210*b310*sin(3*t - 4*t0))/4. - (17*b110*b210*b310*sin(3*t - 4*t0))/8. - (b220*b310*sin(3*t - 4*t0))/4. - (b210*b320*sin(3*t - 4*t0))/4. - (5*a210*power(a110,2)*sin(3*t - 4*t0))/4. - (35*power(a210,3)*sin(3*t - 4*t0))/64. + (9*a210*power(b110,2)*sin(3*t - 4*t0))/4. + (41*a210*power(b210,2)*sin(3*t - 4*t0))/64. - (a210*power(b310,2)*sin(3*t - 4*t0))/2. + (3*a110*a120*a210*sin(4*t - 4*t0))/4. - (3*a220*sin(4*t - 4*t0))/16. - (51*a210*b110*sin(4*t - 4*t0))/16. - (3*a210*b110*b120*sin(4*t - 4*t0))/4. - (15*a110*b210*sin(4*t - 4*t0))/16. - (3*a120*b110*b210*sin(4*t - 4*t0))/4. - (3*a110*b120*b210*sin(4*t - 4*t0))/4. - (3*a110*b110*b220*sin(4*t - 4*t0))/4. + (27*a110*a210*b110*b310*sin(4*t - 4*t0))/8. - (21*b210*b310*sin(4*t - 4*t0))/32. + (3*a220*power(a110,2)*sin(4*t - 4*t0))/8. + (27*a210*b110*power(a110,2)*sin(4*t - 4*t0))/8. + (63*b210*b310*power(a110,2)*sin(4*t - 4*t0))/16. + (27*b210*power(a110,3)*sin(4*t - 4*t0))/8. + (3*a110*b210*power(a210,2)*sin(4*t - 4*t0))/2. + (3*b110*power(a210,3)*sin(4*t - 4*t0))/4. - (3*a220*power(b110,2)*sin(4*t - 4*t0))/8. + (9*a110*b210*power(b110,2)*sin(4*t - 4*t0))/8. + (9*b210*b310*power(b110,2)*sin(4*t - 4*t0))/16. - (9*a210*power(b110,3)*sin(4*t - 4*t0))/8. - (3*a210*b110*power(b210,2)*sin(4*t - 4*t0))/8. + (3*a110*power(b210,3)*sin(4*t - 4*t0))/8. + (9*a210*b110*power(b310,2)*sin(4*t - 4*t0))/8. + (9*a110*b210*power(b310,2)*sin(4*t - 4*t0))/8. - (3*a210*sin(5*t - 4*t0))/2. - 3*a110*b110*b210*sin(5*t - 4*t0) + (3*a210*power(a110,2)*sin(5*t - 4*t0))/2. - (9*power(a210,3)*sin(5*t - 4*t0))/64. - (3*a210*power(b110,2)*sin(5*t - 4*t0))/2. + (27*a210*power(b210,2)*sin(5*t - 4*t0))/64. - (9*a220*sin(t - 3*t0))/16. - (9*a210*b110*sin(t - 3*t0))/4. + (21*a110*b210*sin(t - 3*t0))/4. - (147*b210*b310*sin(t - 3*t0))/32. + (171*a210*sin(2*t - 3*t0))/32. + (3*a220*b110*sin(2*t - 3*t0))/4. + (3*a210*b120*sin(2*t - 3*t0))/4. + (3*a120*b210*sin(2*t - 3*t0))/4. - (9*a110*b110*b210*sin(2*t - 3*t0))/4. + (3*a110*b220*sin(2*t - 3*t0))/4. - (21*a110*a210*b310*sin(2*t - 3*t0))/4. - 3*b110*b210*b310*sin(2*t - 3*t0) - (57*a210*power(a110,2)*sin(2*t - 3*t0))/8. - (3*power(a210,3)*sin(2*t - 3*t0))/4. + (57*a210*power(b110,2)*sin(2*t - 3*t0))/8. + (3*a210*power(b210,2)*sin(2*t - 3*t0))/8. - (9*a210*power(b310,2)*sin(2*t - 3*t0))/8. - 3*a110*a120*a210*sin(3*t - 3*t0) + (a220*sin(3*t - 3*t0))/8. + 8*a210*b110*sin(3*t - 3*t0) + (a230*b110*sin(3*t - 3*t0))/4. + (a220*b120*sin(3*t - 3*t0))/4. + a210*b110*b120*sin(3*t - 3*t0) + (a210*b130*sin(3*t - 3*t0))/4. - (a110*b210*sin(3*t - 3*t0))/2. + (a130*b210*sin(3*t - 3*t0))/4. - (a120*b110*b210*sin(3*t - 3*t0))/2. - (a110*b120*b210*sin(3*t - 3*t0))/2. + (a120*b220*sin(3*t - 3*t0))/4. - (a110*b110*b220*sin(3*t - 3*t0))/2. + (a210*b210*b220*sin(3*t - 3*t0))/4. + (a110*b230*sin(3*t - 3*t0))/4. - a120*a210*b310*sin(3*t - 3*t0) - a110*a220*b310*sin(3*t - 3*t0) - a110*a210*b110*b310*sin(3*t - 3*t0) - (23*b210*b310*sin(3*t - 3*t0))/16. - (b120*b210*b310*sin(3*t - 3*t0))/2. - (b110*b220*b310*sin(3*t - 3*t0))/2. - a110*a210*b320*sin(3*t - 3*t0) - (b110*b210*b320*sin(3*t - 3*t0))/2. - (3*a210*b310*b320*sin(3*t - 3*t0))/4. - (3*a220*power(a110,2)*sin(3*t - 3*t0))/2. - (5*a210*b110*power(a110,2)*sin(3*t - 3*t0))/2. + (31*b210*b310*power(a110,2)*sin(3*t - 3*t0))/8. + 2*b210*power(a110,3)*sin(3*t - 3*t0) - (3*a220*power(a210,2)*sin(3*t - 3*t0))/4. + (5*a110*b210*power(a210,2)*sin(3*t - 3*t0))/32. + (3*b210*b310*power(a210,2)*sin(3*t - 3*t0))/8. - (25*b110*power(a210,3)*sin(3*t - 3*t0))/32. + (a220*power(b110,2)*sin(3*t - 3*t0))/2. - 4*a110*b210*power(b110,2)*sin(3*t - 3*t0) - (7*b210*b310*power(b110,2)*sin(3*t - 3*t0))/8. + (3*a210*power(b110,3)*sin(3*t - 3*t0))/2. + (a220*power(b210,2)*sin(3*t - 3*t0))/8. + (11*a210*b110*power(b210,2)*sin(3*t - 3*t0))/32. + (17*a110*power(b210,3)*sin(3*t - 3*t0))/32. + (3*b310*power(b210,3)*sin(3*t - 3*t0))/8. - (3*a220*power(b310,2)*sin(3*t - 3*t0))/8. - a210*b110*power(b310,2)*sin(3*t - 3*t0) + (7*a110*b210*power(b310,2)*sin(3*t - 3*t0))/2. + (3*b210*power(b310,3)*sin(3*t - 3*t0))/4. - (33*a210*sin(4*t - 3*t0))/32. - (3*a220*b110*sin(4*t - 3*t0))/8. - (3*a210*b120*sin(4*t - 3*t0))/8. - (3*a120*b210*sin(4*t - 3*t0))/8. + 3*a110*b110*b210*sin(4*t - 3*t0) - (3*a110*b220*sin(4*t - 3*t0))/8. + (57*a110*a210*b310*sin(4*t - 3*t0))/16. - (21*b110*b210*b310*sin(4*t - 3*t0))/16. + (3*a210*power(a110,2)*sin(4*t - 3*t0))/4. + (3*power(a210,3)*sin(4*t - 3*t0))/8. - (3*a210*power(b110,2)*sin(4*t - 3*t0))/4. - (3*a210*power(b210,2)*sin(4*t - 3*t0))/16. + (9*a210*power(b310,2)*sin(4*t - 3*t0))/16. - 3*a210*b110*sin(5*t - 3*t0) - 3*a110*b210*sin(5*t - 3*t0) + (225*a210*sin(t - 2*t0))/64. - (3*a230*sin(t - 2*t0))/8. - (3*a220*b110*sin(t - 2*t0))/2. - (3*a210*b120*sin(t - 2*t0))/2. + (3*a120*b210*sin(t - 2*t0))/4. + 12*a110*b110*b210*sin(t - 2*t0) + (3*a110*b220*sin(t - 2*t0))/4. - (39*a110*a210*b310*sin(t - 2*t0))/4. - (9*b110*b210*b310*sin(t - 2*t0))/8. + (3*b220*b310*sin(t - 2*t0))/4. + (3*b210*b320*sin(t - 2*t0))/4. + (15*a210*power(a110,2)*sin(t - 2*t0))/4. + (105*power(a210,3)*sin(t - 2*t0))/32. - (27*a210*power(b110,2)*sin(t - 2*t0))/4. - (39*a210*power(b210,2)*sin(t - 2*t0))/32. + (27*a210*power(b310,2)*sin(t - 2*t0))/8. - (3*a110*a120*a210*sin(2*t - 2*t0))/2. + (3*a220*sin(2*t - 2*t0))/8. + (81*a210*b110*sin(2*t - 2*t0))/8. + (3*a210*b110*b120*sin(2*t - 2*t0))/2. - (15*a110*b210*sin(2*t - 2*t0))/8. + (3*a120*b110*b210*sin(2*t - 2*t0))/2. + (3*a110*b120*b210*sin(2*t - 2*t0))/2. + (3*a110*b110*b220*sin(2*t - 2*t0))/2. - (21*a110*a210*b110*b310*sin(2*t - 2*t0))/2. - (3*b210*b310*sin(2*t - 2*t0))/2. - (3*a220*power(a110,2)*sin(2*t - 2*t0))/4. - (27*a210*b110*power(a110,2)*sin(2*t - 2*t0))/4. - 6*b210*b310*power(a110,2)*sin(2*t - 2*t0) - (27*b210*power(a110,3)*sin(2*t - 2*t0))/4. - 3*a110*b210*power(a210,2)*sin(2*t - 2*t0) - (3*b110*power(a210,3)*sin(2*t - 2*t0))/2. + (3*a220*power(b110,2)*sin(2*t - 2*t0))/4. - (9*a110*b210*power(b110,2)*sin(2*t - 2*t0))/4. - 3*b210*b310*power(b110,2)*sin(2*t - 2*t0) + (9*a210*power(b110,3)*sin(2*t - 2*t0))/4. + (3*a210*b110*power(b210,2)*sin(2*t - 2*t0))/4. - (3*a110*power(b210,3)*sin(2*t - 2*t0))/4. - (9*a210*b110*power(b310,2)*sin(2*t - 2*t0))/4. - (9*a110*b210*power(b310,2)*sin(2*t - 2*t0))/4. + (445*a210*sin(3*t - 2*t0))/64. + (a230*sin(3*t - 2*t0))/8. + (a220*b110*sin(3*t - 2*t0))/2. + (a210*b120*sin(3*t - 2*t0))/2. - (a120*b210*sin(3*t - 2*t0))/4. - 4*a110*b110*b210*sin(3*t - 2*t0) - (a110*b220*sin(3*t - 2*t0))/4. - (7*a110*a210*b310*sin(3*t - 2*t0))/4. + (3*b110*b210*b310*sin(3*t - 2*t0))/8. - (b220*b310*sin(3*t - 2*t0))/4. - (b210*b320*sin(3*t - 2*t0))/4. - (25*a210*power(a110,2)*sin(3*t - 2*t0))/4. + (15*power(a210,3)*sin(3*t - 2*t0))/64. + (29*a210*power(b110,2)*sin(3*t - 2*t0))/4. + (11*a210*power(b210,2)*sin(3*t - 2*t0))/64. + (a210*power(b310,2)*sin(3*t - 2*t0))/8. - (3*a220*sin(4*t - 2*t0))/32. + (57*a210*b110*sin(4*t - 2*t0))/32. + (93*a110*b210*sin(4*t - 2*t0))/32. - (111*b210*b310*sin(4*t - 2*t0))/64. - (13*a210*sin(5*t - 2*t0))/8. + 9*a110*a120*a210*sin(t - t0) - (3*a220*sin(t - t0))/8. - (33*a210*b110*sin(t - t0))/2. - (3*a230*b110*sin(t - t0))/4. - (3*a220*b120*sin(t - t0))/4. - 3*a210*b110*b120*sin(t - t0) - (3*a210*b130*sin(t - t0))/4. + 9*a110*b210*sin(t - t0) - (3*a130*b210*sin(t - t0))/4. + (3*a120*b110*b210*sin(t - t0))/2. + (3*a110*b120*b210*sin(t - t0))/2. - (3*a120*b220*sin(t - t0))/4. + (3*a110*b110*b220*sin(t - t0))/2. - (3*a210*b210*b220*sin(t - t0))/4. - (3*a110*b230*sin(t - t0))/4. + 3*a120*a210*b310*sin(t - t0) + 3*a110*a220*b310*sin(t - t0) + 3*a110*a210*b110*b310*sin(t - t0) + (69*b210*b310*sin(t - t0))/16. + (3*b120*b210*b310*sin(t - t0))/2. + (3*b110*b220*b310*sin(t - t0))/2. + 3*a110*a210*b320*sin(t - t0) + (3*b110*b210*b320*sin(t - t0))/2. + (9*a210*b310*b320*sin(t - t0))/4. + (9*a220*power(a110,2)*sin(t - t0))/2. + (15*a210*b110*power(a110,2)*sin(t - t0))/2. - (93*b210*b310*power(a110,2)*sin(t - t0))/8. - 6*b210*power(a110,3)*sin(t - t0) + (9*a220*power(a210,2)*sin(t - t0))/4. + (15*a110*b210*power(a210,2)*sin(t - t0))/16. - (9*b210*b310*power(a210,2)*sin(t - t0))/8. + (45*b110*power(a210,3)*sin(t - t0))/16. - (3*a220*power(b110,2)*sin(t - t0))/2. + 12*a110*b210*power(b110,2)*sin(t - t0) + (21*b210*b310*power(b110,2)*sin(t - t0))/8. - (9*a210*power(b110,3)*sin(t - t0))/2. - (3*a220*power(b210,2)*sin(t - t0))/8. - (39*a210*b110*power(b210,2)*sin(t - t0))/16. - (33*a110*power(b210,3)*sin(t - t0))/16. - (9*b310*power(b210,3)*sin(t - t0))/8. + (9*a220*power(b310,2)*sin(t - t0))/8. + 3*a210*b110*power(b310,2)*sin(t - t0) - (21*a110*b210*power(b310,2)*sin(t - t0))/2. - (9*b210*power(b310,3)*sin(t - t0))/4. + (111*a210*sin(2*t - t0))/32. + (3*a220*b110*sin(2*t - t0))/4. + (3*a210*b120*sin(2*t - t0))/4. + (3*a120*b210*sin(2*t - t0))/4. - (9*a110*b110*b210*sin(2*t - t0))/4. + (3*a110*b220*sin(2*t - t0))/4. - (51*a110*a210*b310*sin(2*t - t0))/4. - 3*b110*b210*b310*sin(2*t - t0) + (3*a210*power(a110,2)*sin(2*t - t0))/8. - (3*power(a210,3)*sin(2*t - t0))/4. - (3*a210*power(b110,2)*sin(2*t - t0))/8. + (3*a210*power(b210,2)*sin(2*t - t0))/8. - (9*a210*power(b310,2)*sin(2*t - t0))/8. + (3*a220*sin(3*t - t0))/16. + (43*a210*b110*sin(3*t - t0))/4. - (7*a110*b210*sin(3*t - t0))/4. + (49*b210*b310*sin(3*t - t0))/32. + (15*a210*sin(4*t - t0))/8. + (621*a210*sin(t0))/32. - (63*a110*b110*b210*sin(t0))/4. - (115*a110*a210*b310*sin(t0))/8. - (65*b110*b210*b310*sin(t0))/8. - (77*a210*power(a110,2)*sin(t0))/8. + 4*power(a210,3)*sin(t0) + (77*a210*power(b110,2)*sin(t0))/8. + 3*a210*power(b210,2)*sin(t0) + 5*a210*power(b310,2)*sin(t0) + (77*a210*b110*sin(2*t0))/4. - (63*a110*b210*sin(2*t0))/4. - (65*b210*b310*sin(2*t0))/8. + (611*a210*sin(3*t0))/96. - (9*a220*sin(t + t0))/16. - (69*a210*b110*sin(t + t0))/4. + (81*a110*b210*sin(t + t0))/4. + (93*b210*b310*sin(t + t0))/32. - (255*a210*sin(2*t + t0))/32. - (289*a210*sin(t + 2*t0))/64.);
b3_e=e*(b310 - 2*sin(t) + 2*sin(t0)) + (power(e,3)*(-768*a110 + 864*a120*b110 + 864*a110*b120 - 288*a220*b210 + 96*a210*b110*b210 - 288*a210*b220 - 1104*b310 + 576*b120*b310 + 576*b110*b320 + 192*b330 - 2880*a110*a120*t - 576*a210*a220*t + 144*b110*t + 576*b110*b120*t - 576*b210*b220*t - 1728*a120*b310*t - 1728*a110*b110*b310*t - 1728*a110*b320*t - 1152*b310*b320*t + 2880*a110*a120*t0 + 576*a210*a220*t0 - 144*b110*t0 - 576*b110*b120*t0 + 576*b210*b220*t0 + 1728*a120*b310*t0 + 1728*a110*b110*b310*t0 + 1728*a110*b320*t0 + 1152*b310*b320*t0 + 576*a120*cos(t) - 3960*a110*b110*cos(t) + 1080*a210*b210*cos(t) - 3456*b110*b310*cos(t) - 288*b320*cos(t) + 288*a110*cos(2*t) + 1272*b310*cos(2*t) + 366*a110*cos(3*t - 5*t0) + 288*a110*cos(2*t - 4*t0) + 504*b310*cos(2*t - 4*t0) + 1464*a110*b110*cos(3*t - 4*t0) - 120*a210*b210*cos(3*t - 4*t0) - 432*a120*cos(2*t - 3*t0) + 1440*a110*b110*cos(2*t - 3*t0) - 144*a210*b210*cos(2*t - 3*t0) + 2016*b110*b310*cos(2*t - 3*t0) + 1020*a110*cos(3*t - 3*t0) - 240*a210*b110*b210*cos(3*t - 3*t0) + 1440*a110*cos(2*t - 2*t0) - 864*a120*b110*cos(2*t - 2*t0) - 864*a110*b120*cos(2*t - 2*t0) + 288*a220*b210*cos(2*t - 2*t0) - 864*a210*b110*b210*cos(2*t - 2*t0) + 288*a210*b220*cos(2*t - 2*t0) + 1584*b310*cos(2*t - 2*t0) + 2040*a110*b110*cos(3*t - 2*t0) + 168*a210*b210*cos(3*t - 2*t0) - 1692*a110*cos(t - t0) + 1008*a210*b110*b210*cos(t - t0) - 480*b310*cos(t - t0) - 576*b120*b310*cos(t - t0) - 576*b110*b320*cos(t - t0) - 1008*a120*cos(2*t - t0) + 1440*a110*b110*cos(2*t - t0) - 1296*a210*b210*cos(2*t - t0) + 3168*b110*b310*cos(2*t - t0) + 294*a110*cos(3*t - t0) + 864*a120*cos(t0) - 2424*a110*b110*cos(t0) + 312*a210*b210*cos(t0) - 1728*b110*b310*cos(t0) + 288*b320*cos(t0) - 144*t*cos(t0) + 576*b120*t*cos(t0) - 1728*a110*b310*t*cos(t0) + 144*t0*cos(t0) - 576*b120*t0*cos(t0) + 1728*a110*b310*t0*cos(t0) - 558*a110*cos(t)*cos(t0) - 1680*b310*cos(t)*cos(t0) - 1236*a110*cos(2*t0) - 1776*b310*cos(2*t0) + 720*b110*t*cos(2*t0) - 720*b110*t0*cos(2*t0) - 576*a120*cos(t)*cos(2*t0) - 2232*a110*b110*cos(t)*cos(2*t0) - 360*a210*b210*cos(t)*cos(2*t0) - 1152*b110*b310*cos(t)*cos(2*t0) - 288*b320*cos(t)*cos(2*t0) + 576*a120*cos(t0)*cos(2*t0) + 2232*a110*b110*cos(t0)*cos(2*t0) + 360*a210*b210*cos(t0)*cos(2*t0) + 1152*b110*b310*cos(t0)*cos(2*t0) + 288*b320*cos(t0)*cos(2*t0) + 432*t*cos(3*t0) - 432*t0*cos(3*t0) - 774*a110*cos(t)*cos(3*t0) - 144*b310*cos(t)*cos(3*t0) + 774*a110*cos(t0)*cos(3*t0) + 144*b310*cos(t0)*cos(3*t0) - 5472*b310*power(a110,2) - 864*b110*t*power(a110,2) + 864*b110*t0*power(a110,2) + 3168*b310*cos(2*t - 2*t0)*power(a110,2) + 2304*b310*cos(t - t0)*power(a110,2) - 864*t*cos(t0)*power(a110,2) + 864*t0*cos(t0)*power(a110,2) - 2752*power(a110,3) - 488*cos(3*t - 3*t0)*power(a110,3) + 3456*cos(2*t - 2*t0)*power(a110,3) - 216*cos(t - t0)*power(a110,3) - 480*a110*power(a210,2) - 432*b310*power(a210,2) - 864*b110*t*power(a210,2) + 864*b110*t0*power(a210,2) + 120*a110*cos(3*t - 3*t0)*power(a210,2) + 288*a110*cos(2*t - 2*t0)*power(a210,2) - 144*b310*cos(2*t - 2*t0)*power(a210,2) + 72*a110*cos(t - t0)*power(a210,2) + 576*b310*cos(t - t0)*power(a210,2) - 864*t*cos(t0)*power(a210,2) + 864*t0*cos(t0)*power(a210,2) + 480*a110*power(b110,2) + 288*b310*power(b110,2) + 1464*a110*cos(3*t - 3*t0)*power(b110,2) + 864*a110*cos(2*t - 2*t0)*power(b110,2) + 2016*b310*cos(2*t - 2*t0)*power(b110,2) - 2808*a110*cos(t - t0)*power(b110,2) - 2304*b310*cos(t - t0)*power(b110,2) + 864*t*cos(t0)*power(b110,2) - 864*t0*cos(t0)*power(b110,2) + 288*t*power(b110,3) - 288*t0*power(b110,3) - 528*a110*power(b210,2) - 432*b310*power(b210,2) - 120*a110*cos(3*t - 3*t0)*power(b210,2) + 720*a110*cos(2*t - 2*t0)*power(b210,2) + 144*b310*cos(2*t - 2*t0)*power(b210,2) - 72*a110*cos(t - t0)*power(b210,2) + 288*b310*cos(t - t0)*power(b210,2) - 3600*a110*power(b310,2) - 864*b110*t*power(b310,2) + 864*b110*t0*power(b310,2) + 1296*a110*cos(2*t - 2*t0)*power(b310,2) + 2304*a110*cos(t - t0)*power(b310,2) - 864*t*cos(t0)*power(b310,2) + 864*t0*cos(t0)*power(b310,2) - 144*t*(-20*a110*a120 - 4*a210*a220 + b110 + 4*b110*b120 - 4*b210*b220 - 12*a120*b310 - 12*a110*b110*b310 - 12*a110*b320 - 8*b310*b320 - cos(t0) + 4*b120*cos(t0) - 12*a110*b310*cos(t0) + 5*b110*cos(2*t0) + 3*cos(3*t0) - 6*b110*power(a110,2) - 6*cos(t0)*power(a110,2) - 6*b110*power(a210,2) - 6*cos(t0)*power(a210,2) + 6*cos(t0)*power(b110,2) + 2*power(b110,3) - 6*b110*power(b310,2) - 6*cos(t0)*power(b310,2)) + 144*t0*(-20*a110*a120 - 4*a210*a220 + b110 + 4*b110*b120 - 4*b210*b220 - 12*a120*b310 - 12*a110*b110*b310 - 12*a110*b320 - 8*b310*b320 - cos(t0) + 4*b120*cos(t0) - 12*a110*b310*cos(t0) + 5*b110*cos(2*t0) + 3*cos(3*t0) - 6*b110*power(a110,2) - 6*cos(t0)*power(a110,2) - 6*b110*power(a210,2) - 6*cos(t0)*power(a210,2) + 6*cos(t0)*power(b110,2) + 2*power(b110,3) - 6*b110*power(b310,2) - 6*cos(t0)*power(b310,2)) - 864*power(b310,3) + 864*cos(t - t0)*power(b310,3) + 558*a110*power(cos(t0),2) + 1680*b310*power(cos(t0),2) - 558*a110*power(sin(t0),2) - 1680*b310*power(sin(t0),2) + 1161*sin(t) - 576*b120*sin(t) + 2016*a110*b310*sin(t) - 222*b110*cos(t0)*sin(t) - 432*cos(2*t0)*sin(t) + 576*b120*cos(2*t0)*sin(t) - 2592*a110*b310*cos(2*t0)*sin(t) + 1386*b110*cos(3*t0)*sin(t) + 567*cos(4*t0)*sin(t) + 1308*power(a110,2)*sin(t) - 3780*cos(2*t0)*power(a110,2)*sin(t) + 708*power(a210,2)*sin(t) - 684*cos(2*t0)*power(a210,2)*sin(t) - 60*power(b110,2)*sin(t) + 1188*cos(2*t0)*power(b110,2)*sin(t) + 348*power(b210,2)*sin(t) - 180*cos(2*t0)*power(b210,2)*sin(t) + 1632*power(b310,2)*sin(t) - 288*cos(2*t0)*power(b310,2)*sin(t) + 1728*b110*sin(2*t) + 768*cos(t0)*sin(2*t) - 225*sin(3*t) - 61*sin(3*t - 6*t0) + 144*sin(2*t - 5*t0) - 366*b110*sin(3*t - 5*t0) + 576*b110*sin(2*t - 4*t0) - 255*sin(3*t - 4*t0) + 732*power(a110,2)*sin(3*t - 4*t0) - 60*power(a210,2)*sin(3*t - 4*t0) - 732*power(b110,2)*sin(3*t - 4*t0) + 60*power(b210,2)*sin(3*t - 4*t0) + 432*sin(2*t - 3*t0) + 432*b120*sin(2*t - 3*t0) - 576*a110*b310*sin(2*t - 3*t0) - 576*power(a110,2)*sin(2*t - 3*t0) - 144*power(a210,2)*sin(2*t - 3*t0) + 1008*power(b110,2)*sin(2*t - 3*t0) - 216*power(b210,2)*sin(2*t - 3*t0) - 648*power(b310,2)*sin(2*t - 3*t0) - 1020*b110*sin(3*t - 3*t0) - 240*a110*a210*b210*sin(3*t - 3*t0) + 1464*b110*power(a110,2)*sin(3*t - 3*t0) - 120*b110*power(a210,2)*sin(3*t - 3*t0) - 488*power(b110,3)*sin(3*t - 3*t0) + 120*b110*power(b210,2)*sin(3*t - 3*t0) - 864*a110*a120*sin(2*t - 2*t0) + 288*a210*a220*sin(2*t - 2*t0) + 1440*b110*sin(2*t - 2*t0) + 864*b110*b120*sin(2*t - 2*t0) - 288*b210*b220*sin(2*t - 2*t0) - 1152*a110*b110*b310*sin(2*t - 2*t0) + 288*a210*b210*b310*sin(2*t - 2*t0) - 1728*b110*power(a110,2)*sin(2*t - 2*t0) - 576*b110*power(a210,2)*sin(2*t - 2*t0) + 864*power(b110,3)*sin(2*t - 2*t0) - 144*b110*power(b210,2)*sin(2*t - 2*t0) - 1296*b110*power(b310,2)*sin(2*t - 2*t0) - 147*sin(3*t - 2*t0) + 1020*power(a110,2)*sin(3*t - 2*t0) + 84*power(a210,2)*sin(3*t - 2*t0) - 1020*power(b110,2)*sin(3*t - 2*t0) - 84*power(b210,2)*sin(3*t - 2*t0) + 804*b110*sin(t - t0) + 720*a110*a210*b210*sin(t - t0) - 576*a120*b310*sin(t - t0) - 576*a110*b110*b310*sin(t - t0) - 576*a210*b210*b310*sin(t - t0) - 576*a110*b320*sin(t - t0) - 2376*b110*power(a110,2)*sin(t - t0) + 72*b110*power(a210,2)*sin(t - t0) + 216*power(b110,3)*sin(t - t0) - 72*b110*power(b210,2)*sin(t - t0) + 1152*b110*power(b310,2)*sin(t - t0) + 96*sin(2*t - t0) + 1008*b120*sin(2*t - t0) - 2880*a110*b310*sin(2*t - t0) - 3456*power(a110,2)*sin(2*t - t0) - 1008*power(a210,2)*sin(2*t - t0) + 2160*power(b110,2)*sin(2*t - t0) - 216*power(b210,2)*sin(2*t - t0) - 1512*power(b310,2)*sin(2*t - t0) - 294*b110*sin(3*t - t0) - 933*sin(t0) + 288*a110*b310*sin(t0) - 222*b110*cos(t)*sin(t0) + 768*cos(2*t)*sin(t0) + 444*b110*cos(t0)*sin(t0) - 336*cos(2*t0)*sin(t0) - 576*b120*cos(2*t0)*sin(t0) + 2592*a110*b310*cos(2*t0)*sin(t0) - 1386*b110*cos(3*t0)*sin(t0) - 567*cos(4*t0)*sin(t0) + 1284*power(a110,2)*sin(t0) + 3780*cos(2*t0)*power(a110,2)*sin(t0) + 12*power(a210,2)*sin(t0) + 684*cos(2*t0)*power(a210,2)*sin(t0) - 804*power(b110,2)*sin(t0) - 1188*cos(2*t0)*power(b110,2)*sin(t0) - 204*power(b210,2)*sin(t0) + 180*cos(2*t0)*power(b210,2)*sin(t0) - 768*power(b310,2)*sin(t0) + 288*cos(2*t0)*power(b310,2)*sin(t0) + 558*a110*sin(t)*sin(t0) + 1680*b310*sin(t)*sin(t0) - 1224*b110*sin(2*t0) - 378*cos(t)*sin(2*t0) - 576*b120*cos(t)*sin(2*t0) + 2592*a110*b310*cos(t)*sin(2*t0) - 390*cos(t0)*sin(2*t0) + 576*b120*cos(t0)*sin(2*t0) - 2592*a110*b310*cos(t0)*sin(2*t0) + 3780*cos(t)*power(a110,2)*sin(2*t0) - 3780*cos(t0)*power(a110,2)*sin(2*t0) + 684*cos(t)*power(a210,2)*sin(2*t0) - 684*cos(t0)*power(a210,2)*sin(2*t0) - 1188*cos(t)*power(b110,2)*sin(2*t0) + 1188*cos(t0)*power(b110,2)*sin(2*t0) + 180*cos(t)*power(b210,2)*sin(2*t0) - 180*cos(t0)*power(b210,2)*sin(2*t0) + 288*cos(t)*power(b310,2)*sin(2*t0) - 288*cos(t0)*power(b310,2)*sin(2*t0) - 576*a120*sin(t)*sin(2*t0) - 2232*a110*b110*sin(t)*sin(2*t0) - 360*a210*b210*sin(t)*sin(2*t0) - 1152*b110*b310*sin(t)*sin(2*t0) - 288*b320*sin(t)*sin(2*t0) + 576*a120*sin(t0)*sin(2*t0) + 2232*a110*b110*sin(t0)*sin(2*t0) + 360*a210*b210*sin(t0)*sin(2*t0) + 1152*b110*b310*sin(t0)*sin(2*t0) + 288*b320*sin(t0)*sin(2*t0) + 308*sin(3*t0) - 1386*b110*cos(t)*sin(3*t0) + 1386*b110*cos(t0)*sin(3*t0) - 774*a110*sin(t)*sin(3*t0) - 144*b310*sin(t)*sin(3*t0) + 774*a110*sin(t0)*sin(3*t0) + 144*b310*sin(t0)*sin(3*t0) - 567*cos(t)*sin(4*t0) + 567*cos(t0)*sin(4*t0)))/192. + (power(e,2)*(72*a110*b110 - 24*a210*b210 + 48*b110*b310 + 16*b320 + 48*a110*cos(t) - 24*b310*cos(t) - 36*a110*cos(2*t - 3*t0) - 48*a110*cos(t - 2*t0) - 24*b310*cos(t - 2*t0) - 72*a110*b110*cos(2*t - 2*t0) + 24*a210*b210*cos(2*t - 2*t0) - 48*b110*b310*cos(t - t0) - 84*a110*cos(2*t - t0) + 120*a110*cos(t0) + 48*b310*cos(t0) - 48*b110*sin(t) + 13*sin(2*t) + 9*sin(2*t - 4*t0) + 24*sin(t - 3*t0) + 36*b110*sin(2*t - 3*t0) + 48*b110*sin(t - 2*t0) + 42*sin(2*t - 2*t0) - 36*power(a110,2)*sin(2*t - 2*t0) + 12*power(a210,2)*sin(2*t - 2*t0) + 36*power(b110,2)*sin(2*t - 2*t0) - 12*power(b210,2)*sin(2*t - 2*t0) - 48*a110*b310*sin(t - t0) + 84*b110*sin(2*t - t0) + 48*b110*sin(t0) + 44*sin(2*t0) - 24*sin(t + t0)))/16. + power(e,4)*(-4*a120 - 5*a110*a210*a220 - (1109*a110*b110)/16. + (9*a130*b110)/2. + (9*a120*b120)/2. + 5*a110*b110*b120 + (9*a110*b130)/2. + (4021*a210*b210)/128. - (3*a230*b210)/2. + (a220*b110*b210)/2. + (a210*b120*b210)/2. - (3*a220*b220)/2. + (a210*b110*b220)/2. - (11*a110*b210*b220)/2. - (3*a210*b230)/2. - 57*a110*a120*b310 - (9*a210*a220*b310)/2. + (129*b110*b310)/8. + 3*b110*b120*b310 + 3*b130*b310 - (65*a110*a210*b210*b310)/2. - (9*b210*b220*b310)/2. - (23*b320)/4. + 3*b120*b320 - (75*a110*b310*b320)/2. + 3*b110*b330 + b340 + (591*a110*cos(t))/8. + 3*a130*cos(t) - (165*a120*b110*cos(t))/8. - (165*a110*b120*cos(t))/8. + (45*a220*b210*cos(t))/8. - (171*a210*b110*b210*cos(t))/8. + (45*a210*b220*cos(t))/8. - (7655*b310*cos(t))/64. - 18*b120*b310*cos(t) - 18*b110*b320*cos(t) - (3*b330*cos(t))/2. + (3*a120*cos(2*t))/2. + (753*a110*b110*cos(2*t))/16. - 12*a210*b210*cos(2*t) - (393*b110*b310*cos(2*t))/16. + (53*b320*cos(2*t))/8. - (557*a110*cos(3*t))/8. + (2401*b310*cos(3*t))/64. + (31*a110*cos(4*t - 7*t0))/64. + (145*a110*cos(3*t - 6*t0))/16. - (137*b310*cos(3*t - 6*t0))/192. + (93*a110*b110*cos(4*t - 6*t0))/32. - (111*a210*b210*cos(4*t - 6*t0))/256. + (445*a110*cos(2*t - 5*t0))/32. + (357*b310*cos(2*t - 5*t0))/32. + (61*a120*cos(3*t - 5*t0))/32. + (519*a110*b110*cos(3*t - 5*t0))/16. - (39*a210*b210*cos(3*t - 5*t0))/32. - (137*b110*b310*cos(3*t - 5*t0))/32. + (771*a110*cos(4*t - 5*t0))/64. - (111*a210*b110*b210*cos(4*t - 5*t0))/64. - (43*a110*cos(t - 4*t0))/4. + (483*b310*cos(t - 4*t0))/64. + (3*a120*cos(2*t - 4*t0))/2. + (537*a110*b110*cos(2*t - 4*t0))/16. - (31*a210*b210*cos(2*t - 4*t0))/8. + (759*b110*b310*cos(2*t - 4*t0))/16. + (21*b320*cos(2*t - 4*t0))/8. + 38*a110*cos(3*t - 4*t0) + (61*a120*b110*cos(3*t - 4*t0))/8. + (61*a110*b120*cos(3*t - 4*t0))/8. - (5*a220*b210*cos(3*t - 4*t0))/8. + (11*a210*b110*b210*cos(3*t - 4*t0))/8. - (5*a210*b220*cos(3*t - 4*t0))/8. + (291*b310*cos(3*t - 4*t0))/64. + (771*a110*b110*cos(4*t - 4*t0))/16. - (581*a210*b210*cos(4*t - 4*t0))/128. - (129*a120*cos(t - 3*t0))/32. - (699*a110*b110*cos(t - 3*t0))/16. + (1131*a210*b210*cos(t - 3*t0))/32. + (9*b110*b310*cos(t - 3*t0))/32. - (3*b320*cos(t - 3*t0))/4. + (93*a110*cos(2*t - 3*t0))/32. - (9*a130*cos(2*t - 3*t0))/4. + (15*a120*b110*cos(2*t - 3*t0))/2. + (15*a110*b120*cos(2*t - 3*t0))/2. - (3*a220*b210*cos(2*t - 3*t0))/4. - 7*a210*b110*b210*cos(2*t - 3*t0) - (3*a210*b220*cos(2*t - 3*t0))/4. + (1371*b310*cos(2*t - 3*t0))/32. + (21*b120*b310*cos(2*t - 3*t0))/2. + (21*b110*b320*cos(2*t - 3*t0))/2. + (85*a120*cos(3*t - 3*t0))/16. + (5*a110*a210*a220*cos(3*t - 3*t0))/4. + (439*a110*b110*cos(3*t - 3*t0))/8. + (61*a110*b110*b120*cos(3*t - 3*t0))/4. + (49*a210*b210*cos(3*t - 3*t0))/16. - (5*a220*b110*b210*cos(3*t - 3*t0))/4. - (5*a210*b120*b210*cos(3*t - 3*t0))/4. - (5*a210*b110*b220*cos(3*t - 3*t0))/4. - (5*a110*b210*b220*cos(3*t - 3*t0))/4. + (291*b110*b310*cos(3*t - 3*t0))/16. + 10*a110*a210*b210*b310*cos(3*t - 3*t0) + (2997*a110*cos(4*t - 3*t0))/64. - (581*a210*b110*b210*cos(4*t - 3*t0))/64. - (759*a110*cos(t - 2*t0))/16. - 3*a130*cos(t - 2*t0) - (93*a120*b110*cos(t - 2*t0))/8. - (93*a110*b120*cos(t - 2*t0))/8. - (15*a220*b210*cos(t - 2*t0))/8. + (189*a210*b110*b210*cos(t - 2*t0))/8. - (15*a210*b220*cos(t - 2*t0))/8. - (1003*b310*cos(t - 2*t0))/64. - 6*b120*b310*cos(t - 2*t0) - 6*b110*b320*cos(t - 2*t0) - (3*b330*cos(t - 2*t0))/2. + (15*a120*cos(2*t - 2*t0))/2. + 3*a110*a210*a220*cos(2*t - 2*t0) - (435*a110*b110*cos(2*t - 2*t0))/8. - (9*a130*b110*cos(2*t - 2*t0))/2. - (9*a120*b120*cos(2*t - 2*t0))/2. + 9*a110*b110*b120*cos(2*t - 2*t0) - (9*a110*b130*cos(2*t - 2*t0))/2. + (5*a210*b210*cos(2*t - 2*t0))/8. + (3*a230*b210*cos(2*t - 2*t0))/2. - (9*a220*b110*b210*cos(2*t - 2*t0))/2. - (9*a210*b120*b210*cos(2*t - 2*t0))/2. + (3*a220*b220*cos(2*t - 2*t0))/2. - (9*a210*b110*b220*cos(2*t - 2*t0))/2. + (15*a110*b210*b220*cos(2*t - 2*t0))/2. + (3*a210*b230*cos(2*t - 2*t0))/2. + 33*a110*a120*b310*cos(2*t - 2*t0) - (3*a210*a220*b310*cos(2*t - 2*t0))/2. + (783*b110*b310*cos(2*t - 2*t0))/8. + 21*b110*b120*b310*cos(2*t - 2*t0) + (21*a110*a210*b210*b310*cos(2*t - 2*t0))/2. + (3*b210*b220*b310*cos(2*t - 2*t0))/2. + (33*b320*cos(2*t - 2*t0))/4. + (27*a110*b310*b320*cos(2*t - 2*t0))/2. + (373*a110*cos(3*t - 2*t0))/16. + (85*a120*b110*cos(3*t - 2*t0))/8. + (85*a110*b120*cos(3*t - 2*t0))/8. + (7*a220*b210*cos(3*t - 2*t0))/8. + (115*a210*b110*b210*cos(3*t - 2*t0))/8. + (7*a210*b220*cos(3*t - 2*t0))/8. + (1911*b310*cos(3*t - 2*t0))/64. + (2997*a110*b110*cos(4*t - 2*t0))/32. - (1399*a210*b210*cos(4*t - 2*t0))/256. - (141*a120*cos(t - t0))/16. + (3*a110*a210*a220*cos(t - t0))/4. + (165*a110*b110*cos(t - t0))/8. - (117*a110*b110*b120*cos(t - t0))/4. - (489*a210*b210*cos(t - t0))/16. + (21*a220*b110*b210*cos(t - t0))/4. + (21*a210*b120*b210*cos(t - t0))/4. + (21*a210*b110*b220*cos(t - t0))/4. - (3*a110*b210*b220*cos(t - t0))/4. + 24*a110*a120*b310*cos(t - t0) + 6*a210*a220*b310*cos(t - t0) - (2115*b110*b310*cos(t - t0))/16. - 24*b110*b120*b310*cos(t - t0) - 3*b130*b310*cos(t - t0) + 12*a110*a210*b210*b310*cos(t - t0) + 3*b210*b220*b310*cos(t - t0) - (5*b320*cos(t - t0))/2. - 3*b120*b320*cos(t - t0) + 24*a110*b310*b320*cos(t - t0) - 3*b110*b330*cos(t - t0) - (2589*a110*cos(2*t - t0))/32. - (21*a130*cos(2*t - t0))/4. + (15*a120*b110*cos(2*t - t0))/2. + (15*a110*b120*cos(2*t - t0))/2. - (27*a220*b210*cos(2*t - t0))/4. - (33*a210*b110*b210*cos(2*t - t0))/2. - (27*a210*b220*cos(2*t - t0))/4. + (1159*b310*cos(2*t - t0))/32. + (33*b120*b310*cos(2*t - t0))/2. + (33*b110*b320*cos(2*t - t0))/2. + (49*a120*cos(3*t - t0))/32. - (1433*a110*b110*cos(3*t - t0))/16. + (181*a210*b210*cos(3*t - t0))/32. + (1911*b110*b310*cos(3*t - t0))/32. + (3161*a110*cos(4*t - t0))/64. - (549*a110*cos(t0))/8. + (15*a130*cos(t0))/2. - a120*b110*cos(t0) - a110*b120*cos(t0) + (7*a220*b210*cos(t0))/2. + (261*a210*b110*b210*cos(t0))/16. + (7*a210*b220*cos(t0))/2. + (349*b310*cos(t0))/16. - 3*b120*b310*cos(t0) - 3*b110*b320*cos(t0) + 3*b330*cos(t0) + (a120*cos(2*t0))/2. - (619*a110*b110*cos(2*t0))/16. - (1885*a210*b210*cos(2*t0))/128. - (7*b110*b310*cos(2*t0))/8. + (b320*cos(2*t0))/4. - (35*a110*cos(3*t0))/8. - (427*b310*cos(3*t0))/48. - (93*a120*cos(t + t0))/32. - (603*a110*b110*cos(t + t0))/16. - (105*a210*b210*cos(t + t0))/32. - (2487*b110*b310*cos(t + t0))/32. - (35*b320*cos(t + t0))/4. + (1579*a110*cos(2*t + t0))/32. - (1423*b310*cos(2*t + t0))/32. - (599*a110*cos(t + 2*t0))/16. - (137*b310*cos(t + 2*t0))/64. - 43*a120*power(a110,2) - (255*a210*b210*power(a110,2))/64. + (137*b110*b310*power(a110,2))/4. - (57*b320*power(a110,2))/2. + (1659*b310*cos(t)*power(a110,2))/16. - (595*b310*cos(3*t - 4*t0)*power(a110,2))/16. + (111*a210*b210*cos(4*t - 4*t0)*power(a110,2))/64. - (825*b310*cos(2*t - 3*t0)*power(a110,2))/8. - (61*a120*cos(3*t - 3*t0)*power(a110,2))/8. + (9*a210*b210*cos(3*t - 3*t0)*power(a110,2))/8. - (595*b110*b310*cos(3*t - 3*t0)*power(a110,2))/8. + (1047*b310*cos(t - 2*t0)*power(a110,2))/16. + 54*a120*cos(2*t - 2*t0)*power(a110,2) + (93*a210*b210*cos(2*t - 2*t0)*power(a110,2))/4. - (537*b110*b310*cos(2*t - 2*t0)*power(a110,2))/4. + (33*b320*cos(2*t - 2*t0)*power(a110,2))/2. - (1311*b310*cos(3*t - 2*t0)*power(a110,2))/16. - (27*a120*cos(t - t0)*power(a110,2))/8. - (177*a210*b210*cos(t - t0)*power(a110,2))/8. + (1395*b110*b310*cos(t - t0)*power(a110,2))/8. + 12*b320*cos(t - t0)*power(a110,2) - (621*b310*cos(2*t - t0)*power(a110,2))/8. + (523*b310*cos(t0)*power(a110,2))/4. + (141*b110*power(a110,3))/8. + (359*cos(t)*power(a110,3))/4. - (31*cos(4*t - 5*t0)*power(a110,3))/16. - (389*cos(3*t - 4*t0)*power(a110,3))/12. - (31*b110*cos(4*t - 4*t0)*power(a110,3))/8. - (99*cos(2*t - 3*t0)*power(a110,3))/2. - (183*b110*cos(3*t - 3*t0)*power(a110,3))/4. - (257*cos(4*t - 3*t0)*power(a110,3))/16. + 35*cos(t - 2*t0)*power(a110,3) - (323*b110*cos(2*t - 2*t0)*power(a110,3))/4. - (76*cos(3*t - 2*t0)*power(a110,3))/3. + (451*b110*cos(t - t0)*power(a110,3))/4. - (247*cos(2*t - t0)*power(a110,3))/4. + (249*cos(t0)*power(a110,3))/4. - (5*a120*power(a210,2))/2. - (183*a110*b110*power(a210,2))/64. + (17*b110*b310*power(a210,2))/2. - (9*b320*power(a210,2))/4. + (27*a110*cos(t)*power(a210,2))/8. + (33*b310*cos(t)*power(a210,2))/8. + (111*a110*cos(4*t - 5*t0)*power(a210,2))/128. - (31*a110*cos(3*t - 4*t0)*power(a210,2))/8. + (5*b310*cos(3*t - 4*t0)*power(a210,2))/8. + (111*a110*b110*cos(4*t - 4*t0)*power(a210,2))/64. - (169*a110*cos(2*t - 3*t0)*power(a210,2))/16. - (21*b310*cos(2*t - 3*t0)*power(a210,2))/4. + (5*a120*cos(3*t - 3*t0)*power(a210,2))/8. - (51*a110*b110*cos(3*t - 3*t0)*power(a210,2))/4. + (5*b110*b310*cos(3*t - 3*t0)*power(a210,2))/4. + (581*a110*cos(4*t - 3*t0)*power(a210,2))/128. + (195*a110*cos(t - 2*t0)*power(a210,2))/8. - (27*b310*cos(t - 2*t0)*power(a210,2))/2. + (3*a120*cos(2*t - 2*t0)*power(a210,2))/2. - (63*a110*b110*cos(2*t - 2*t0)*power(a210,2))/8. - (33*b110*b310*cos(2*t - 2*t0)*power(a210,2))/2. - (3*b320*cos(2*t - 2*t0)*power(a210,2))/4. - (119*a110*cos(3*t - 2*t0)*power(a210,2))/8. + (7*b310*cos(3*t - 2*t0)*power(a210,2))/4. + (3*a120*cos(t - t0)*power(a210,2))/8. + (87*a110*b110*cos(t - t0)*power(a210,2))/4. + (27*b110*b310*cos(t - t0)*power(a210,2))/4. + 3*b320*cos(t - t0)*power(a210,2) - (147*a110*cos(2*t - t0)*power(a210,2))/16. - (63*b310*cos(2*t - t0)*power(a210,2))/4. + (171*a110*cos(t0)*power(a210,2))/32. + 28*b310*cos(t0)*power(a210,2) - (45*b210*power(a210,3))/32. - (15*b210*cos(4*t - 4*t0)*power(a210,3))/32. + (15*b210*cos(3*t - 3*t0)*power(a210,3))/8. + (39*b210*cos(2*t - 2*t0)*power(a210,3))/8. - (39*b210*cos(t - t0)*power(a210,3))/8. + (5*a120*power(b110,2))/2. + (255*a210*b210*power(b110,2))/64. + (3*b320*power(b110,2))/2. - (237*a110*cos(t)*power(b110,2))/8. - (1359*b310*cos(t)*power(b110,2))/16. + (93*a110*cos(4*t - 5*t0)*power(b110,2))/16. + (229*a110*cos(3*t - 4*t0)*power(b110,2))/8. - (137*b310*cos(3*t - 4*t0)*power(b110,2))/16. - (111*a210*b210*cos(4*t - 4*t0)*power(b110,2))/64. + (45*a110*cos(2*t - 3*t0)*power(b110,2))/2. + (531*b310*cos(2*t - 3*t0)*power(b110,2))/8. + (61*a120*cos(3*t - 3*t0)*power(b110,2))/8. + (51*a210*b210*cos(3*t - 3*t0)*power(b110,2))/8. + (771*a110*cos(4*t - 3*t0)*power(b110,2))/16. - (243*a110*cos(t - 2*t0)*power(b110,2))/8. - (651*b310*cos(t - 2*t0)*power(b110,2))/16. + (9*a120*cos(2*t - 2*t0)*power(b110,2))/2. - (45*a210*b210*cos(2*t - 2*t0)*power(b110,2))/4. + (21*b320*cos(2*t - 2*t0)*power(b110,2))/2. - (253*a110*cos(3*t - 2*t0)*power(b110,2))/8. + (291*b310*cos(3*t - 2*t0)*power(b110,2))/16. - (117*a120*cos(t - t0)*power(b110,2))/8. + (21*a210*b210*cos(t - t0)*power(b110,2))/8. - 12*b320*cos(t - t0)*power(b110,2) + (141*a110*cos(2*t - t0)*power(b110,2))/4. + (327*b310*cos(2*t - t0)*power(b110,2))/8. - (195*a110*cos(t0)*power(b110,2))/4. + (35*b310*cos(t0)*power(b110,2))/4. - (45*a110*power(b110,3))/8. + (37*b310*power(b110,3))/12. + (31*a110*cos(4*t - 4*t0)*power(b110,3))/8. - (137*b310*cos(3*t - 3*t0)*power(b110,3))/24. + (91*a110*cos(2*t - 2*t0)*power(b110,3))/4. + (129*b310*cos(2*t - 2*t0)*power(b110,3))/4. - 21*a110*cos(t - t0)*power(b110,3) - (237*b310*cos(t - t0)*power(b110,3))/8. - (11*a120*power(b210,2))/4. + (759*a110*b110*power(b210,2))/64. - 7*b110*b310*power(b210,2) - (9*b320*power(b210,2))/4. + (483*a110*cos(t)*power(b210,2))/16. + (99*b310*cos(t)*power(b210,2))/8. - (111*a110*cos(4*t - 5*t0)*power(b210,2))/128. - (91*a110*cos(3*t - 4*t0)*power(b210,2))/16. - (5*b310*cos(3*t - 4*t0)*power(b210,2))/8. - (111*a110*b110*cos(4*t - 4*t0)*power(b210,2))/64. - (167*a110*cos(2*t - 3*t0)*power(b210,2))/16. - (21*b310*cos(2*t - 3*t0)*power(b210,2))/2. - (5*a120*cos(3*t - 3*t0)*power(b210,2))/8. - (51*a110*b110*cos(3*t - 3*t0)*power(b210,2))/8. - (5*b110*b310*cos(3*t - 3*t0)*power(b210,2))/4. - (581*a110*cos(4*t - 3*t0)*power(b210,2))/128. - (189*a110*cos(t - 2*t0)*power(b210,2))/16. + (39*b310*cos(t - 2*t0)*power(b210,2))/2. + (15*a120*cos(2*t - 2*t0)*power(b210,2))/4. - (177*a110*b110*cos(2*t - 2*t0)*power(b210,2))/8. - 15*b110*b310*cos(2*t - 2*t0)*power(b210,2) + (3*b320*cos(2*t - 2*t0)*power(b210,2))/4. - (11*a110*cos(3*t - 2*t0)*power(b210,2))/16. - (7*b310*cos(3*t - 2*t0)*power(b210,2))/4. - (3*a120*cos(t - t0)*power(b210,2))/8. + (147*a110*b110*cos(t - t0)*power(b210,2))/8. + (93*b110*b310*cos(t - t0)*power(b210,2))/4. + (3*b320*cos(t - t0)*power(b210,2))/2. - (393*a110*cos(2*t - t0)*power(b210,2))/16. - 9*b310*cos(2*t - t0)*power(b210,2) + (909*a110*cos(t0)*power(b210,2))/32. - 10*b310*cos(t0)*power(b210,2) - (75*a210*power(b210,3))/32. + (15*a210*cos(4*t - 4*t0)*power(b210,3))/32. + (39*a210*cos(2*t - 2*t0)*power(b210,3))/8. - 3*a210*cos(t - t0)*power(b210,3) - (75*a120*power(b310,2))/4. + (21*a110*b110*power(b310,2))/2. - (15*a210*b210*power(b310,2))/4. - (27*b320*power(b310,2))/2. + (1911*a110*cos(t)*power(b310,2))/16. - (183*a110*cos(3*t - 4*t0)*power(b310,2))/16. - (249*a110*cos(2*t - 3*t0)*power(b310,2))/4. - (183*a110*b110*cos(3*t - 3*t0)*power(b310,2))/8. + (15*a210*b210*cos(3*t - 3*t0)*power(b310,2))/8. + (207*a110*cos(t - 2*t0)*power(b310,2))/16. + (27*a120*cos(2*t - 2*t0)*power(b310,2))/4. - (231*a110*b110*cos(2*t - 2*t0)*power(b310,2))/2. + (39*a210*b210*cos(2*t - 2*t0)*power(b310,2))/4. - (255*a110*cos(3*t - 2*t0)*power(b310,2))/16. + 12*a120*cos(t - t0)*power(b310,2) + (1023*a110*b110*cos(t - t0)*power(b310,2))/8. - (63*a210*b210*cos(t - t0)*power(b310,2))/8. + (27*b320*cos(t - t0)*power(b310,2))/2. - (225*a110*cos(2*t - t0)*power(b310,2))/2. + (279*a110*cos(t0)*power(b310,2))/4. + (3*b110*power(b310,3))/2. + (33*cos(t)*power(b310,3))/2. - (63*cos(2*t - 3*t0)*power(b310,3))/4. + 6*cos(t - 2*t0)*power(b310,3) - (63*b110*cos(2*t - 2*t0)*power(b310,3))/2. + 30*b110*cos(t - t0)*power(b310,3) - (99*cos(2*t - t0)*power(b310,3))/4. + 18*cos(t0)*power(b310,3) + (109*a110*a120*sin(t))/8. + (59*a210*a220*sin(t))/8. - (685*b110*sin(t))/16. - (5*b110*b120*sin(t))/8. - 3*b130*sin(t) + 25*a110*a210*b210*sin(t) + (29*b210*b220*sin(t))/8. + (21*a120*b310*sin(t))/2. + (225*a110*b110*b310*sin(t))/8. + (3*a210*b210*b310*sin(t))/4. + (21*a110*b320*sin(t))/2. + 17*b310*b320*sin(t) - (99*b110*power(a110,2)*sin(t))/4. - (43*b110*power(a210,2)*sin(t))/4. - (65*power(b110,3)*sin(t))/8. + (139*b110*power(b210,2)*sin(t))/16. + (255*b110*power(b310,2)*sin(t))/16. + (7247*sin(2*t))/96. + 9*b120*sin(2*t) - (1473*a110*b310*sin(2*t))/16. + (493*power(a110,2)*sin(2*t))/16. - (89*power(a210,2)*sin(2*t))/32. + (211*power(b110,2)*sin(2*t))/4. + (271*power(b210,2)*sin(2*t))/32. + (169*power(b310,2)*sin(2*t))/16. + (1065*b110*sin(3*t))/16. - (31789*sin(4*t))/1536. - (31*sin(4*t - 8*t0))/512. - (103*sin(3*t - 7*t0))/48. - (31*b110*sin(4*t - 7*t0))/64. - (51*sin(2*t - 6*t0))/32. - (103*b110*sin(3*t - 6*t0))/8. - (257*sin(4*t - 6*t0))/128. + (93*power(a110,2)*sin(4*t - 6*t0))/64. - (111*power(a210,2)*sin(4*t - 6*t0))/512. - (93*power(b110,2)*sin(4*t - 6*t0))/64. + (111*power(b210,2)*sin(4*t - 6*t0))/512. + (193*sin(t - 5*t0))/32. - (73*b110*sin(2*t - 5*t0))/16. - (635*sin(3*t - 5*t0))/48. - (61*b120*sin(3*t - 5*t0))/32. + (229*a110*b310*sin(3*t - 5*t0))/32. + (145*power(a110,2)*sin(3*t - 5*t0))/8. + (power(a210,2)*sin(3*t - 5*t0))/32. - (885*power(b110,2)*sin(3*t - 5*t0))/32. + (141*power(b210,2)*sin(3*t - 5*t0))/64. + (183*power(b310,2)*sin(3*t - 5*t0))/64. - (771*b110*sin(4*t - 5*t0))/64. - (111*a110*a210*b210*sin(4*t - 5*t0))/64. + (93*b110*power(a110,2)*sin(4*t - 5*t0))/16. - (111*b110*power(a210,2)*sin(4*t - 5*t0))/128. - (31*power(b110,3)*sin(4*t - 5*t0))/16. + (111*b110*power(b210,2)*sin(4*t - 5*t0))/128. + (463*b110*sin(t - 4*t0))/16. - (103*sin(2*t - 4*t0))/32. + 3*b120*sin(2*t - 4*t0) + (279*a110*b310*sin(2*t - 4*t0))/16. + (177*power(a110,2)*sin(2*t - 4*t0))/16. - (65*power(a210,2)*sin(2*t - 4*t0))/32. + (21*power(b110,2)*sin(2*t - 4*t0))/4. + (59*power(b210,2)*sin(2*t - 4*t0))/32. - (93*power(b310,2)*sin(2*t - 4*t0))/16. + (61*a110*a120*sin(3*t - 4*t0))/8. - (5*a210*a220*sin(3*t - 4*t0))/8. - (839*b110*sin(3*t - 4*t0))/16. - (61*b110*b120*sin(3*t - 4*t0))/8. + 2*a110*a210*b210*sin(3*t - 4*t0) + (5*b210*b220*sin(3*t - 4*t0))/8. + (229*a110*b110*b310*sin(3*t - 4*t0))/8. - (5*a210*b210*b310*sin(3*t - 4*t0))/4. + (145*b110*power(a110,2)*sin(3*t - 4*t0))/4. + (13*b110*power(a210,2)*sin(3*t - 4*t0))/4. - (595*power(b110,3)*sin(3*t - 4*t0))/24. + (91*b110*power(b210,2)*sin(3*t - 4*t0))/16. + (183*b110*power(b310,2)*sin(3*t - 4*t0))/16. - (2997*sin(4*t - 4*t0))/256. - (111*a110*a210*b110*b210*sin(4*t - 4*t0))/32. + (771*power(a110,2)*sin(4*t - 4*t0))/32. - (31*power(a110,4)*sin(4*t - 4*t0))/32. - (581*power(a210,2)*sin(4*t - 4*t0))/256. + (111*power(a110,2)*power(a210,2)*sin(4*t - 4*t0))/128. - (15*power(a210,4)*sin(4*t - 4*t0))/128. - (771*power(b110,2)*sin(4*t - 4*t0))/32. + (93*power(a110,2)*power(b110,2)*sin(4*t - 4*t0))/16. - (111*power(a210,2)*power(b110,2)*sin(4*t - 4*t0))/128. - (31*power(b110,4)*sin(4*t - 4*t0))/32. + (581*power(b210,2)*sin(4*t - 4*t0))/256. - (111*power(a110,2)*power(b210,2)*sin(4*t - 4*t0))/128. + (45*power(a210,2)*power(b210,2)*sin(4*t - 4*t0))/64. + (111*power(b110,2)*power(b210,2)*sin(4*t - 4*t0))/128. - (15*power(b210,4)*sin(4*t - 4*t0))/128. + (107*sin(t - 3*t0))/4. + (231*b120*sin(t - 3*t0))/32. - (135*a110*b310*sin(t - 3*t0))/32. - 18*power(a110,2)*sin(t - 3*t0) + (369*power(a210,2)*sin(t - 3*t0))/32. + (1611*power(b110,2)*sin(t - 3*t0))/32. - (1359*power(b210,2)*sin(t - 3*t0))/64. + (483*power(b310,2)*sin(t - 3*t0))/64. - 6*a110*a120*sin(2*t - 3*t0) - (3*a210*a220*sin(2*t - 3*t0))/2. + (453*b110*sin(2*t - 3*t0))/16. + (21*b110*b120*sin(2*t - 3*t0))/2. + (9*b130*sin(2*t - 3*t0))/4. + (a110*a210*b210*sin(2*t - 3*t0))/8. - (9*b210*b220*sin(2*t - 3*t0))/4. - 3*a120*b310*sin(2*t - 3*t0) + (87*a110*b110*b310*sin(2*t - 3*t0))/4. - (9*a210*b210*b310*sin(2*t - 3*t0))/4. - 3*a110*b320*sin(2*t - 3*t0) - (27*b310*b320*sin(2*t - 3*t0))/4. + (33*b110*power(a110,2)*sin(2*t - 3*t0))/8. - (49*b110*power(a210,2)*sin(2*t - 3*t0))/8. + (159*power(b110,3)*sin(2*t - 3*t0))/8. + (13*b110*power(b210,2)*sin(2*t - 3*t0))/8. - 21*b110*power(b310,2)*sin(2*t - 3*t0) - (853*sin(3*t - 3*t0))/32. + (61*a110*a120*b110*sin(3*t - 3*t0))/4. - (5*a210*a220*b110*sin(3*t - 3*t0))/4. - (85*b120*sin(3*t - 3*t0))/16. - (5*a120*a210*b210*sin(3*t - 3*t0))/4. - (5*a110*a220*b210*sin(3*t - 3*t0))/4. + 14*a110*a210*b110*b210*sin(3*t - 3*t0) - (5*a110*a210*b220*sin(3*t - 3*t0))/4. + (5*b110*b210*b220*sin(3*t - 3*t0))/4. + (801*a110*b310*sin(3*t - 3*t0))/16. - (5*a210*b110*b210*b310*sin(3*t - 3*t0))/2. + (143*power(a110,2)*sin(3*t - 3*t0))/4. + (61*b120*power(a110,2)*sin(3*t - 3*t0))/8. - (961*b310*power(a110,3)*sin(3*t - 3*t0))/24. - (61*power(a110,4)*sin(3*t - 3*t0))/2. + (69*power(a210,2)*sin(3*t - 3*t0))/16. - (5*b120*power(a210,2)*sin(3*t - 3*t0))/8. + 5*a110*b310*power(a210,2)*sin(3*t - 3*t0) - (21*power(a110,2)*power(a210,2)*sin(3*t - 3*t0))/8. + (5*power(a210,4)*sin(3*t - 3*t0))/8. - (901*power(b110,2)*sin(3*t - 3*t0))/16. - (61*b120*power(b110,2)*sin(3*t - 3*t0))/8. + (229*a110*b310*power(b110,2)*sin(3*t - 3*t0))/8. + (61*power(a110,2)*power(b110,2)*sin(3*t - 3*t0))/8. + (23*power(a210,2)*power(b110,2)*sin(3*t - 3*t0))/4. - (61*power(b110,4)*sin(3*t - 3*t0))/8. + (125*power(b210,2)*sin(3*t - 3*t0))/32. + (5*b120*power(b210,2)*sin(3*t - 3*t0))/8. - 5*a110*b310*power(b210,2)*sin(3*t - 3*t0) - (121*power(a110,2)*power(b210,2)*sin(3*t - 3*t0))/16. - (25*power(a210,2)*power(b210,2)*sin(3*t - 3*t0))/16. + (51*power(b110,2)*power(b210,2)*sin(3*t - 3*t0))/16. - (5*power(b210,4)*sin(3*t - 3*t0))/16. + (255*power(b310,2)*sin(3*t - 3*t0))/32. - (183*power(a110,2)*power(b310,2)*sin(3*t - 3*t0))/16. + (15*power(a210,2)*power(b310,2)*sin(3*t - 3*t0))/16. + (183*power(b110,2)*power(b310,2)*sin(3*t - 3*t0))/16. - (15*power(b210,2)*power(b310,2)*sin(3*t - 3*t0))/16. - (2997*b110*sin(4*t - 3*t0))/64. - (581*a110*a210*b210*sin(4*t - 3*t0))/64. + (771*b110*power(a110,2)*sin(4*t - 3*t0))/16. - (581*b110*power(a210,2)*sin(4*t - 3*t0))/128. - (257*power(b110,3)*sin(4*t - 3*t0))/16. + (581*b110*power(b210,2)*sin(4*t - 3*t0))/128. - (315*a110*a120*sin(t - 2*t0))/8. - (57*a210*a220*sin(t - 2*t0))/8. + (775*b110*sin(t - 2*t0))/8. + (99*b110*b120*sin(t - 2*t0))/8. + 3*b130*sin(t - 2*t0) - (99*a110*a210*b210*sin(t - 2*t0))/2. - (15*b210*b220*sin(t - 2*t0))/8. - (27*a120*b310*sin(t - 2*t0))/2. - (195*a110*b110*b310*sin(t - 2*t0))/8. + (57*a210*b210*b310*sin(t - 2*t0))/2. - (27*a110*b320*sin(t - 2*t0))/2. - 3*b310*b320*sin(t - 2*t0) + 12*b110*power(a110,2)*sin(t - 2*t0) + (3*b110*power(a210,2)*sin(t - 2*t0))/4. + (213*power(b110,3)*sin(t - 2*t0))/8. - (261*b110*power(b210,2)*sin(t - 2*t0))/16. + (471*b110*power(b310,2)*sin(t - 2*t0))/16. + 29*sin(2*t - 2*t0) - (9*a110*a130*sin(2*t - 2*t0))/2. + (3*a210*a230*sin(2*t - 2*t0))/2. - 18*a110*a120*b110*sin(2*t - 2*t0) - 6*a210*a220*b110*sin(2*t - 2*t0) + (15*b120*sin(2*t - 2*t0))/2. + (9*b110*b130*sin(2*t - 2*t0))/2. - (69*a110*a210*b110*b210*sin(2*t - 2*t0))/4. - (3*b110*b210*b220*sin(2*t - 2*t0))/2. - (3*b210*b230*sin(2*t - 2*t0))/2. + (243*a110*b310*sin(2*t - 2*t0))/8. - 6*a120*b110*b310*sin(2*t - 2*t0) - 6*a110*b120*b310*sin(2*t - 2*t0) + (3*a220*b210*b310*sin(2*t - 2*t0))/2. + (15*a210*b110*b210*b310*sin(2*t - 2*t0))/2. + (3*a210*b220*b310*sin(2*t - 2*t0))/2. - 6*a110*b110*b320*sin(2*t - 2*t0) + (3*a210*b210*b320*sin(2*t - 2*t0))/2. - (27*b110*b310*b320*sin(2*t - 2*t0))/2. - (51*power(a110,2)*sin(2*t - 2*t0))/2. - 9*b120*power(a110,2)*sin(2*t - 2*t0) - (39*b310*power(a110,3)*sin(2*t - 2*t0))/4. + (7*power(a110,4)*sin(2*t - 2*t0))/2. - (9*power(a120,2)*sin(2*t - 2*t0))/4. - (25*power(a210,2)*sin(2*t - 2*t0))/16. - 3*b120*power(a210,2)*sin(2*t - 2*t0) - (3*a110*b310*power(a210,2)*sin(2*t - 2*t0))/4. - (3*power(a110,2)*power(a210,2)*sin(2*t - 2*t0))/4. + (15*power(a210,4)*sin(2*t - 2*t0))/8. + (3*power(a220,2)*sin(2*t - 2*t0))/4. + (717*power(b110,2)*sin(2*t - 2*t0))/8. + (27*b120*power(b110,2)*sin(2*t - 2*t0))/2. - (129*a110*b310*power(b110,2)*sin(2*t - 2*t0))/4. + (27*power(a110,2)*power(b110,2)*sin(2*t - 2*t0))/4. - (45*power(a210,2)*power(b110,2)*sin(2*t - 2*t0))/4. + 10*power(b110,4)*sin(2*t - 2*t0) + (9*power(b120,2)*sin(2*t - 2*t0))/4. + (13*power(b210,2)*sin(2*t - 2*t0))/16. - (3*b120*power(b210,2)*sin(2*t - 2*t0))/4. - (15*a110*b310*power(b210,2)*sin(2*t - 2*t0))/4. - (21*power(a110,2)*power(b210,2)*sin(2*t - 2*t0))/4. - (3*power(b110,2)*power(b210,2)*sin(2*t - 2*t0))/4. - (21*power(b210,4)*sin(2*t - 2*t0))/16. - (3*power(b220,2)*sin(2*t - 2*t0))/4. - (9*power(b310,2)*sin(2*t - 2*t0))/4. - (27*b120*power(b310,2)*sin(2*t - 2*t0))/4. - (51*power(a110,2)*power(b310,2)*sin(2*t - 2*t0))/4. + 6*power(a210,2)*power(b310,2)*sin(2*t - 2*t0) - (51*power(b110,2)*power(b310,2)*sin(2*t - 2*t0))/2. - (3*power(b210,2)*power(b310,2)*sin(2*t - 2*t0))/8. + 9*a110*power(b310,3)*sin(2*t - 2*t0) + (81*power(b310,4)*sin(2*t - 2*t0))/16. + (85*a110*a120*sin(3*t - 2*t0))/8. + (7*a210*a220*sin(3*t - 2*t0))/8. - 37*b110*sin(3*t - 2*t0) - (85*b110*b120*sin(3*t - 2*t0))/8. + (39*a110*a210*b210*sin(3*t - 2*t0))/2. - (7*b210*b220*sin(3*t - 2*t0))/8. + (801*a110*b110*b310*sin(3*t - 2*t0))/8. - (7*a210*b210*b310*sin(3*t - 2*t0))/2. - 15*b110*power(a110,2)*sin(3*t - 2*t0) + (51*b110*power(a210,2)*sin(3*t - 2*t0))/4. - (209*power(b110,3)*sin(3*t - 2*t0))/24. + (59*b110*power(b210,2)*sin(3*t - 2*t0))/16. + (255*b110*power(b310,2)*sin(3*t - 2*t0))/16. - (3161*sin(4*t - 2*t0))/128. + (2997*power(a110,2)*sin(4*t - 2*t0))/64. - (1399*power(a210,2)*sin(4*t - 2*t0))/512. - (2997*power(b110,2)*sin(4*t - 2*t0))/64. + (1399*power(b210,2)*sin(4*t - 2*t0))/512. + (1779*sin(t - t0))/32. - (99*a110*a120*b110*sin(t - t0))/4. + (3*a210*a220*b110*sin(t - t0))/4. + (67*b120*sin(t - t0))/16. + (15*a120*a210*b210*sin(t - t0))/4. + (15*a110*a220*b210*sin(t - t0))/4. - 18*a110*a210*b110*b210*sin(t - t0) + (15*a110*a210*b220*sin(t - t0))/4. - (3*b110*b210*b220*sin(t - t0))/4. - (1203*a110*b310*sin(t - t0))/16. - 3*a130*b310*sin(t - t0) - 3*a120*b110*b310*sin(t - t0) - 3*a110*b120*b310*sin(t - t0) - 3*a220*b210*b310*sin(t - t0) + (15*a210*b110*b210*b310*sin(t - t0))/2. - 3*a210*b220*b310*sin(t - t0) - 3*a120*b320*sin(t - t0) - 3*a110*b110*b320*sin(t - t0) - 3*a210*b210*b320*sin(t - t0) + 12*b110*b310*b320*sin(t - t0) - 3*a110*b330*sin(t - t0) + (165*power(a110,2)*sin(t - t0))/4. - (99*b120*power(a110,2)*sin(t - t0))/8. + (369*b310*power(a110,3)*sin(t - t0))/8. + (77*power(a110,4)*sin(t - t0))/2. - (203*power(a210,2)*sin(t - t0))/16. + (3*b120*power(a210,2)*sin(t - t0))/8. + 12*a110*b310*power(a210,2)*sin(t - t0) + (51*power(a110,2)*power(a210,2)*sin(t - t0))/8. - (3*power(a210,4)*sin(t - t0))/8. + (531*power(b110,2)*sin(t - t0))/16. + (27*b120*power(b110,2)*sin(t - t0))/8. + (153*a110*b310*power(b110,2)*sin(t - t0))/8. + (21*power(a110,2)*power(b110,2)*sin(t - t0))/8. - (9*power(a210,2)*power(b110,2)*sin(t - t0))/4. + (27*power(b110,4)*sin(t - t0))/8. + (421*power(b210,2)*sin(t - t0))/32. - (3*b120*power(b210,2)*sin(t - t0))/8. - (27*a110*b310*power(b210,2)*sin(t - t0))/2. + (135*power(a110,2)*power(b210,2)*sin(t - t0))/16. + (63*power(a210,2)*power(b210,2)*sin(t - t0))/16. - (21*power(b110,2)*power(b210,2)*sin(t - t0))/16. + (3*power(b210,4)*sin(t - t0))/16. + (975*power(b310,2)*sin(t - t0))/32. + 6*b120*power(b310,2)*sin(t - t0) + (129*power(a110,2)*power(b310,2)*sin(t - t0))/16. - (81*power(a210,2)*power(b310,2)*sin(t - t0))/16. + (375*power(b110,2)*power(b310,2)*sin(t - t0))/16. - (63*power(b210,2)*power(b310,2)*sin(t - t0))/16. - (57*a110*power(b310,3)*sin(t - t0))/2. - 9*power(b310,4)*sin(t - t0) - 36*a110*a120*sin(2*t - t0) - (21*a210*a220*sin(2*t - t0))/2. + (2227*b110*sin(2*t - t0))/16. + (45*b110*b120*sin(2*t - t0))/2. + (21*b130*sin(2*t - t0))/4. - (183*a110*a210*b210*sin(2*t - t0))/8. - (9*b210*b220*sin(2*t - t0))/4. - 15*a120*b310*sin(2*t - t0) - (393*a110*b110*b310*sin(2*t - t0))/4. + (39*a210*b210*b310*sin(2*t - t0))/4. - 15*a110*b320*sin(2*t - t0) - (63*b310*b320*sin(2*t - t0))/4. + (129*b110*power(a110,2)*sin(2*t - t0))/8. - (63*b110*power(a210,2)*sin(2*t - t0))/4. + (319*power(b110,3)*sin(2*t - t0))/8. + 3*b110*power(b210,2)*sin(2*t - t0) - (63*b110*power(b310,2)*sin(2*t - t0))/4. - 5*sin(3*t - t0) - (49*b120*sin(3*t - t0))/32. + (2205*a110*b310*sin(3*t - t0))/32. - (191*power(a110,2)*sin(3*t - t0))/4. + (129*power(a210,2)*sin(3*t - t0))/32. + (995*power(b110,2)*sin(3*t - t0))/32. - (55*power(b210,2)*sin(3*t - t0))/64. + (147*power(b310,2)*sin(3*t - t0))/64. - (3161*b110*sin(4*t - t0))/64. - 26*a110*a120*sin(t0) - 7*a210*a220*sin(t0) + (1541*b110*sin(t0))/32. + 4*b110*b120*sin(t0) + 3*b130*sin(t0) - (1973*a110*a210*b210*sin(t0))/32. - 4*b210*b220*sin(t0) - 12*a120*b310*sin(t0) - 4*a110*b110*b310*sin(t0) + 18*a210*b210*b310*sin(t0) - 12*a110*b320*sin(t0) - 11*b310*b320*sin(t0) + (269*b110*power(a110,2)*sin(t0))/8. + (979*b110*power(a210,2)*sin(t0))/64. + (307*power(b110,3)*sin(t0))/24. - (1795*b110*power(b210,2)*sin(t0))/64. + (15*b110*power(b310,2)*sin(t0))/4. + (501*sin(2*t0))/16. + 2*b120*sin(2*t0) - (5*a110*b310*sin(2*t0))/2. + (231*power(a110,2)*sin(2*t0))/8. + (1233*power(a210,2)*sin(2*t0))/64. + (287*power(b110,2)*sin(2*t0))/8. - (1801*power(b210,2)*sin(2*t0))/64. + (85*power(b310,2)*sin(2*t0))/8. + (1001*b110*sin(3*t0))/32. + (821*sin(4*t0))/96. - (1101*sin(t + t0))/16. - (37*b120*sin(t + t0))/32. + (1473*a110*b310*sin(t + t0))/32. - (369*power(a110,2)*sin(t + t0))/8. - (271*power(a210,2)*sin(t + t0))/32. - (1485*power(b110,2)*sin(t + t0))/32. + (53*power(b210,2)*sin(t + t0))/64. - (1209*power(b310,2)*sin(t + t0))/64. + (213*b110*sin(2*t + t0))/16. + (1225*sin(3*t + t0))/32. - (203*b110*sin(t + 2*t0))/4. - (467*sin(2*t + 2*t0))/32. - (149*sin(t + 3*t0))/16.);
 
%linear x,y,z     vectors  
x_e     =   (2.*a3_e+a1_e.*sin(t-uno.*t0)   +   b1_e.*cos(t-uno.*t0) ).*a;
y_e     =   (b3_e    +   2.*a1_e.*cos(t-uno.*t0)-2.*b1_e.*sin(t-uno.*t0) ).*a;
z_e     =   (a2_e.*sin(t-uno.*t0)+b2_e.*cos(t-uno.*t0) ).*a;
            
%compare linear and nonlinear solution
% see the nondrift condition


%% plots
figure(1)

subplot(3,1,1);
plot(tvector/Tp,state(:,1).*1e3,'-');
title('NL & Eccentric');
ylabel('x(m)');


subplot(3,1,2);
plot(tvector/Tp,state(:,2).*1e3,'-');
ylabel('y(m)');


subplot(3,1,3);
plot(tvector/Tp,state(:,3).*1e3,'-');
ylabel('z(m)');
xlabel('Orbit #');

figure(3)

plot( state(:,1).*1e3,state(:,3).*1e3,'-');
hold on
plot( x_e.*1e3,z_e.*1e3,'r');
hold off
ylabel('z(m)');
xlabel('x(m)');

figure(4)
plot( state(:,1).*1e3,state(:,2).*1e3,'-');
hold on
plot( x_e.*1e3,y_e.*1e3,'r');
hold off
ylabel('y(m)');
xlabel('x(m)');


figure(5)
plot( state(:,1).*1e3-x_e.*1e3,state(:,2).*1e3-y_e.*1e3,'-');

ylabel('y(m)');
xlabel('x(m)');

figure(6)
plot3( state(:,1).*1e3-x_e.*1e3,state(:,2).*1e3-y_e.*1e3,state(:,3).*1e3-z_e.*1e3,'-');
zlabel('z(m)');
ylabel('y(m)');
xlabel('x(m)');

figure(7)

plot( tvector/Tp,state(:,1).*1e3-x_e.*1e3,'-');

ylabel('X_{real} - X_{linear} (m)');
xlabel('Orbit Number');

figure(8)

plot( tvector/Tp,state(:,2).*1e3-y_e.*1e3,'-');

ylabel('Y_{real} - Y_{linear} (m)');
xlabel('Orbit Number');

figure(9)

plot( tvector/Tp,state(:,3).*1e3-z_e.*1e3,'-');

ylabel('Z_{real} - Z_{linear} (m)');
xlabel('Orbit Number');

figure(10)

plot3( state(:,1).*1e3,state(:,2).*1e3,state(:,3).*1e3,'-');
ylabel('y(m)');
xlabel('x(m)');

figure(11)

subplot(3,1,1)
plot( tvector/Tp,state(:,1).*1e3-x_e.*1e3,'-');

ylabel('X_{real} - X_{linear} (m)');
xlabel('Orbit Number');

subplot(3,1,2)
plot( tvector/Tp,state(:,2).*1e3-y_e.*1e3,'-');

ylabel('Y_{real} - Y_{linear} (m)');
xlabel('Orbit Number');
subplot(3,1,3)
plot( tvector/Tp,state(:,3).*1e3-z_e.*1e3,'-');

ylabel('Z_{real} - Z_{linear} (m)');
xlabel('Orbit Number');


figure(12)

% subplot(3,1,1)
plot( tvector/Tp,state(:,1).*1e3-x_e.*1e3,'r-');

% ylabel('X_{real} - X_{linear} (m)');
% xlabel('Orbit Number');
hold on
% subplot(3,1,2)
plot( tvector/Tp,state(:,2).*1e3-y_e.*1e3,'-');

% ylabel('Y_{real} - Y_{linear} (m)');
% xlabel('Orbit Number');
hold on
% subplot(3,1,3)
plot( tvector/Tp,state(:,3).*1e3-z_e.*1e3,'k-');
hold off
% ylabel('Z_{real} - Z_{linear} (m)');
% xlabel('Orbit Number');
 

% % % % % 
% % % % % %MOVIE
% % % % % 
% % % % % % if counter~=1;
% % % % %   state_rel(:,:,counter) = state ;
end
% % % % %  
% % % % % end
% % % % % set(gca,'nextplot','replacechildren');
% % % % % frameperorb=3;
% % % % % for ii=1:floor(length(state)/frameperorb-1)
% % % % %     
% % % % %     
% % % % %  cons=1:1:ii*frameperorb;
% % % % % %  axis tight   
% % % % % %  close all
% % % % % 
% % % % % 
% % % % %  axis([-2500 2500 -1500 1500]);
% % % % % figure (666)
% % % % % % subplot(3,1,1)
% % % % % % plot (state_rel(cons,2),state_rel(cons,1),'-b');%hold on
% % % % % plot (state_rel(cons,2,1)*1e3,state_rel(cons,1,1)*1e3,'-b');hold on
% % % % %   plot (  state_rel(cons,2,2)*1e3,state_rel(cons,1,2)*1e3,'-g');hold on
% % % % %   plot (  state_rel(cons,2,3)*1e3,state_rel(cons,1,3)*1e3,'-r');hold on
% % % % %  plot (   state_rel(cons,2,4)*1e3,state_rel(cons,1,4)*1e3,'-k'); hold off
% % % % % title('Relative orbit');
% % % % % ylabel('X vs Y')
% % % % % 
% % % % % Frame(ii) = getframe;
% % % % % 
% % % % % 
% % % % % set(gca,'nextplot','replacechildren');
% % % % % 
% % % % % end
% % % % % %movie(Frame,1)% Play the movie twenty times
% % % % % % Now save the movie as an mpeg file for use on the Web:
% % % % % map=colormap;   % Uses the previously defined colormap 
% % % % % mpgwrite(Frame,map,'Ecc_6.mpg')
% % % % % 

function dstatedt = nonlinear_eccentric_state_vector(t,state,mu)

x =  state(1) ;
y =  state(2) ;
z =   state(3);
dx =  state(4);
dy =  state(5);
dz =  state(6);
rc =  state(7);
drc =  state(8);
tet =  state(9);
dtet =  state(10);


ddrc = rc*dtet^2-mu/rc^2;
ddtet = -2*drc*dtet/rc;

ddx = 2*dtet*dy + ddtet*y + dtet^2*x - mu*(rc+x)/((rc+x)^2+y^2+z^2)^(3/2) + mu/rc^2; 
ddy = -2*dtet*dx - ddtet*x + dtet^2*y - mu*y/((rc+x)^2 + y^2+z^2)^(3/2);
ddz = -mu*z/((rc+x)^2+y^2+z^2)^(3/2);

dstatedt = [ dx ; dy ; dz ; ddx ; ddy ; ddz ; drc ; ddrc ; dtet ; ddtet ];