ManufacturedSolutions.f90 Source File


Source Code

!
!////////////////////////////////////////////////////////////////////////
!
!      Manufactured solutions definitions for 3D case (Navier-Stokes/Spalart-Almaras)
!
!////////////////////////////////////////////////////////////////////////////////////////
MODULE ManufacturedSolutionsNSSA
   USE SMConstants
   USE PhysicsStorage_NSSA
   USE Physics_NSSA
   use FluidData_NSSA
   use VariableConversion_NSSA
   IMPLICIT NONE

   private
   public   InitializeManufacturedSol, ManufacturedSolP
   public   ManufacturedSolutionState
   public   ManufacturedSolutionSourceNSSA

   real(kind=RP) :: dwall, cv2, sbar, somega
   real(kind=RP) :: rhoinit, rhox, rhoy, rhoxy, arhox, arhoy, arhoxy 
   real(kind=RP) :: uinit, ux, uy, uxy, aux, auy, auxy 
   real(kind=RP) :: vinit, vx, vy, vxy, avx, avy, avxy 
   real(kind=RP) :: pinit, px, py, pxy, apx, apy, apxy 
   real(kind=RP) :: thetainit, thetax, thetay, thetaxy, athetax, athetay, athetaxy 
!========
 CONTAINS
!========
!
!///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
!
   SUBROUTINE InitializeManufacturedSol(ProblemDIM)
      IMPLICIT NONE
!
!     --------------------------------------------------------------------------------------
!     Constant definitions for the manufactured solutions. 
!
!        The primitive variable j(rho, u, v, w, p) is defined as:
!           j = jC(1) + jC(2)*Sin(pi*jC(5)*x) + jC(3)*Sin(pi*jC(6)*y) + jC(4)*Sin(pi*jC(7)*z) 
!     See:
!        |> Roy, Chris, Curt Ober, and Tom Smith. "Verification of a compressible CFD code 
!           using the method of manufactured solutions." 32nd AIAA Fluid Dynamics Conference 
!           and Exhibit. 2002.
!     --------------------------------------------------------------------------------------
!
      CHARACTER(LEN=*) :: ProblemDIM
            
      
   END SUBROUTINE InitializeManufacturedSol
!
!///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
!   
   FUNCTION ManufacturedSolP(x) RESULT(p)
      IMPLICIT NONE
      REAL(KIND=RP) :: x(3), p
            
   END FUNCTION ManufacturedSolP
!
!///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
!
   SUBROUTINE ManufacturedSolutionState( xvec, Q, thetaeddy )
      IMPLICIT NONE
!
!     ----------------------------------------------------
!     Manufactured solution state (valid for Euler and NS)
!     ----------------------------------------------------
!      
      
      REAL(KIND=RP), intent(in)    :: xvec(3)
      REAL(KIND=RP), intent(inout) :: Q(NCONS)
      REAL(KIND=RP), intent(inout) :: thetaeddy
      REAL(KIND=RP)                :: rho , u, v, w, en

                

      associate ( x => xvec(1), &
                  y => xvec(2), &
                  z => xvec(3), &
                  gamma => thermodynamics % gamma)

                   rho = exp(x)*1.0_RP/10.0_RP + exp(y)*1.0_RP/10.0_RP + exp(z)*1.0_RP/10.0_RP + 1.0_RP
                   u = COS(PI*(x + y +z )) 
                   v = SIN(PI*(x + y +z ))
                   w = 0.5_RP*COS(PI*(x + y +z )) + 0.5_RP*SIN(PI*(x + y +z ))
                   en = 1.0_RP/(thermodynamics % gamma - 1._RP) + 3.0_RP/2.0_RP
                   thetaeddy = COS(PI*(x + y +z ))


                   Q(1) = rho
                   Q(2) = rho * u
                   Q(3) = rho * v
                   Q(4) = rho * w
                   Q(5) = rho * en
                   Q(6) = rho * thetaeddy
      
      end associate

   END SUBROUTINE ManufacturedSolutionState 
!
!///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
!
!
!///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
!
subroutine ManufacturedSolutionSourceNSSA(xvec, dwall, time, S)
!
!           --------------------------------------------
!           Called to apply source terms to the equation
!           --------------------------------------------
            use SMConstants
            IMPLICIT NONE
            real(kind=RP),             intent(in)       :: xvec(NDIM)
            real(kind=RP),             intent(inout)    :: dwall
            real(kind=RP),             intent(in)       :: time
            real(kind=RP),             intent(inout)    :: S(NCONS)

            ! --------- my ----------
            real(kind=RP)             :: Q(NCONS)
            real(kind=RP) :: cv2, sbar, somega, S51, S52, S531, S532, S533, S534, S535, S536 ,S541, S542,S55,S56, S57, cwone, theta, eta, test1, test2, test3
            cv2 = 0.7_RP
            cwone = 0.1355_RP / (0.41_RP*0.41_RP) + (1.0_RP + 0.622_RP)/ (2.0_RP/3.0_RP)!
            dwall  = xvec(2) + 1.0_RP    
            call ManufacturedSolutionState( xvec, Q, theta)

            associate ( x => xvec(1), &
                        y => xvec(2), &
                        z => xvec(3), &
                        gamma => thermodynamics % gamma, &
                        Mach => dimensionless % Mach, &
                        Re => dimensionless % Re, &
                        Pr => dimensionless % Pr, &
                        Prt => dimensionless % Prt, &
                        gammaM2 => dimensionless % gammaM2, &
                        tRatio => S_div_Tref_Sutherland )

            somega =         Sqrt((1.5707963267948966*Cos(Pi*(x + y + z)) - Pi*Cos(Pi*(x + y + z)) - &
                                 1.5707963267948966*Sin(Pi*(x + y + z)))**2 + &
                                (-1.5707963267948966*Cos(Pi*(x + y + z)) + &
                                1.5707963267948966*Sin(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))**2 + & 
                               (Pi*Cos(Pi*(x + y + z)) + Pi*Sin(Pi*(x + y + z)))**2.)

            sbar  =         (5.948839976204641*Cos(Pi*(x + y + z))*  &
         (1. - ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
              (tRatio + (-1. + gamma)*gammaM2*  &
                 (1.5 + 1./(-1. + gamma) -   &
                   0.5*(Cos(Pi*(x + y + z))**2 +   &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                      Sin(Pi*(x + y + z))**2))))/  &
            ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
              (1.5 + 1./(-1. + gamma) -   &
                0.5*(Cos(Pi*(x + y + z))**2 +   &
                   (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                   Sin(Pi*(x + y + z))**2))*  &
              Sqrt((-1. + gamma)*gammaM2*  &
                (1.5 + 1./(-1. + gamma) -   &
                  0.5*(Cos(Pi*(x + y + z))**2 +   &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                     Sin(Pi*(x + y + z))**2)))*  &
              (1. + ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                   (tRatio + (-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))*  &
                   (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                        (tRatio +   &
                          (-1. + gamma)*gammaM2*  &
                           (1.5 + 1./(-1. + gamma) -   &
                             0.5*(Cos(Pi*(x + y + z))**2 +   &
                                (0.5*Cos(Pi*(x + y + z)) +   &
                                 0.5*Sin(Pi*(x + y + z)))**2 +   &
                                Sin(Pi*(x + y + z))**2))))/  &
                      ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                        (1.5 + 1./(-1. + gamma) -   &
                          0.5*(Cos(Pi*(x + y + z))**2 +   &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                              2 + Sin(Pi*(x + y + z))**2))*  &
                        Sqrt((-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2)))))**3.)/  &
                 ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                   (1.5 + 1./(-1. + gamma) -   &
                     0.5*(Cos(Pi*(x + y + z))**2 +   &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                        Sin(Pi*(x + y + z))**2))*  &
                   Sqrt((-1. + gamma)*gammaM2*  &
                     (1.5 + 1./(-1. + gamma) -   &
                       0.5*(Cos(Pi*(x + y + z))**2 +   &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                          Sin(Pi*(x + y + z))**2)))*  &
                   (357.91099999999994 +   &
                     (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                          (tRatio +   &
                            (-1. + gamma)*gammaM2*  &
                             (1.5 + 1./(-1. + gamma) -   &
                               0.5*  &
                                (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                        ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))*  &
                          Sqrt((-1. + gamma)*gammaM2*  &
                            (1.5 + 1./(-1. + gamma) -   &
                              0.5*  &
                               (Cos(Pi*(x + y + z))**2 +   &
                                 (0.5*Cos(Pi*(x + y + z)) +   &
                                 0.5*Sin(Pi*(x + y + z)))**2 +   &
                                 Sin(Pi*(x + y + z))**2)))))**3.))))))/dwall**2. 



       S(1) =                 -0.1*exp(x)*Cos(Pi*(x + y + z)) -  &
       (1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Cos(Pi*(x + y + z)) -  &
       (1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))* &
        (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
          1.5707963267948966*Sin(Pi*(x + y + z))) -  &
       0.1*exp(z)*(0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))) -  &
       0.1*exp(y)*Sin(Pi*(x + y + z)) +  &
       (1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z)) 

           
       if (theta .GE. 0.0_RP) then 


       S(2) =                 -0.1*exp(x)*Cos(Pi*(x + y + z))**2 -  &
       (1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Cos(Pi*(x + y + z))**2 -  &
       (1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
        (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
          1.5707963267948966*Sin(Pi*(x + y + z))) -  &
       0.1*exp(z)*Cos(Pi*(x + y + z))* &
        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))) +  &
       1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*(-1. + gamma)* &
        (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
          1.5707963267948966*Sin(Pi*(x + y + z)))* &
        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))) -  &
       0.1*exp(y)*Cos(Pi*(x + y + z))*Sin(Pi*(x + y + z)) +  &
       2*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Cos(Pi*(x + y + z))* &
        Sin(Pi*(x + y + z)) + (1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi* &
        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*Sin(Pi*(x + y + z)) +  &
       (1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))**2 -  &
       0.1*exp(x)*(-1. + gamma)*(1.5 + 1./(-1. + gamma) -  &
          0.5*(Cos(Pi*(x + y + z))**2 +  &
             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
             Sin(Pi*(x + y + z))**2)) +  &
       ((-4.934802200544679*Cos(Pi*(x + y + z)) - Pi**2*Cos(Pi*(x + y + z)) -  &
            4.934802200544679*Sin(Pi*(x + y + z)))* &
          (((-1. + gamma)*gammaM2*(1. + tRatio)* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))))/ &
             (tRatio + (-1. + gamma)*gammaM2* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))) +  &
            ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**3.)/ &
             (357.91099999999994 +  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**3.)))/Re +  &
       ((-(Pi**2*Cos(Pi*(x + y + z))) - Pi**2*Sin(Pi*(x + y + z)))* &
          (((-1. + gamma)*gammaM2*(1. + tRatio)* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))))/ &
             (tRatio + (-1. + gamma)*gammaM2* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))) +  &
            ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**3.)/ &
             (357.91099999999994 +  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**3.)))/Re +  &
       ((Pi*Cos(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))* &
          ((1.*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))))/ &
             (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))**2 -  &
            (0.5*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2)))/ &
             (Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))* &
               (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))) -  &
            (1.*(-1. + gamma)*gammaM2*(1. + tRatio)* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))))/ &
             (tRatio + (-1. + gamma)*gammaM2* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))) -  &
            (3.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**5.* &
               ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                      1.5707963267948966*Sin(Pi*(x + y + z)))* &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/ &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))) +  &
                 (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                      1.5707963267948966*Sin(Pi*(x + y + z)))* &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    ((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))**1.5) +  &
                 (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                      1.5707963267948966*Sin(Pi*(x + y + z)))* &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))**2* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))) +  &
                 (0.1*exp(y)*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))) -  &
                 ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2))))))/ &
             (357.91099999999994 +  &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**3.)**2 +  &
            (0.1*exp(y)*Cos(Pi*(x + y + z))* &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**3.)/ &
             (357.91099999999994 +  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**3.) -  &
            ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))* &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**3.)/ &
             (357.91099999999994 +  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**3.) +  &
            (3.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**2.* &
               ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                      1.5707963267948966*Sin(Pi*(x + y + z)))* &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/ &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))) +  &
                 (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                      1.5707963267948966*Sin(Pi*(x + y + z)))* &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    ((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))**1.5) +  &
                 (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                      1.5707963267948966*Sin(Pi*(x + y + z)))* &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))**2* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))) +  &
                 (0.1*exp(y)*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))) -  &
                 ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2))))))/ &
             (357.91099999999994 +  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**3.)))/Re +  &
       ((1.5707963267948966*Cos(Pi*(x + y + z)) -  &
            1.5707963267948966*Sin(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))* &
          ((1.*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))))/ &
             (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))**2 -  &
            (0.5*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2)))/ &
             (Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))* &
               (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))) -  &
            (1.*(-1. + gamma)*gammaM2*(1. + tRatio)* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))))/ &
             (tRatio + (-1. + gamma)*gammaM2* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))) -  &
            (3.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**5.* &
               ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                      1.5707963267948966*Sin(Pi*(x + y + z)))* &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/ &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))) +  &
                 (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                      1.5707963267948966*Sin(Pi*(x + y + z)))* &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    ((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))**1.5) +  &
                 (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                      1.5707963267948966*Sin(Pi*(x + y + z)))* &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))**2* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))) +  &
                 (0.1*exp(z)*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))) -  &
                 ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2))))))/ &
             (357.91099999999994 +  &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**3.)**2 +  &
            (0.1*exp(z)*Cos(Pi*(x + y + z))* &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**3.)/ &
             (357.91099999999994 +  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**3.) -  &
            ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))* &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**3.)/ &
             (357.91099999999994 +  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**3.) +  &
            (3.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**2.* &
               ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                      1.5707963267948966*Sin(Pi*(x + y + z)))* &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/ &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))) +  &
                 (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                      1.5707963267948966*Sin(Pi*(x + y + z)))* &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    ((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))**1.5) +  &
                 (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                      1.5707963267948966*Sin(Pi*(x + y + z)))* &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))**2* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))) +  &
                 (0.1*exp(z)*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))) -  &
                 ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2))))))/ &
             (357.91099999999994 +  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**3.)))/Re +  &
       (-2*Pi**2*Cos(Pi*(x + y + z))* &
           (((-1. + gamma)*gammaM2*(1. + tRatio)* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))) +  &
             ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**3.)/ &
              (357.91099999999994 +  &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**3.)) -  &
          0.6666666666666666*(-4.934802200544679*Cos(Pi*(x + y + z)) -  &
             Pi**2*Cos(Pi*(x + y + z)) - 14.804406601634037*Sin(Pi*(x + y + z)))* &
           (((-1. + gamma)*gammaM2*(1. + tRatio)* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))) +  &
             ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**3.)/ &
              (357.91099999999994 +  &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**3.)) -  &
          2*Pi*Sin(Pi*(x + y + z))* &
           ((1.*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))**2 -  &
             (0.5*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2)))/ &
              (Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))* &
                (tRatio + (-1. + gamma)*gammaM2* &
                   (1.5 + 1./(-1. + gamma) -  &
                     0.5*(Cos(Pi*(x + y + z))**2 +  &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                        Sin(Pi*(x + y + z))**2)))) -  &
             (1.*(-1. + gamma)*gammaM2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))) -  &
             (3.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**5.* &
                ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                       1.5707963267948966*Sin(Pi*(x + y + z)))* &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/ &
                   ((1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))) +  &
                  (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                       1.5707963267948966*Sin(Pi*(x + y + z)))* &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     ((-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2)))**1.5) +  &
                  (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                       1.5707963267948966*Sin(Pi*(x + y + z)))* &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2))**2* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))) +  &
                  (0.1*exp(x)*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))) -  &
                  ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))))/ &
              (357.91099999999994 +  &
                 (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                      (tRatio + (-1. + gamma)*gammaM2* &
                         (1.5 + 1./(-1. + gamma) -  &
                           0.5*(Cos(Pi*(x + y + z))**2 +  &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                               2 + Sin(Pi*(x + y + z))**2))))/ &
                    ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2))* &
                      Sqrt((-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2)))))**3.)**2 +  &
             (0.1*exp(x)*Cos(Pi*(x + y + z))* &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**3.)/ &
              (357.91099999999994 +  &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**3.) -  &
             ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))* &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**3.)/ &
              (357.91099999999994 +  &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**3.) +  &
             (3.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**2.* &
                ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                       1.5707963267948966*Sin(Pi*(x + y + z)))* &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/ &
                   ((1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))) +  &
                  (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                       1.5707963267948966*Sin(Pi*(x + y + z)))* &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     ((-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2)))**1.5) +  &
                  (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                       1.5707963267948966*Sin(Pi*(x + y + z)))* &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2))**2* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))) +  &
                  (0.1*exp(x)*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))) -  &
                  ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))))/ &
              (357.91099999999994 +  &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**3.)) -  &
          0.6666666666666666*(4.71238898038469*Cos(Pi*(x + y + z)) -  &
             1.5707963267948966*Sin(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))* &
           ((1.*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))**2 -  &
             (0.5*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2)))/ &
              (Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))* &
                (tRatio + (-1. + gamma)*gammaM2* &
                   (1.5 + 1./(-1. + gamma) -  &
                     0.5*(Cos(Pi*(x + y + z))**2 +  &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                        Sin(Pi*(x + y + z))**2)))) -  &
             (1.*(-1. + gamma)*gammaM2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))) -  &
             (3.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**5.* &
                ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                       1.5707963267948966*Sin(Pi*(x + y + z)))* &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/ &
                   ((1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))) +  &
                  (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                       1.5707963267948966*Sin(Pi*(x + y + z)))* &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     ((-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2)))**1.5) +  &
                  (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                       1.5707963267948966*Sin(Pi*(x + y + z)))* &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2))**2* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))) +  &
                  (0.1*exp(x)*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))) -  &
                  ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))))/ &
              (357.91099999999994 +  &
                 (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                      (tRatio + (-1. + gamma)*gammaM2* &
                         (1.5 + 1./(-1. + gamma) -  &
                           0.5*(Cos(Pi*(x + y + z))**2 +  &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                               2 + Sin(Pi*(x + y + z))**2))))/ &
                    ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2))* &
                      Sqrt((-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2)))))**3.)**2 +  &
             (0.1*exp(x)*Cos(Pi*(x + y + z))* &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**3.)/ &
              (357.91099999999994 +  &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**3.) -  &
             ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))* &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**3.)/ &
              (357.91099999999994 +  &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**3.) +  &
             (3.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**2.* &
                ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                       1.5707963267948966*Sin(Pi*(x + y + z)))* &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/ &
                   ((1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))) +  &
                  (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                       1.5707963267948966*Sin(Pi*(x + y + z)))* &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     ((-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2)))**1.5) +  &
                  (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                       1.5707963267948966*Sin(Pi*(x + y + z)))* &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2))**2* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))) +  &
                  (0.1*exp(x)*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))) -  &
                  ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))))/ &
              (357.91099999999994 +  &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**3.)))/Re 






                

                S(3) =                -((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Cos(Pi*(x + y + z))**2) -  &
       (1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Cos(Pi*(x + y + z))* &
        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))) +  &
       1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*(-1. + gamma)* &
        (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
          1.5707963267948966*Sin(Pi*(x + y + z)))* &
        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))) -  &
       0.1*exp(x)*Cos(Pi*(x + y + z))*Sin(Pi*(x + y + z)) -  &
       2*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Cos(Pi*(x + y + z))* &
        Sin(Pi*(x + y + z)) - (1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))* &
        (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
          1.5707963267948966*Sin(Pi*(x + y + z)))*Sin(Pi*(x + y + z)) -  &
       0.1*exp(z)*(0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
        Sin(Pi*(x + y + z)) - 0.1*exp(y)*Sin(Pi*(x + y + z))**2 +  &
       (1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))**2 -  &
       0.1*exp(y)*(-1. + gamma)*(1.5 + 1./(-1. + gamma) -  &
          0.5*(Cos(Pi*(x + y + z))**2 +  &
             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
             Sin(Pi*(x + y + z))**2)) +  &
       ((-4.934802200544679*Cos(Pi*(x + y + z)) -  &
            14.804406601634037*Sin(Pi*(x + y + z)))* &
          (((-1. + gamma)*gammaM2*(1. + tRatio)* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))))/ &
             (tRatio + (-1. + gamma)*gammaM2* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))) +  &
            ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**3.)/ &
             (357.91099999999994 +  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**3.)))/Re +  &
       ((-(Pi**2*Cos(Pi*(x + y + z))) - Pi**2*Sin(Pi*(x + y + z)))* &
          (((-1. + gamma)*gammaM2*(1. + tRatio)* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))))/ &
             (tRatio + (-1. + gamma)*gammaM2* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))) +  &
            ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**3.)/ &
             (357.91099999999994 +  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**3.)))/Re +  &
       ((Pi*Cos(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))* &
          ((1.*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))))/ &
             (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))**2 -  &
            (0.5*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2)))/ &
             (Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))* &
               (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))) -  &
            (1.*(-1. + gamma)*gammaM2*(1. + tRatio)* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))))/ &
             (tRatio + (-1. + gamma)*gammaM2* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))) -  &
            (3.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**5.* &
               ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                      1.5707963267948966*Sin(Pi*(x + y + z)))* &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/ &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))) +  &
                 (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                      1.5707963267948966*Sin(Pi*(x + y + z)))* &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    ((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))**1.5) +  &
                 (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                      1.5707963267948966*Sin(Pi*(x + y + z)))* &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))**2* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))) +  &
                 (0.1*exp(x)*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))) -  &
                 ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2))))))/ &
             (357.91099999999994 +  &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**3.)**2 +  &
            (0.1*exp(x)*Cos(Pi*(x + y + z))* &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**3.)/ &
             (357.91099999999994 +  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**3.) -  &
            ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))* &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**3.)/ &
             (357.91099999999994 +  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**3.) +  &
            (3.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**2.* &
               ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                      1.5707963267948966*Sin(Pi*(x + y + z)))* &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/ &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))) +  &
                 (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                      1.5707963267948966*Sin(Pi*(x + y + z)))* &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    ((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))**1.5) +  &
                 (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                      1.5707963267948966*Sin(Pi*(x + y + z)))* &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))**2* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))) +  &
                 (0.1*exp(x)*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))) -  &
                 ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2))))))/ &
             (357.91099999999994 +  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**3.)))/Re +  &
       ((4.71238898038469*Cos(Pi*(x + y + z)) -  &
            1.5707963267948966*Sin(Pi*(x + y + z)))* &
          ((1.*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))))/ &
             (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))**2 -  &
            (0.5*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2)))/ &
             (Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))* &
               (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))) -  &
            (1.*(-1. + gamma)*gammaM2*(1. + tRatio)* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))))/ &
             (tRatio + (-1. + gamma)*gammaM2* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))) -  &
            (3.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**5.* &
               ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                      1.5707963267948966*Sin(Pi*(x + y + z)))* &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/ &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))) +  &
                 (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                      1.5707963267948966*Sin(Pi*(x + y + z)))* &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    ((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))**1.5) +  &
                 (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                      1.5707963267948966*Sin(Pi*(x + y + z)))* &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))**2* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))) +  &
                 (0.1*exp(z)*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))) -  &
                 ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2))))))/ &
             (357.91099999999994 +  &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**3.)**2 +  &
            (0.1*exp(z)*Cos(Pi*(x + y + z))* &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**3.)/ &
             (357.91099999999994 +  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**3.) -  &
            ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))* &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**3.)/ &
             (357.91099999999994 +  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**3.) +  &
            (3.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**2.* &
               ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                      1.5707963267948966*Sin(Pi*(x + y + z)))* &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/ &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))) +  &
                 (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                      1.5707963267948966*Sin(Pi*(x + y + z)))* &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    ((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))**1.5) +  &
                 (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                      1.5707963267948966*Sin(Pi*(x + y + z)))* &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))**2* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))) +  &
                 (0.1*exp(z)*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))) -  &
                 ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2))))))/ &
             (357.91099999999994 +  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**3.)))/Re +  &
       (-0.6666666666666666*(-4.934802200544679*Cos(Pi*(x + y + z)) -  &
             Pi**2*Cos(Pi*(x + y + z)) - 14.804406601634037*Sin(Pi*(x + y + z)))* &
           (((-1. + gamma)*gammaM2*(1. + tRatio)* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))) +  &
             ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**3.)/ &
              (357.91099999999994 +  &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**3.)) -  &
          2*Pi**2*Sin(Pi*(x + y + z))* &
           (((-1. + gamma)*gammaM2*(1. + tRatio)* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))) +  &
             ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**3.)/ &
              (357.91099999999994 +  &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**3.)) +  &
          2*Pi*Cos(Pi*(x + y + z))* &
           ((1.*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))**2 -  &
             (0.5*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2)))/ &
              (Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))* &
                (tRatio + (-1. + gamma)*gammaM2* &
                   (1.5 + 1./(-1. + gamma) -  &
                     0.5*(Cos(Pi*(x + y + z))**2 +  &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                        Sin(Pi*(x + y + z))**2)))) -  &
             (1.*(-1. + gamma)*gammaM2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))) -  &
             (3.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**5.* &
                ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                       1.5707963267948966*Sin(Pi*(x + y + z)))* &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/ &
                   ((1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))) +  &
                  (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                       1.5707963267948966*Sin(Pi*(x + y + z)))* &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     ((-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2)))**1.5) +  &
                  (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                       1.5707963267948966*Sin(Pi*(x + y + z)))* &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2))**2* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))) +  &
                  (0.1*exp(y)*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))) -  &
                  ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))))/ &
              (357.91099999999994 +  &
                 (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                      (tRatio + (-1. + gamma)*gammaM2* &
                         (1.5 + 1./(-1. + gamma) -  &
                           0.5*(Cos(Pi*(x + y + z))**2 +  &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                               2 + Sin(Pi*(x + y + z))**2))))/ &
                    ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2))* &
                      Sqrt((-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2)))))**3.)**2 +  &
             (0.1*exp(y)*Cos(Pi*(x + y + z))* &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**3.)/ &
              (357.91099999999994 +  &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**3.) -  &
             ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))* &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**3.)/ &
              (357.91099999999994 +  &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**3.) +  &
             (3.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**2.* &
                ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                       1.5707963267948966*Sin(Pi*(x + y + z)))* &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/ &
                   ((1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))) +  &
                  (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                       1.5707963267948966*Sin(Pi*(x + y + z)))* &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     ((-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2)))**1.5) +  &
                  (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                       1.5707963267948966*Sin(Pi*(x + y + z)))* &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2))**2* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))) +  &
                  (0.1*exp(y)*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))) -  &
                  ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))))/ &
              (357.91099999999994 +  &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**3.)) -  &
          0.6666666666666666*(4.71238898038469*Cos(Pi*(x + y + z)) -  &
             1.5707963267948966*Sin(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))* &
           ((1.*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))**2 -  &
             (0.5*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2)))/ &
              (Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))* &
                (tRatio + (-1. + gamma)*gammaM2* &
                   (1.5 + 1./(-1. + gamma) -  &
                     0.5*(Cos(Pi*(x + y + z))**2 +  &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                        Sin(Pi*(x + y + z))**2)))) -  &
             (1.*(-1. + gamma)*gammaM2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))) -  &
             (3.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**5.* &
                ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                       1.5707963267948966*Sin(Pi*(x + y + z)))* &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/ &
                   ((1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))) +  &
                  (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                       1.5707963267948966*Sin(Pi*(x + y + z)))* &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     ((-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2)))**1.5) +  &
                  (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                       1.5707963267948966*Sin(Pi*(x + y + z)))* &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2))**2* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))) +  &
                  (0.1*exp(y)*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))) -  &
                  ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))))/ &
              (357.91099999999994 +  &
                 (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                      (tRatio + (-1. + gamma)*gammaM2* &
                         (1.5 + 1./(-1. + gamma) -  &
                           0.5*(Cos(Pi*(x + y + z))**2 +  &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                               2 + Sin(Pi*(x + y + z))**2))))/ &
                    ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2))* &
                      Sqrt((-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2)))))**3.)**2 +  &
             (0.1*exp(y)*Cos(Pi*(x + y + z))* &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**3.)/ &
              (357.91099999999994 +  &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**3.) -  &
             ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))* &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**3.)/ &
              (357.91099999999994 +  &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**3.) +  &
             (3.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**2.* &
                ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                       1.5707963267948966*Sin(Pi*(x + y + z)))* &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/ &
                   ((1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))) +  &
                  (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                       1.5707963267948966*Sin(Pi*(x + y + z)))* &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     ((-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2)))**1.5) +  &
                  (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                       1.5707963267948966*Sin(Pi*(x + y + z)))* &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2))**2* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))) +  &
                  (0.1*exp(y)*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))) -  &
                  ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))))/ &
              (357.91099999999994 +  &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**3.)))/Re 






                
                S(4) =           -((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
          (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
            1.5707963267948966*Sin(Pi*(x + y + z)))) -  &
       0.1*exp(x)*Cos(Pi*(x + y + z))* &
        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))) -  &
       (1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Cos(Pi*(x + y + z))* &
        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))) -  &
       2*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))* &
        (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
          1.5707963267948966*Sin(Pi*(x + y + z)))* &
        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))) +  &
       1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*(-1. + gamma)* &
        (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
          1.5707963267948966*Sin(Pi*(x + y + z)))* &
        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))) -  &
       0.1*exp(z)*(0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 -  &
       (1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))* &
        (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
          1.5707963267948966*Sin(Pi*(x + y + z)))*Sin(Pi*(x + y + z)) -  &
       0.1*exp(y)*(0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
        Sin(Pi*(x + y + z)) + (1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi* &
        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*Sin(Pi*(x + y + z)) -  &
       0.1*exp(z)*(-1. + gamma)*(1.5 + 1./(-1. + gamma) -  &
          0.5*(Cos(Pi*(x + y + z))**2 +  &
             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
             Sin(Pi*(x + y + z))**2)) +  &
       ((-4.934802200544679*Cos(Pi*(x + y + z)) -  &
            14.804406601634037*Sin(Pi*(x + y + z)))* &
          (((-1. + gamma)*gammaM2*(1. + tRatio)* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))))/ &
             (tRatio + (-1. + gamma)*gammaM2* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))) +  &
            ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**3.)/ &
             (357.91099999999994 +  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**3.)))/Re +  &
       ((-4.934802200544679*Cos(Pi*(x + y + z)) - Pi**2*Cos(Pi*(x + y + z)) -  &
            4.934802200544679*Sin(Pi*(x + y + z)))* &
          (((-1. + gamma)*gammaM2*(1. + tRatio)* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))))/ &
             (tRatio + (-1. + gamma)*gammaM2* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))) +  &
            ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**3.)/ &
             (357.91099999999994 +  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**3.)))/Re +  &
       ((1.5707963267948966*Cos(Pi*(x + y + z)) -  &
            1.5707963267948966*Sin(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))* &
          ((1.*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))))/ &
             (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))**2 -  &
            (0.5*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2)))/ &
             (Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))* &
               (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))) -  &
            (1.*(-1. + gamma)*gammaM2*(1. + tRatio)* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))))/ &
             (tRatio + (-1. + gamma)*gammaM2* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))) -  &
            (3.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**5.* &
               ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                      1.5707963267948966*Sin(Pi*(x + y + z)))* &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/ &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))) +  &
                 (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                      1.5707963267948966*Sin(Pi*(x + y + z)))* &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    ((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))**1.5) +  &
                 (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                      1.5707963267948966*Sin(Pi*(x + y + z)))* &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))**2* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))) +  &
                 (0.1*exp(x)*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))) -  &
                 ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2))))))/ &
             (357.91099999999994 +  &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**3.)**2 +  &
            (0.1*exp(x)*Cos(Pi*(x + y + z))* &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**3.)/ &
             (357.91099999999994 +  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**3.) -  &
            ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))* &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**3.)/ &
             (357.91099999999994 +  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**3.) +  &
            (3.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**2.* &
               ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                      1.5707963267948966*Sin(Pi*(x + y + z)))* &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/ &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))) +  &
                 (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                      1.5707963267948966*Sin(Pi*(x + y + z)))* &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    ((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))**1.5) +  &
                 (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                      1.5707963267948966*Sin(Pi*(x + y + z)))* &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))**2* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))) +  &
                 (0.1*exp(x)*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))) -  &
                 ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2))))))/ &
             (357.91099999999994 +  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**3.)))/Re +  &
       ((4.71238898038469*Cos(Pi*(x + y + z)) -  &
            1.5707963267948966*Sin(Pi*(x + y + z)))* &
          ((1.*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))))/ &
             (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))**2 -  &
            (0.5*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2)))/ &
             (Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))* &
               (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))) -  &
            (1.*(-1. + gamma)*gammaM2*(1. + tRatio)* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))))/ &
             (tRatio + (-1. + gamma)*gammaM2* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))) -  &
            (3.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**5.* &
               ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                      1.5707963267948966*Sin(Pi*(x + y + z)))* &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/ &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))) +  &
                 (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                      1.5707963267948966*Sin(Pi*(x + y + z)))* &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    ((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))**1.5) +  &
                 (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                      1.5707963267948966*Sin(Pi*(x + y + z)))* &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))**2* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))) +  &
                 (0.1*exp(y)*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))) -  &
                 ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2))))))/ &
             (357.91099999999994 +  &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**3.)**2 +  &
            (0.1*exp(y)*Cos(Pi*(x + y + z))* &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**3.)/ &
             (357.91099999999994 +  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**3.) -  &
            ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))* &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**3.)/ &
             (357.91099999999994 +  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**3.) +  &
            (3.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**2.* &
               ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                      1.5707963267948966*Sin(Pi*(x + y + z)))* &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/ &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))) +  &
                 (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                      1.5707963267948966*Sin(Pi*(x + y + z)))* &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    ((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))**1.5) +  &
                 (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                      1.5707963267948966*Sin(Pi*(x + y + z)))* &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))**2* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))) +  &
                 (0.1*exp(y)*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))) -  &
                 ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2))))))/ &
             (357.91099999999994 +  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**3.)))/Re +  &
       (-0.6666666666666666*(-4.934802200544679*Cos(Pi*(x + y + z)) -  &
             Pi**2*Cos(Pi*(x + y + z)) - 14.804406601634037*Sin(Pi*(x + y + z)))* &
           (((-1. + gamma)*gammaM2*(1. + tRatio)* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))) +  &
             ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**3.)/ &
              (357.91099999999994 +  &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**3.)) +  &
          2*(-4.934802200544679*Cos(Pi*(x + y + z)) -  &
             4.934802200544679*Sin(Pi*(x + y + z)))* &
           (((-1. + gamma)*gammaM2*(1. + tRatio)* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))) +  &
             ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**3.)/ &
              (357.91099999999994 +  &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**3.)) +  &
          2*(1.5707963267948966*Cos(Pi*(x + y + z)) -  &
             1.5707963267948966*Sin(Pi*(x + y + z)))* &
           ((1.*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))**2 -  &
             (0.5*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2)))/ &
              (Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))* &
                (tRatio + (-1. + gamma)*gammaM2* &
                   (1.5 + 1./(-1. + gamma) -  &
                     0.5*(Cos(Pi*(x + y + z))**2 +  &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                        Sin(Pi*(x + y + z))**2)))) -  &
             (1.*(-1. + gamma)*gammaM2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))) -  &
             (3.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**5.* &
                ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                       1.5707963267948966*Sin(Pi*(x + y + z)))* &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/ &
                   ((1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))) +  &
                  (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                       1.5707963267948966*Sin(Pi*(x + y + z)))* &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     ((-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2)))**1.5) +  &
                  (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                       1.5707963267948966*Sin(Pi*(x + y + z)))* &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2))**2* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))) +  &
                  (0.1*exp(z)*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))) -  &
                  ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))))/ &
              (357.91099999999994 +  &
                 (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                      (tRatio + (-1. + gamma)*gammaM2* &
                         (1.5 + 1./(-1. + gamma) -  &
                           0.5*(Cos(Pi*(x + y + z))**2 +  &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                               2 + Sin(Pi*(x + y + z))**2))))/ &
                    ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2))* &
                      Sqrt((-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2)))))**3.)**2 +  &
             (0.1*exp(z)*Cos(Pi*(x + y + z))* &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**3.)/ &
              (357.91099999999994 +  &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**3.) -  &
             ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))* &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**3.)/ &
              (357.91099999999994 +  &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**3.) +  &
             (3.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**2.* &
                ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                       1.5707963267948966*Sin(Pi*(x + y + z)))* &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/ &
                   ((1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))) +  &
                  (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                       1.5707963267948966*Sin(Pi*(x + y + z)))* &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     ((-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2)))**1.5) +  &
                  (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                       1.5707963267948966*Sin(Pi*(x + y + z)))* &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2))**2* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))) +  &
                  (0.1*exp(z)*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))) -  &
                  ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))))/ &
              (357.91099999999994 +  &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**3.)) -  &
          0.6666666666666666*(4.71238898038469*Cos(Pi*(x + y + z)) -  &
             1.5707963267948966*Sin(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))* &
           ((1.*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))**2 -  &
             (0.5*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2)))/ &
              (Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))* &
                (tRatio + (-1. + gamma)*gammaM2* &
                   (1.5 + 1./(-1. + gamma) -  &
                     0.5*(Cos(Pi*(x + y + z))**2 +  &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                        Sin(Pi*(x + y + z))**2)))) -  &
             (1.*(-1. + gamma)*gammaM2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))) -  &
             (3.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**5.* &
                ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                       1.5707963267948966*Sin(Pi*(x + y + z)))* &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/ &
                   ((1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))) +  &
                  (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                       1.5707963267948966*Sin(Pi*(x + y + z)))* &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     ((-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2)))**1.5) +  &
                  (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                       1.5707963267948966*Sin(Pi*(x + y + z)))* &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2))**2* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))) +  &
                  (0.1*exp(z)*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))) -  &
                  ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))))/ &
              (357.91099999999994 +  &
                 (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                      (tRatio + (-1. + gamma)*gammaM2* &
                         (1.5 + 1./(-1. + gamma) -  &
                           0.5*(Cos(Pi*(x + y + z))**2 +  &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                               2 + Sin(Pi*(x + y + z))**2))))/ &
                    ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2))* &
                      Sqrt((-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2)))))**3.)**2 +  &
             (0.1*exp(z)*Cos(Pi*(x + y + z))* &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**3.)/ &
              (357.91099999999994 +  &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**3.) -  &
             ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))* &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**3.)/ &
              (357.91099999999994 +  &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**3.) +  &
             (3.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**2.* &
                ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                       1.5707963267948966*Sin(Pi*(x + y + z)))* &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/ &
                   ((1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))) +  &
                  (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                       1.5707963267948966*Sin(Pi*(x + y + z)))* &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     ((-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2)))**1.5) +  &
                  (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                       1.5707963267948966*Sin(Pi*(x + y + z)))* &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2))**2* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))) +  &
                  (0.1*exp(z)*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))) -  &
                  ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))))/ &
              (357.91099999999994 +  &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                     (tRatio + (-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2))))/ &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))* &
                     Sqrt((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))))**3.)))/Re 







            
            S(5) =         -(Cos(Pi*(x + y + z))*(0.1*exp(x)*(1.5 + 1./(-1. + gamma)) -   &
            1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*(-1. + gamma)*  &
             (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
               1.5707963267948966*Sin(Pi*(x + y + z)))*  &
             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))) +   &
            0.1*exp(x)*(-1. + gamma)*  &
             (1.5 + 1./(-1. + gamma) -   &
               0.5*(Cos(Pi*(x + y + z))**2 +   &
                  (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                  Sin(Pi*(x + y + z))**2)))) -   &
       Sin(Pi*(x + y + z))*(0.1*exp(y)*(1.5 + 1./(-1. + gamma)) -   &
          1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*(-1. + gamma)*  &
           (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
             1.5707963267948966*Sin(Pi*(x + y + z)))*  &
           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))) +   &
          0.1*exp(y)*(-1. + gamma)*(1.5 + 1./(-1. + gamma) -   &
             0.5*(Cos(Pi*(x + y + z))**2 +   &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                Sin(Pi*(x + y + z))**2))) -   &
       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
        (0.1*exp(z)*(1.5 + 1./(-1. + gamma)) -   &
          1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*(-1. + gamma)*  &
           (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
             1.5707963267948966*Sin(Pi*(x + y + z)))*  &
           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))) +   &
          0.1*exp(z)*(-1. + gamma)*(1.5 + 1./(-1. + gamma) -   &
             0.5*(Cos(Pi*(x + y + z))**2 +   &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                Sin(Pi*(x + y + z))**2))) -   &
       Pi*Cos(Pi*(x + y + z))*((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
           (1.5 + 1./(-1. + gamma)) +   &
          (1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*(-1. + gamma)*  &
           (1.5 + 1./(-1. + gamma) -   &
             0.5*(Cos(Pi*(x + y + z))**2 +   &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                Sin(Pi*(x + y + z))**2))) -   &
       (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
          1.5707963267948966*Sin(Pi*(x + y + z)))*  &
        ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*(1.5 + 1./(-1. + gamma)) +   &
          (1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*(-1. + gamma)*  &
           (1.5 + 1./(-1. + gamma) -   &
             0.5*(Cos(Pi*(x + y + z))**2 +   &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                Sin(Pi*(x + y + z))**2))) +   &
       Pi*Sin(Pi*(x + y + z))*((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
           (1.5 + 1./(-1. + gamma)) +   &
          (1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*(-1. + gamma)*  &
           (1.5 + 1./(-1. + gamma) -   &
             0.5*(Cos(Pi*(x + y + z))**2 +   &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                Sin(Pi*(x + y + z))**2)))  


            S(5) = S(5) +          ((-4.934802200544679*Cos(Pi*(x + y + z)) - Pi**2*Cos(Pi*(x + y + z)) -   &
            4.934802200544679*Sin(Pi*(x + y + z)))*  &
          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
          (((-1. + gamma)*gammaM2*(1. + tRatio)*  &
               (1.5 + 1./(-1. + gamma) -   &
                 0.5*(Cos(Pi*(x + y + z))**2 +   &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                    Sin(Pi*(x + y + z))**2))*  &
               Sqrt((-1. + gamma)*gammaM2*  &
                 (1.5 + 1./(-1. + gamma) -   &
                   0.5*(Cos(Pi*(x + y + z))**2 +   &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                      Sin(Pi*(x + y + z))**2))))/  &
             (tRatio + (-1. + gamma)*gammaM2*  &
                (1.5 + 1./(-1. + gamma) -   &
                  0.5*(Cos(Pi*(x + y + z))**2 +   &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                     Sin(Pi*(x + y + z))**2))) +   &
            ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.)/  &
             (357.91099999999994 +   &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.)) +   &
         Pi*Cos(Pi*(x + y + z))*(Pi*Cos(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))*  &
          (((-1. + gamma)*gammaM2*(1. + tRatio)*  &
               (1.5 + 1./(-1. + gamma) -   &
                 0.5*(Cos(Pi*(x + y + z))**2 +   &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                    Sin(Pi*(x + y + z))**2))*  &
               Sqrt((-1. + gamma)*gammaM2*  &
                 (1.5 + 1./(-1. + gamma) -   &
                   0.5*(Cos(Pi*(x + y + z))**2 +   &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                      Sin(Pi*(x + y + z))**2))))/  &
             (tRatio + (-1. + gamma)*gammaM2*  &
                (1.5 + 1./(-1. + gamma) -   &
                  0.5*(Cos(Pi*(x + y + z))**2 +   &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                     Sin(Pi*(x + y + z))**2))) +   &
            ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.)/  &
             (357.91099999999994 +   &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.)) +   &
         (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
            1.5707963267948966*Sin(Pi*(x + y + z)))*  &
          (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
            1.5707963267948966*Sin(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))*  &
          (((-1. + gamma)*gammaM2*(1. + tRatio)*  &
               (1.5 + 1./(-1. + gamma) -   &
                 0.5*(Cos(Pi*(x + y + z))**2 +   &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                    Sin(Pi*(x + y + z))**2))*  &
               Sqrt((-1. + gamma)*gammaM2*  &
                 (1.5 + 1./(-1. + gamma) -   &
                   0.5*(Cos(Pi*(x + y + z))**2 +   &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                      Sin(Pi*(x + y + z))**2))))/  &
             (tRatio + (-1. + gamma)*gammaM2*  &
                (1.5 + 1./(-1. + gamma) -   &
                  0.5*(Cos(Pi*(x + y + z))**2 +   &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                     Sin(Pi*(x + y + z))**2))) +   &
            ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.)/  &
             (357.91099999999994 +   &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.)) +   &
         Sin(Pi*(x + y + z))*(-(Pi**2*Cos(Pi*(x + y + z))) -   &
            Pi**2*Sin(Pi*(x + y + z)))*  &
          (((-1. + gamma)*gammaM2*(1. + tRatio)*  &
               (1.5 + 1./(-1. + gamma) -   &
                 0.5*(Cos(Pi*(x + y + z))**2 +   &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                    Sin(Pi*(x + y + z))**2))*  &
               Sqrt((-1. + gamma)*gammaM2*  &
                 (1.5 + 1./(-1. + gamma) -   &
                   0.5*(Cos(Pi*(x + y + z))**2 +   &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                      Sin(Pi*(x + y + z))**2))))/  &
             (tRatio + (-1. + gamma)*gammaM2*  &
                (1.5 + 1./(-1. + gamma) -   &
                  0.5*(Cos(Pi*(x + y + z))**2 +   &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                     Sin(Pi*(x + y + z))**2))) +   &
            ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.)/  &
             (357.91099999999994 +   &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.)) +   &
         Sin(Pi*(x + y + z))*(Pi*Cos(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))*  &
          ((1.*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)*  &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                 1.5707963267948966*Sin(Pi*(x + y + z)))*  &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
               (1.5 + 1./(-1. + gamma) -   &
                 0.5*(Cos(Pi*(x + y + z))**2 +   &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                    Sin(Pi*(x + y + z))**2))*  &
               Sqrt((-1. + gamma)*gammaM2*  &
                 (1.5 + 1./(-1. + gamma) -   &
                   0.5*(Cos(Pi*(x + y + z))**2 +   &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                      Sin(Pi*(x + y + z))**2))))/  &
             (tRatio + (-1. + gamma)*gammaM2*  &
                 (1.5 + 1./(-1. + gamma) -   &
                   0.5*(Cos(Pi*(x + y + z))**2 +   &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                      Sin(Pi*(x + y + z))**2)))**2 -   &
            (0.5*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)*  &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                 1.5707963267948966*Sin(Pi*(x + y + z)))*  &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
               (1.5 + 1./(-1. + gamma) -   &
                 0.5*(Cos(Pi*(x + y + z))**2 +   &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                    Sin(Pi*(x + y + z))**2)))/  &
             (Sqrt((-1. + gamma)*gammaM2*  &
                 (1.5 + 1./(-1. + gamma) -   &
                   0.5*(Cos(Pi*(x + y + z))**2 +   &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                      Sin(Pi*(x + y + z))**2)))*  &
               (tRatio + (-1. + gamma)*gammaM2*  &
                  (1.5 + 1./(-1. + gamma) -   &
                    0.5*(Cos(Pi*(x + y + z))**2 +   &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                       Sin(Pi*(x + y + z))**2)))) -   &
            (1.*(-1. + gamma)*gammaM2*(1. + tRatio)*  &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                 1.5707963267948966*Sin(Pi*(x + y + z)))*  &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
               Sqrt((-1. + gamma)*gammaM2*  &
                 (1.5 + 1./(-1. + gamma) -   &
                   0.5*(Cos(Pi*(x + y + z))**2 +   &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                      Sin(Pi*(x + y + z))**2))))/  &
             (tRatio + (-1. + gamma)*gammaM2*  &
                (1.5 + 1./(-1. + gamma) -   &
                  0.5*(Cos(Pi*(x + y + z))**2 +   &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                     Sin(Pi*(x + y + z))**2))) -   &
            (3.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**5.*  &
               ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                      1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/  &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))) +   &
                 (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                      1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    ((-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2)))**1.5) +   &
                 (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                      1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                       0.5*(Cos(Pi*(x + y + z))**2 +   &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                          Sin(Pi*(x + y + z))**2))**2*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))) +   &
                 (0.1*exp(x)*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))) -   &
                 ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2))))))/  &
             (357.91099999999994 +   &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                     (tRatio + (-1. + gamma)*gammaM2*  &
                        (1.5 + 1./(-1. + gamma) -   &
                          0.5*(Cos(Pi*(x + y + z))**2 +   &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                              2 + Sin(Pi*(x + y + z))**2))))/  &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                     (1.5 + 1./(-1. + gamma) -   &
                       0.5*(Cos(Pi*(x + y + z))**2 +   &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                          Sin(Pi*(x + y + z))**2))*  &
                     Sqrt((-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2)))))**3.)**2 +   &
            (0.1*exp(x)*Cos(Pi*(x + y + z))*  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.)/  &
             (357.91099999999994 +   &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.) -   &
            ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))*  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.)/  &
             (357.91099999999994 +   &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.) +   &
            (3.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**2.*  &
               ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                      1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/  &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))) +   &
                 (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                      1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    ((-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2)))**1.5) +   &
                 (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                      1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                       0.5*(Cos(Pi*(x + y + z))**2 +   &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                          Sin(Pi*(x + y + z))**2))**2*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))) +   &
                 (0.1*exp(x)*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))) -   &
                 ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2))))))/  &
             (357.91099999999994 +   &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.)) +   &
         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
          (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
            1.5707963267948966*Sin(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))*  &
          ((1.*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)*  &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                 1.5707963267948966*Sin(Pi*(x + y + z)))*  &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
               (1.5 + 1./(-1. + gamma) -   &
                 0.5*(Cos(Pi*(x + y + z))**2 +   &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                    Sin(Pi*(x + y + z))**2))*  &
               Sqrt((-1. + gamma)*gammaM2*  &
                 (1.5 + 1./(-1. + gamma) -   &
                   0.5*(Cos(Pi*(x + y + z))**2 +   &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                      Sin(Pi*(x + y + z))**2))))/  &
             (tRatio + (-1. + gamma)*gammaM2*  &
                 (1.5 + 1./(-1. + gamma) -   &
                   0.5*(Cos(Pi*(x + y + z))**2 +   &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                      Sin(Pi*(x + y + z))**2)))**2 -   &
            (0.5*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)*  &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                 1.5707963267948966*Sin(Pi*(x + y + z)))*  &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
               (1.5 + 1./(-1. + gamma) -   &
                 0.5*(Cos(Pi*(x + y + z))**2 +   &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                    Sin(Pi*(x + y + z))**2)))/  &
             (Sqrt((-1. + gamma)*gammaM2*  &
                 (1.5 + 1./(-1. + gamma) -   &
                   0.5*(Cos(Pi*(x + y + z))**2 +   &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                      Sin(Pi*(x + y + z))**2)))*  &
               (tRatio + (-1. + gamma)*gammaM2*  &
                  (1.5 + 1./(-1. + gamma) -   &
                    0.5*(Cos(Pi*(x + y + z))**2 +   &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                       Sin(Pi*(x + y + z))**2)))) -   &
            (1.*(-1. + gamma)*gammaM2*(1. + tRatio)*  &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                 1.5707963267948966*Sin(Pi*(x + y + z)))*  &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
               Sqrt((-1. + gamma)*gammaM2*  &
                 (1.5 + 1./(-1. + gamma) -   &
                   0.5*(Cos(Pi*(x + y + z))**2 +   &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                      Sin(Pi*(x + y + z))**2))))/  &
             (tRatio + (-1. + gamma)*gammaM2*  &
                (1.5 + 1./(-1. + gamma) -   &
                  0.5*(Cos(Pi*(x + y + z))**2 +   &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                     Sin(Pi*(x + y + z))**2))) -   &
            (3.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**5.*  &
               ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                      1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/  &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))) +   &
                 (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                      1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    ((-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2)))**1.5) +   &
                 (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                      1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                       0.5*(Cos(Pi*(x + y + z))**2 +   &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                          Sin(Pi*(x + y + z))**2))**2*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))) +   &
                 (0.1*exp(x)*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))) -   &
                 ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2))))))/  &
             (357.91099999999994 +   &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                     (tRatio + (-1. + gamma)*gammaM2*  &
                        (1.5 + 1./(-1. + gamma) -   &
                          0.5*(Cos(Pi*(x + y + z))**2 +   &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                              2 + Sin(Pi*(x + y + z))**2))))/  &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                     (1.5 + 1./(-1. + gamma) -   &
                       0.5*(Cos(Pi*(x + y + z))**2 +   &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                          Sin(Pi*(x + y + z))**2))*  &
                     Sqrt((-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2)))))**3.)**2 +   &
            (0.1*exp(x)*Cos(Pi*(x + y + z))*  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.)/  &
             (357.91099999999994 +   &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.) -   &
            ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))*  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.)/  &
             (357.91099999999994 +   &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.) +   &
            (3.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**2.*  &
               ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                      1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/  &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))) +   &
                 (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                      1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    ((-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2)))**1.5) +   &
                 (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                      1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                       0.5*(Cos(Pi*(x + y + z))**2 +   &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                          Sin(Pi*(x + y + z))**2))**2*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))) +   &
                 (0.1*exp(x)*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))) -   &
                 ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2))))))/  &
             (357.91099999999994 +   &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.)) -   &
         Pi*Sin(Pi*(x + y + z))*(-2*Pi*Sin(Pi*(x + y + z))*  &
             (((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                  (1.5 + 1./(-1. + gamma) -   &
                    0.5*(Cos(Pi*(x + y + z))**2 +   &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                       Sin(Pi*(x + y + z))**2))*  &
                  Sqrt((-1. + gamma)*gammaM2*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))))/  &
                (tRatio + (-1. + gamma)*gammaM2*  &
                   (1.5 + 1./(-1. + gamma) -   &
                     0.5*(Cos(Pi*(x + y + z))**2 +   &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                        Sin(Pi*(x + y + z))**2))) +   &
               ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.)/  &
                (357.91099999999994 +   &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.)) -   &
            0.6666666666666666*(4.71238898038469*Cos(Pi*(x + y + z)) -   &
               1.5707963267948966*Sin(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))*  &
             (((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                  (1.5 + 1./(-1. + gamma) -   &
                    0.5*(Cos(Pi*(x + y + z))**2 +   &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                       Sin(Pi*(x + y + z))**2))*  &
                  Sqrt((-1. + gamma)*gammaM2*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))))/  &
                (tRatio + (-1. + gamma)*gammaM2*  &
                   (1.5 + 1./(-1. + gamma) -   &
                     0.5*(Cos(Pi*(x + y + z))**2 +   &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                        Sin(Pi*(x + y + z))**2))) +   &
               ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.)/  &
                (357.91099999999994 +   &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.))) +   &
         Cos(Pi*(x + y + z))*(-2*Pi**2*Cos(Pi*(x + y + z))*  &
             (((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                  (1.5 + 1./(-1. + gamma) -   &
                    0.5*(Cos(Pi*(x + y + z))**2 +   &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                       Sin(Pi*(x + y + z))**2))*  &
                  Sqrt((-1. + gamma)*gammaM2*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))))/  &
                (tRatio + (-1. + gamma)*gammaM2*  &
                   (1.5 + 1./(-1. + gamma) -   &
                     0.5*(Cos(Pi*(x + y + z))**2 +   &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                        Sin(Pi*(x + y + z))**2))) +   &
               ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.)/  &
                (357.91099999999994 +   &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.)) -   &
            0.6666666666666666*(-4.934802200544679*Cos(Pi*(x + y + z)) -   &
               Pi**2*Cos(Pi*(x + y + z)) - 14.804406601634037*Sin(Pi*(x + y + z)))*  &
             (((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                  (1.5 + 1./(-1. + gamma) -   &
                    0.5*(Cos(Pi*(x + y + z))**2 +   &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                       Sin(Pi*(x + y + z))**2))*  &
                  Sqrt((-1. + gamma)*gammaM2*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))))/  &
                (tRatio + (-1. + gamma)*gammaM2*  &
                   (1.5 + 1./(-1. + gamma) -   &
                     0.5*(Cos(Pi*(x + y + z))**2 +   &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                        Sin(Pi*(x + y + z))**2))) +   &
               ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.)/  &
                (357.91099999999994 +   &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.)) -   &
            2*Pi*Sin(Pi*(x + y + z))*  &
             ((1.*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)*  &
                  (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                    1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                  (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                  (1.5 + 1./(-1. + gamma) -   &
                    0.5*(Cos(Pi*(x + y + z))**2 +   &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                       Sin(Pi*(x + y + z))**2))*  &
                  Sqrt((-1. + gamma)*gammaM2*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))))/  &
                (tRatio + (-1. + gamma)*gammaM2*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2)))**2 -   &
               (0.5*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)*  &
                  (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                    1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                  (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                  (1.5 + 1./(-1. + gamma) -   &
                    0.5*(Cos(Pi*(x + y + z))**2 +   &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                       Sin(Pi*(x + y + z))**2)))/  &
                (Sqrt((-1. + gamma)*gammaM2*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2)))*  &
                  (tRatio + (-1. + gamma)*gammaM2*  &
                     (1.5 + 1./(-1. + gamma) -   &
                       0.5*(Cos(Pi*(x + y + z))**2 +   &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                          Sin(Pi*(x + y + z))**2)))) -   &
               (1.*(-1. + gamma)*gammaM2*(1. + tRatio)*  &
                  (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                    1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                  (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                  Sqrt((-1. + gamma)*gammaM2*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))))/  &
                (tRatio + (-1. + gamma)*gammaM2*  &
                   (1.5 + 1./(-1. + gamma) -   &
                     0.5*(Cos(Pi*(x + y + z))**2 +   &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                        Sin(Pi*(x + y + z))**2))) -   &
               (3.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**5.*  &
                  ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                         1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/  &
                     ((1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))) +   &
                    (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                         1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       ((-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2)))**1.5) +   &
                    (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                         1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                          0.5*(Cos(Pi*(x + y + z))**2 +   &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                              2 + Sin(Pi*(x + y + z))**2))**2*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))) +   &
                    (0.1*exp(x)*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))) -   &
                    ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2))))))/  &
                (357.91099999999994 +   &
                   (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                        (tRatio +   &
                          (-1. + gamma)*gammaM2*  &
                           (1.5 + 1./(-1. + gamma) -   &
                             0.5*(Cos(Pi*(x + y + z))**2 +   &
                                (0.5*Cos(Pi*(x + y + z)) +   &
                                 0.5*Sin(Pi*(x + y + z)))**2 +   &
                                Sin(Pi*(x + y + z))**2))))/  &
                      ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                        (1.5 + 1./(-1. + gamma) -   &
                          0.5*(Cos(Pi*(x + y + z))**2 +   &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                              2 + Sin(Pi*(x + y + z))**2))*  &
                        Sqrt((-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2)))))**3.)**2 +   &
               (0.1*exp(x)*Cos(Pi*(x + y + z))*  &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.)/  &
                (357.91099999999994 +   &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.) -   &
               ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))*  &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.)/  &
                (357.91099999999994 +   &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.) +   &
               (3.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**2.*  &
                  ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                         1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/  &
                     ((1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))) +   &
                    (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                         1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       ((-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2)))**1.5) +   &
                    (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                         1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                          0.5*(Cos(Pi*(x + y + z))**2 +   &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                              2 + Sin(Pi*(x + y + z))**2))**2*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))) +   &
                    (0.1*exp(x)*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))) -   &
                    ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2))))))/  &
                (357.91099999999994 +   &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.)) -   &
            0.6666666666666666*(4.71238898038469*Cos(Pi*(x + y + z)) -   &
               1.5707963267948966*Sin(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))*  &
             ((1.*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)*  &
                  (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                    1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                  (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                  (1.5 + 1./(-1. + gamma) -   &
                    0.5*(Cos(Pi*(x + y + z))**2 +   &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                       Sin(Pi*(x + y + z))**2))*  &
                  Sqrt((-1. + gamma)*gammaM2*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))))/  &
                (tRatio + (-1. + gamma)*gammaM2*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2)))**2 -   &
               (0.5*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)*  &
                  (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                    1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                  (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                  (1.5 + 1./(-1. + gamma) -   &
                    0.5*(Cos(Pi*(x + y + z))**2 +   &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                       Sin(Pi*(x + y + z))**2)))/  &
                (Sqrt((-1. + gamma)*gammaM2*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2)))*  &
                  (tRatio + (-1. + gamma)*gammaM2*  &
                     (1.5 + 1./(-1. + gamma) -   &
                       0.5*(Cos(Pi*(x + y + z))**2 +   &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                          Sin(Pi*(x + y + z))**2)))) -   &
               (1.*(-1. + gamma)*gammaM2*(1. + tRatio)*  &
                  (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                    1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                  (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                  Sqrt((-1. + gamma)*gammaM2*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))))/  &
                (tRatio + (-1. + gamma)*gammaM2*  &
                   (1.5 + 1./(-1. + gamma) -   &
                     0.5*(Cos(Pi*(x + y + z))**2 +   &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                        Sin(Pi*(x + y + z))**2))) -   &
               (3.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**5.*  &
                  ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                         1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/  &
                     ((1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))) +   &
                    (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                         1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       ((-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2)))**1.5) +   &
                    (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                         1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                          0.5*(Cos(Pi*(x + y + z))**2 +   &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                              2 + Sin(Pi*(x + y + z))**2))**2*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))) +   &
                    (0.1*exp(x)*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))) -   &
                    ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2))))))/  &
                (357.91099999999994 +   &
                   (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                        (tRatio +   &
                          (-1. + gamma)*gammaM2*  &
                           (1.5 + 1./(-1. + gamma) -   &
                             0.5*(Cos(Pi*(x + y + z))**2 +   &
                                (0.5*Cos(Pi*(x + y + z)) +   &
                                 0.5*Sin(Pi*(x + y + z)))**2 +   &
                                Sin(Pi*(x + y + z))**2))))/  &
                      ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                        (1.5 + 1./(-1. + gamma) -   &
                          0.5*(Cos(Pi*(x + y + z))**2 +   &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                              2 + Sin(Pi*(x + y + z))**2))*  &
                        Sqrt((-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2)))))**3.)**2 +   &
               (0.1*exp(x)*Cos(Pi*(x + y + z))*  &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.)/  &
                (357.91099999999994 +   &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.) -   &
               ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))*  &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.)/  &
                (357.91099999999994 +   &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.) +   &
               (3.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**2.*  &
                  ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                         1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/  &
                     ((1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))) +   &
                    (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                         1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       ((-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2)))**1.5) +   &
                    (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                         1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                          0.5*(Cos(Pi*(x + y + z))**2 +   &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                              2 + Sin(Pi*(x + y + z))**2))**2*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))) +   &
                    (0.1*exp(x)*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))) -   &
                    ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2))))))/  &
                (357.91099999999994 +   &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.))))/Re      










                S(5) = S(5) +             (-1.*(-1. + gamma)*gammaM2* &
          (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
             1.5707963267948966*Sin(Pi*(x + y + z)))**2* &
          ((gammaM2*(1. + tRatio)* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))))/ &
             (Mach**2.*Pr*(tRatio +  &
                 (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))) +  &
            ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**3.)/ &
             ((-1. + gamma)*Mach**2.*Prt* &
               (357.91099999999994 +  &
                 (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                      (tRatio + (-1. + gamma)*gammaM2* &
                         (1.5 + 1./(-1. + gamma) -  &
                           0.5*(Cos(Pi*(x + y + z))**2 +  &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                               2 + Sin(Pi*(x + y + z))**2))))/ &
                    ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2))* &
                      Sqrt((-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2)))))**3.))))/Re -  &
       (1.*(-1. + gamma)*gammaM2*(-4.934802200544679*Cos(Pi*(x + y + z)) -  &
            4.934802200544679*Sin(Pi*(x + y + z)))* &
          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
          ((gammaM2*(1. + tRatio)* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))))/ &
             (Mach**2.*Pr*(tRatio +  &
                 (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))) +  &
            ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**3.)/ &
             ((-1. + gamma)*Mach**2.*Prt* &
               (357.91099999999994 +  &
                 (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                      (tRatio + (-1. + gamma)*gammaM2* &
                         (1.5 + 1./(-1. + gamma) -  &
                           0.5*(Cos(Pi*(x + y + z))**2 +  &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                               2 + Sin(Pi*(x + y + z))**2))))/ &
                    ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2))* &
                      Sqrt((-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2)))))**3.))))/Re -  &
       (1.*(-1. + gamma)*gammaM2*(1.5707963267948966*Cos(Pi*(x + y + z)) -  &
            1.5707963267948966*Sin(Pi*(x + y + z)))* &
          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
          ((1.*(-1. + gamma)*gammaM2**2*(1. + tRatio)* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))))/ &
             (Mach**2.*Pr*(tRatio +  &
                  (-1. + gamma)*gammaM2* &
                   (1.5 + 1./(-1. + gamma) -  &
                     0.5*(Cos(Pi*(x + y + z))**2 +  &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                        Sin(Pi*(x + y + z))**2)))**2) -  &
            (0.5*(-1. + gamma)*gammaM2**2*(1. + tRatio)* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2)))/ &
             (Mach**2.*Pr*Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))* &
               (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))) -  &
            (1.*gammaM2*(1. + tRatio)* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))))/ &
             (Mach**2.*Pr*(tRatio +  &
                 (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))) -  &
            (3.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**5.* &
               ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                      1.5707963267948966*Sin(Pi*(x + y + z)))* &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/ &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))) +  &
                 (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                      1.5707963267948966*Sin(Pi*(x + y + z)))* &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    ((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))**1.5) +  &
                 (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                      1.5707963267948966*Sin(Pi*(x + y + z)))* &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))**2* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))) +  &
                 (0.1*exp(x)*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))) -  &
                 ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2))))))/ &
             ((-1. + gamma)*Mach**2.*Prt* &
               (357.91099999999994 +  &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                       (tRatio + (-1. + gamma)*gammaM2* &
                          (1.5 + 1./(-1. + gamma) -  &
                            0.5*(Cos(Pi*(x + y + z))**2 +  &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                                2 + Sin(Pi*(x + y + z))**2))))/ &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))* &
                       Sqrt((-1. + gamma)*gammaM2* &
                         (1.5 + 1./(-1. + gamma) -  &
                           0.5*(Cos(Pi*(x + y + z))**2 +  &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.)**2) +  &
            (0.1*exp(x)*Cos(Pi*(x + y + z))* &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**3.)/ &
             ((-1. + gamma)*Mach**2.*Prt* &
               (357.91099999999994 +  &
                 (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                      (tRatio + (-1. + gamma)*gammaM2* &
                         (1.5 + 1./(-1. + gamma) -  &
                           0.5*(Cos(Pi*(x + y + z))**2 +  &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                               2 + Sin(Pi*(x + y + z))**2))))/ &
                    ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2))* &
                      Sqrt((-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2)))))**3.)) -  &
            ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))* &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**3.)/ &
             ((-1. + gamma)*Mach**2.*Prt* &
               (357.91099999999994 +  &
                 (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                      (tRatio + (-1. + gamma)*gammaM2* &
                         (1.5 + 1./(-1. + gamma) -  &
                           0.5*(Cos(Pi*(x + y + z))**2 +  &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                               2 + Sin(Pi*(x + y + z))**2))))/ &
                    ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2))* &
                      Sqrt((-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2)))))**3.)) +  &
            (3.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))))**2.* &
               ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                      1.5707963267948966*Sin(Pi*(x + y + z)))* &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/ &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))) +  &
                 (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                      1.5707963267948966*Sin(Pi*(x + y + z)))* &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    ((-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2)))**1.5) +  &
                 (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                      1.5707963267948966*Sin(Pi*(x + y + z)))* &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))**2* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))) +  &
                 (0.1*exp(x)*Cos(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))) -  &
                 ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))* &
                    (tRatio + (-1. + gamma)*gammaM2* &
                       (1.5 + 1./(-1. + gamma) -  &
                         0.5*(Cos(Pi*(x + y + z))**2 +  &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                             2 + Sin(Pi*(x + y + z))**2))))/ &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))* &
                    Sqrt((-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2))))))/ &
             ((-1. + gamma)*Mach**2.*Prt* &
               (357.91099999999994 +  &
                 (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                      (tRatio + (-1. + gamma)*gammaM2* &
                         (1.5 + 1./(-1. + gamma) -  &
                           0.5*(Cos(Pi*(x + y + z))**2 +  &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                               2 + Sin(Pi*(x + y + z))**2))))/ &
                    ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2))* &
                      Sqrt((-1. + gamma)*gammaM2* &
                        (1.5 + 1./(-1. + gamma) -  &
                          0.5*(Cos(Pi*(x + y + z))**2 +  &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))** &
                              2 + Sin(Pi*(x + y + z))**2)))))**3.))))/Re  


               
                S(5) = S(5) +          ((1.5707963267948966*Cos(Pi*(x + y + z)) -   &
            1.5707963267948966*Sin(Pi*(x + y + z)))*  &
          (4.71238898038469*Cos(Pi*(x + y + z)) -   &
            1.5707963267948966*Sin(Pi*(x + y + z)))*  &
          (((-1. + gamma)*gammaM2*(1. + tRatio)*  &
               (1.5 + 1./(-1. + gamma) -   &
                 0.5*(Cos(Pi*(x + y + z))**2 +   &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                    Sin(Pi*(x + y + z))**2))*  &
               Sqrt((-1. + gamma)*gammaM2*  &
                 (1.5 + 1./(-1. + gamma) -   &
                   0.5*(Cos(Pi*(x + y + z))**2 +   &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                      Sin(Pi*(x + y + z))**2))))/  &
             (tRatio + (-1. + gamma)*gammaM2*  &
                (1.5 + 1./(-1. + gamma) -   &
                  0.5*(Cos(Pi*(x + y + z))**2 +   &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                     Sin(Pi*(x + y + z))**2))) +   &
            ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.)/  &
             (357.91099999999994 +   &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.)) +   &
         (-4.934802200544679*Cos(Pi*(x + y + z)) -   &
            14.804406601634037*Sin(Pi*(x + y + z)))*  &
          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
          (((-1. + gamma)*gammaM2*(1. + tRatio)*  &
               (1.5 + 1./(-1. + gamma) -   &
                 0.5*(Cos(Pi*(x + y + z))**2 +   &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                    Sin(Pi*(x + y + z))**2))*  &
               Sqrt((-1. + gamma)*gammaM2*  &
                 (1.5 + 1./(-1. + gamma) -   &
                   0.5*(Cos(Pi*(x + y + z))**2 +   &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                      Sin(Pi*(x + y + z))**2))))/  &
             (tRatio + (-1. + gamma)*gammaM2*  &
                (1.5 + 1./(-1. + gamma) -   &
                  0.5*(Cos(Pi*(x + y + z))**2 +   &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                     Sin(Pi*(x + y + z))**2))) +   &
            ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.)/  &
             (357.91099999999994 +   &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.)) -   &
         Pi*Sin(Pi*(x + y + z))*(Pi*Cos(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))*  &
          (((-1. + gamma)*gammaM2*(1. + tRatio)*  &
               (1.5 + 1./(-1. + gamma) -   &
                 0.5*(Cos(Pi*(x + y + z))**2 +   &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                    Sin(Pi*(x + y + z))**2))*  &
               Sqrt((-1. + gamma)*gammaM2*  &
                 (1.5 + 1./(-1. + gamma) -   &
                   0.5*(Cos(Pi*(x + y + z))**2 +   &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                      Sin(Pi*(x + y + z))**2))))/  &
             (tRatio + (-1. + gamma)*gammaM2*  &
                (1.5 + 1./(-1. + gamma) -   &
                  0.5*(Cos(Pi*(x + y + z))**2 +   &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                     Sin(Pi*(x + y + z))**2))) +   &
            ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.)/  &
             (357.91099999999994 +   &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.)) +   &
         Cos(Pi*(x + y + z))*(-(Pi**2*Cos(Pi*(x + y + z))) -   &
            Pi**2*Sin(Pi*(x + y + z)))*  &
          (((-1. + gamma)*gammaM2*(1. + tRatio)*  &
               (1.5 + 1./(-1. + gamma) -   &
                 0.5*(Cos(Pi*(x + y + z))**2 +   &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                    Sin(Pi*(x + y + z))**2))*  &
               Sqrt((-1. + gamma)*gammaM2*  &
                 (1.5 + 1./(-1. + gamma) -   &
                   0.5*(Cos(Pi*(x + y + z))**2 +   &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                      Sin(Pi*(x + y + z))**2))))/  &
             (tRatio + (-1. + gamma)*gammaM2*  &
                (1.5 + 1./(-1. + gamma) -   &
                  0.5*(Cos(Pi*(x + y + z))**2 +   &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                     Sin(Pi*(x + y + z))**2))) +   &
            ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.)/  &
             (357.91099999999994 +   &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.)) +   &
         (4.71238898038469*Cos(Pi*(x + y + z)) -   &
            1.5707963267948966*Sin(Pi*(x + y + z)))*  &
          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
          ((1.*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)*  &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                 1.5707963267948966*Sin(Pi*(x + y + z)))*  &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
               (1.5 + 1./(-1. + gamma) -   &
                 0.5*(Cos(Pi*(x + y + z))**2 +   &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                    Sin(Pi*(x + y + z))**2))*  &
               Sqrt((-1. + gamma)*gammaM2*  &
                 (1.5 + 1./(-1. + gamma) -   &
                   0.5*(Cos(Pi*(x + y + z))**2 +   &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                      Sin(Pi*(x + y + z))**2))))/  &
             (tRatio + (-1. + gamma)*gammaM2*  &
                 (1.5 + 1./(-1. + gamma) -   &
                   0.5*(Cos(Pi*(x + y + z))**2 +   &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                      Sin(Pi*(x + y + z))**2)))**2 -   &
            (0.5*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)*  &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                 1.5707963267948966*Sin(Pi*(x + y + z)))*  &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
               (1.5 + 1./(-1. + gamma) -   &
                 0.5*(Cos(Pi*(x + y + z))**2 +   &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                    Sin(Pi*(x + y + z))**2)))/  &
             (Sqrt((-1. + gamma)*gammaM2*  &
                 (1.5 + 1./(-1. + gamma) -   &
                   0.5*(Cos(Pi*(x + y + z))**2 +   &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                      Sin(Pi*(x + y + z))**2)))*  &
               (tRatio + (-1. + gamma)*gammaM2*  &
                  (1.5 + 1./(-1. + gamma) -   &
                    0.5*(Cos(Pi*(x + y + z))**2 +   &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                       Sin(Pi*(x + y + z))**2)))) -   &
            (1.*(-1. + gamma)*gammaM2*(1. + tRatio)*  &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                 1.5707963267948966*Sin(Pi*(x + y + z)))*  &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
               Sqrt((-1. + gamma)*gammaM2*  &
                 (1.5 + 1./(-1. + gamma) -   &
                   0.5*(Cos(Pi*(x + y + z))**2 +   &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                      Sin(Pi*(x + y + z))**2))))/  &
             (tRatio + (-1. + gamma)*gammaM2*  &
                (1.5 + 1./(-1. + gamma) -   &
                  0.5*(Cos(Pi*(x + y + z))**2 +   &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                     Sin(Pi*(x + y + z))**2))) -   &
            (3.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**5.*  &
               ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                      1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/  &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))) +   &
                 (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                      1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    ((-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2)))**1.5) +   &
                 (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                      1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                       0.5*(Cos(Pi*(x + y + z))**2 +   &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                          Sin(Pi*(x + y + z))**2))**2*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))) +   &
                 (0.1*exp(y)*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))) -   &
                 ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2))))))/  &
             (357.91099999999994 +   &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                     (tRatio + (-1. + gamma)*gammaM2*  &
                        (1.5 + 1./(-1. + gamma) -   &
                          0.5*(Cos(Pi*(x + y + z))**2 +   &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                              2 + Sin(Pi*(x + y + z))**2))))/  &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                     (1.5 + 1./(-1. + gamma) -   &
                       0.5*(Cos(Pi*(x + y + z))**2 +   &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                          Sin(Pi*(x + y + z))**2))*  &
                     Sqrt((-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2)))))**3.)**2 +   &
            (0.1*exp(y)*Cos(Pi*(x + y + z))*  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.)/  &
             (357.91099999999994 +   &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.) -   &
            ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))*  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.)/  &
             (357.91099999999994 +   &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.) +   &
            (3.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**2.*  &
               ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                      1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/  &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))) +   &
                 (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                      1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    ((-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2)))**1.5) +   &
                 (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                      1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                       0.5*(Cos(Pi*(x + y + z))**2 +   &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                          Sin(Pi*(x + y + z))**2))**2*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))) +   &
                 (0.1*exp(y)*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))) -   &
                 ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2))))))/  &
             (357.91099999999994 +   &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.)) +   &
         Cos(Pi*(x + y + z))*(Pi*Cos(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))*  &
          ((1.*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)*  &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                 1.5707963267948966*Sin(Pi*(x + y + z)))*  &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
               (1.5 + 1./(-1. + gamma) -   &
                 0.5*(Cos(Pi*(x + y + z))**2 +   &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                    Sin(Pi*(x + y + z))**2))*  &
               Sqrt((-1. + gamma)*gammaM2*  &
                 (1.5 + 1./(-1. + gamma) -   &
                   0.5*(Cos(Pi*(x + y + z))**2 +   &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                      Sin(Pi*(x + y + z))**2))))/  &
             (tRatio + (-1. + gamma)*gammaM2*  &
                 (1.5 + 1./(-1. + gamma) -   &
                   0.5*(Cos(Pi*(x + y + z))**2 +   &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                      Sin(Pi*(x + y + z))**2)))**2 -   &
            (0.5*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)*  &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                 1.5707963267948966*Sin(Pi*(x + y + z)))*  &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
               (1.5 + 1./(-1. + gamma) -   &
                 0.5*(Cos(Pi*(x + y + z))**2 +   &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                    Sin(Pi*(x + y + z))**2)))/  &
             (Sqrt((-1. + gamma)*gammaM2*  &
                 (1.5 + 1./(-1. + gamma) -   &
                   0.5*(Cos(Pi*(x + y + z))**2 +   &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                      Sin(Pi*(x + y + z))**2)))*  &
               (tRatio + (-1. + gamma)*gammaM2*  &
                  (1.5 + 1./(-1. + gamma) -   &
                    0.5*(Cos(Pi*(x + y + z))**2 +   &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                       Sin(Pi*(x + y + z))**2)))) -   &
            (1.*(-1. + gamma)*gammaM2*(1. + tRatio)*  &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                 1.5707963267948966*Sin(Pi*(x + y + z)))*  &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
               Sqrt((-1. + gamma)*gammaM2*  &
                 (1.5 + 1./(-1. + gamma) -   &
                   0.5*(Cos(Pi*(x + y + z))**2 +   &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                      Sin(Pi*(x + y + z))**2))))/  &
             (tRatio + (-1. + gamma)*gammaM2*  &
                (1.5 + 1./(-1. + gamma) -   &
                  0.5*(Cos(Pi*(x + y + z))**2 +   &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                     Sin(Pi*(x + y + z))**2))) -   &
            (3.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**5.*  &
               ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                      1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/  &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))) +   &
                 (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                      1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    ((-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2)))**1.5) +   &
                 (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                      1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                       0.5*(Cos(Pi*(x + y + z))**2 +   &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                          Sin(Pi*(x + y + z))**2))**2*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))) +   &
                 (0.1*exp(y)*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))) -   &
                 ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2))))))/  &
             (357.91099999999994 +   &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                     (tRatio + (-1. + gamma)*gammaM2*  &
                        (1.5 + 1./(-1. + gamma) -   &
                          0.5*(Cos(Pi*(x + y + z))**2 +   &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                              2 + Sin(Pi*(x + y + z))**2))))/  &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                     (1.5 + 1./(-1. + gamma) -   &
                       0.5*(Cos(Pi*(x + y + z))**2 +   &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                          Sin(Pi*(x + y + z))**2))*  &
                     Sqrt((-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2)))))**3.)**2 +   &
            (0.1*exp(y)*Cos(Pi*(x + y + z))*  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.)/  &
             (357.91099999999994 +   &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.) -   &
            ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))*  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.)/  &
             (357.91099999999994 +   &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.) +   &
            (3.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**2.*  &
               ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                      1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/  &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))) +   &
                 (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                      1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    ((-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2)))**1.5) +   &
                 (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                      1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                       0.5*(Cos(Pi*(x + y + z))**2 +   &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                          Sin(Pi*(x + y + z))**2))**2*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))) +   &
                 (0.1*exp(y)*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))) -   &
                 ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2))))))/  &
             (357.91099999999994 +   &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.)) +   &
         Pi*Cos(Pi*(x + y + z))*(2*Pi*Cos(Pi*(x + y + z))*  &
             (((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                  (1.5 + 1./(-1. + gamma) -   &
                    0.5*(Cos(Pi*(x + y + z))**2 +   &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                       Sin(Pi*(x + y + z))**2))*  &
                  Sqrt((-1. + gamma)*gammaM2*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))))/  &
                (tRatio + (-1. + gamma)*gammaM2*  &
                   (1.5 + 1./(-1. + gamma) -   &
                     0.5*(Cos(Pi*(x + y + z))**2 +   &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                        Sin(Pi*(x + y + z))**2))) +   &
               ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.)/  &
                (357.91099999999994 +   &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.)) -   &
            0.6666666666666666*(4.71238898038469*Cos(Pi*(x + y + z)) -   &
               1.5707963267948966*Sin(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))*  &
             (((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                  (1.5 + 1./(-1. + gamma) -   &
                    0.5*(Cos(Pi*(x + y + z))**2 +   &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                       Sin(Pi*(x + y + z))**2))*  &
                  Sqrt((-1. + gamma)*gammaM2*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))))/  &
                (tRatio + (-1. + gamma)*gammaM2*  &
                   (1.5 + 1./(-1. + gamma) -   &
                     0.5*(Cos(Pi*(x + y + z))**2 +   &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                        Sin(Pi*(x + y + z))**2))) +   &
               ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.)/  &
                (357.91099999999994 +   &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.))) +   &
         Sin(Pi*(x + y + z))*(-0.6666666666666666*  &
             (-4.934802200544679*Cos(Pi*(x + y + z)) - Pi**2*Cos(Pi*(x + y + z)) -   &
               14.804406601634037*Sin(Pi*(x + y + z)))*  &
             (((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                  (1.5 + 1./(-1. + gamma) -   &
                    0.5*(Cos(Pi*(x + y + z))**2 +   &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                       Sin(Pi*(x + y + z))**2))*  &
                  Sqrt((-1. + gamma)*gammaM2*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))))/  &
                (tRatio + (-1. + gamma)*gammaM2*  &
                   (1.5 + 1./(-1. + gamma) -   &
                     0.5*(Cos(Pi*(x + y + z))**2 +   &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                        Sin(Pi*(x + y + z))**2))) +   &
               ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.)/  &
                (357.91099999999994 +   &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.)) -   &
            2*Pi**2*Sin(Pi*(x + y + z))*  &
             (((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                  (1.5 + 1./(-1. + gamma) -   &
                    0.5*(Cos(Pi*(x + y + z))**2 +   &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                       Sin(Pi*(x + y + z))**2))*  &
                  Sqrt((-1. + gamma)*gammaM2*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))))/  &
                (tRatio + (-1. + gamma)*gammaM2*  &
                   (1.5 + 1./(-1. + gamma) -   &
                     0.5*(Cos(Pi*(x + y + z))**2 +   &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                        Sin(Pi*(x + y + z))**2))) +   &
               ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.)/  &
                (357.91099999999994 +   &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.)) +   &
            2*Pi*Cos(Pi*(x + y + z))*  &
             ((1.*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)*  &
                  (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                    1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                  (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                  (1.5 + 1./(-1. + gamma) -   &
                    0.5*(Cos(Pi*(x + y + z))**2 +   &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                       Sin(Pi*(x + y + z))**2))*  &
                  Sqrt((-1. + gamma)*gammaM2*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))))/  &
                (tRatio + (-1. + gamma)*gammaM2*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2)))**2 -   &
               (0.5*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)*  &
                  (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                    1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                  (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                  (1.5 + 1./(-1. + gamma) -   &
                    0.5*(Cos(Pi*(x + y + z))**2 +   &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                       Sin(Pi*(x + y + z))**2)))/  &
                (Sqrt((-1. + gamma)*gammaM2*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2)))*  &
                  (tRatio + (-1. + gamma)*gammaM2*  &
                     (1.5 + 1./(-1. + gamma) -   &
                       0.5*(Cos(Pi*(x + y + z))**2 +   &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                          Sin(Pi*(x + y + z))**2)))) -   &
               (1.*(-1. + gamma)*gammaM2*(1. + tRatio)*  &
                  (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                    1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                  (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                  Sqrt((-1. + gamma)*gammaM2*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))))/  &
                (tRatio + (-1. + gamma)*gammaM2*  &
                   (1.5 + 1./(-1. + gamma) -   &
                     0.5*(Cos(Pi*(x + y + z))**2 +   &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                        Sin(Pi*(x + y + z))**2))) -   &
               (3.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**5.*  &
                  ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                         1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/  &
                     ((1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))) +   &
                    (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                         1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       ((-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2)))**1.5) +   &
                    (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                         1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                          0.5*(Cos(Pi*(x + y + z))**2 +   &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                              2 + Sin(Pi*(x + y + z))**2))**2*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))) +   &
                    (0.1*exp(y)*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))) -   &
                    ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2))))))/  &
                (357.91099999999994 +   &
                   (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                        (tRatio +   &
                          (-1. + gamma)*gammaM2*  &
                           (1.5 + 1./(-1. + gamma) -   &
                             0.5*(Cos(Pi*(x + y + z))**2 +   &
                                (0.5*Cos(Pi*(x + y + z)) +   &
                                 0.5*Sin(Pi*(x + y + z)))**2 +   &
                                Sin(Pi*(x + y + z))**2))))/  &
                      ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                        (1.5 + 1./(-1. + gamma) -   &
                          0.5*(Cos(Pi*(x + y + z))**2 +   &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                              2 + Sin(Pi*(x + y + z))**2))*  &
                        Sqrt((-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2)))))**3.)**2 +   &
               (0.1*exp(y)*Cos(Pi*(x + y + z))*  &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.)/  &
                (357.91099999999994 +   &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.) -   &
               ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))*  &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.)/  &
                (357.91099999999994 +   &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.) +   &
               (3.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**2.*  &
                  ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                         1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/  &
                     ((1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))) +   &
                    (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                         1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       ((-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2)))**1.5) +   &
                    (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                         1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                          0.5*(Cos(Pi*(x + y + z))**2 +   &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                              2 + Sin(Pi*(x + y + z))**2))**2*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))) +   &
                    (0.1*exp(y)*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))) -   &
                    ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2))))))/  &
                (357.91099999999994 +   &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.)) -   &
            0.6666666666666666*(4.71238898038469*Cos(Pi*(x + y + z)) -   &
               1.5707963267948966*Sin(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))*  &
             ((1.*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)*  &
                  (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                    1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                  (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                  (1.5 + 1./(-1. + gamma) -   &
                    0.5*(Cos(Pi*(x + y + z))**2 +   &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                       Sin(Pi*(x + y + z))**2))*  &
                  Sqrt((-1. + gamma)*gammaM2*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))))/  &
                (tRatio + (-1. + gamma)*gammaM2*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2)))**2 -   &
               (0.5*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)*  &
                  (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                    1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                  (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                  (1.5 + 1./(-1. + gamma) -   &
                    0.5*(Cos(Pi*(x + y + z))**2 +   &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                       Sin(Pi*(x + y + z))**2)))/  &
                (Sqrt((-1. + gamma)*gammaM2*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2)))*  &
                  (tRatio + (-1. + gamma)*gammaM2*  &
                     (1.5 + 1./(-1. + gamma) -   &
                       0.5*(Cos(Pi*(x + y + z))**2 +   &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                          Sin(Pi*(x + y + z))**2)))) -   &
               (1.*(-1. + gamma)*gammaM2*(1. + tRatio)*  &
                  (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                    1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                  (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                  Sqrt((-1. + gamma)*gammaM2*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))))/  &
                (tRatio + (-1. + gamma)*gammaM2*  &
                   (1.5 + 1./(-1. + gamma) -   &
                     0.5*(Cos(Pi*(x + y + z))**2 +   &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                        Sin(Pi*(x + y + z))**2))) -   &
               (3.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**5.*  &
                  ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                         1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/  &
                     ((1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))) +   &
                    (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                         1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       ((-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2)))**1.5) +   &
                    (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                         1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                          0.5*(Cos(Pi*(x + y + z))**2 +   &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                              2 + Sin(Pi*(x + y + z))**2))**2*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))) +   &
                    (0.1*exp(y)*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))) -   &
                    ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2))))))/  &
                (357.91099999999994 +   &
                   (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                        (tRatio +   &
                          (-1. + gamma)*gammaM2*  &
                           (1.5 + 1./(-1. + gamma) -   &
                             0.5*(Cos(Pi*(x + y + z))**2 +   &
                                (0.5*Cos(Pi*(x + y + z)) +   &
                                 0.5*Sin(Pi*(x + y + z)))**2 +   &
                                Sin(Pi*(x + y + z))**2))))/  &
                      ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                        (1.5 + 1./(-1. + gamma) -   &
                          0.5*(Cos(Pi*(x + y + z))**2 +   &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                              2 + Sin(Pi*(x + y + z))**2))*  &
                        Sqrt((-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2)))))**3.)**2 +   &
               (0.1*exp(y)*Cos(Pi*(x + y + z))*  &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.)/  &
                (357.91099999999994 +   &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.) -   &
               ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))*  &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.)/  &
                (357.91099999999994 +   &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.) +   &
               (3.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**2.*  &
                  ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                         1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/  &
                     ((1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))) +   &
                    (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                         1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       ((-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2)))**1.5) +   &
                    (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                         1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                          0.5*(Cos(Pi*(x + y + z))**2 +   &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                              2 + Sin(Pi*(x + y + z))**2))**2*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))) +   &
                    (0.1*exp(y)*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))) -   &
                    ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2))))))/  &
                (357.91099999999994 +   &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.))))/Re        











                    S(5) = S(5) +         (-1.*(-1. + gamma)*gammaM2*  &
          (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
             1.5707963267948966*Sin(Pi*(x + y + z)))**2*  &
          ((gammaM2*(1. + tRatio)*  &
               (1.5 + 1./(-1. + gamma) -   &
                 0.5*(Cos(Pi*(x + y + z))**2 +   &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                    Sin(Pi*(x + y + z))**2))*  &
               Sqrt((-1. + gamma)*gammaM2*  &
                 (1.5 + 1./(-1. + gamma) -   &
                   0.5*(Cos(Pi*(x + y + z))**2 +   &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                      Sin(Pi*(x + y + z))**2))))/  &
             (Mach**2.*Pr*(tRatio +   &
                 (-1. + gamma)*gammaM2*  &
                  (1.5 + 1./(-1. + gamma) -   &
                    0.5*(Cos(Pi*(x + y + z))**2 +   &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                       Sin(Pi*(x + y + z))**2)))) +   &
            ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.)/  &
             ((-1. + gamma)*Mach**2.*Prt*  &
               (357.91099999999994 +   &
                 (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                      (tRatio + (-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2))))/  &
                    ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2))*  &
                      Sqrt((-1. + gamma)*gammaM2*  &
                        (1.5 + 1./(-1. + gamma) -   &
                          0.5*(Cos(Pi*(x + y + z))**2 +   &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                              2 + Sin(Pi*(x + y + z))**2)))))**3.))))/Re -   &
       (1.*(-1. + gamma)*gammaM2*(-4.934802200544679*Cos(Pi*(x + y + z)) -   &
            4.934802200544679*Sin(Pi*(x + y + z)))*  &
          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
          ((gammaM2*(1. + tRatio)*  &
               (1.5 + 1./(-1. + gamma) -   &
                 0.5*(Cos(Pi*(x + y + z))**2 +   &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                    Sin(Pi*(x + y + z))**2))*  &
               Sqrt((-1. + gamma)*gammaM2*  &
                 (1.5 + 1./(-1. + gamma) -   &
                   0.5*(Cos(Pi*(x + y + z))**2 +   &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                      Sin(Pi*(x + y + z))**2))))/  &
             (Mach**2.*Pr*(tRatio +   &
                 (-1. + gamma)*gammaM2*  &
                  (1.5 + 1./(-1. + gamma) -   &
                    0.5*(Cos(Pi*(x + y + z))**2 +   &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                       Sin(Pi*(x + y + z))**2)))) +   &
            ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.)/  &
             ((-1. + gamma)*Mach**2.*Prt*  &
               (357.91099999999994 +   &
                 (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                      (tRatio + (-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2))))/  &
                    ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2))*  &
                      Sqrt((-1. + gamma)*gammaM2*  &
                        (1.5 + 1./(-1. + gamma) -   &
                          0.5*(Cos(Pi*(x + y + z))**2 +   &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                              2 + Sin(Pi*(x + y + z))**2)))))**3.))))/Re -   &
       (1.*(-1. + gamma)*gammaM2*(1.5707963267948966*Cos(Pi*(x + y + z)) -   &
            1.5707963267948966*Sin(Pi*(x + y + z)))*  &
          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
          ((1.*(-1. + gamma)*gammaM2**2*(1. + tRatio)*  &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                 1.5707963267948966*Sin(Pi*(x + y + z)))*  &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
               (1.5 + 1./(-1. + gamma) -   &
                 0.5*(Cos(Pi*(x + y + z))**2 +   &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                    Sin(Pi*(x + y + z))**2))*  &
               Sqrt((-1. + gamma)*gammaM2*  &
                 (1.5 + 1./(-1. + gamma) -   &
                   0.5*(Cos(Pi*(x + y + z))**2 +   &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                      Sin(Pi*(x + y + z))**2))))/  &
             (Mach**2.*Pr*(tRatio +   &
                  (-1. + gamma)*gammaM2*  &
                   (1.5 + 1./(-1. + gamma) -   &
                     0.5*(Cos(Pi*(x + y + z))**2 +   &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                        Sin(Pi*(x + y + z))**2)))**2) -   &
            (0.5*(-1. + gamma)*gammaM2**2*(1. + tRatio)*  &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                 1.5707963267948966*Sin(Pi*(x + y + z)))*  &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
               (1.5 + 1./(-1. + gamma) -   &
                 0.5*(Cos(Pi*(x + y + z))**2 +   &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                    Sin(Pi*(x + y + z))**2)))/  &
             (Mach**2.*Pr*Sqrt((-1. + gamma)*gammaM2*  &
                 (1.5 + 1./(-1. + gamma) -   &
                   0.5*(Cos(Pi*(x + y + z))**2 +   &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                      Sin(Pi*(x + y + z))**2)))*  &
               (tRatio + (-1. + gamma)*gammaM2*  &
                  (1.5 + 1./(-1. + gamma) -   &
                    0.5*(Cos(Pi*(x + y + z))**2 +   &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                       Sin(Pi*(x + y + z))**2)))) -   &
            (1.*gammaM2*(1. + tRatio)*  &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                 1.5707963267948966*Sin(Pi*(x + y + z)))*  &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
               Sqrt((-1. + gamma)*gammaM2*  &
                 (1.5 + 1./(-1. + gamma) -   &
                   0.5*(Cos(Pi*(x + y + z))**2 +   &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                      Sin(Pi*(x + y + z))**2))))/  &
             (Mach**2.*Pr*(tRatio +   &
                 (-1. + gamma)*gammaM2*  &
                  (1.5 + 1./(-1. + gamma) -   &
                    0.5*(Cos(Pi*(x + y + z))**2 +   &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                       Sin(Pi*(x + y + z))**2)))) -   &
            (3.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**5.*  &
               ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                      1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/  &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))) +   &
                 (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                      1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    ((-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2)))**1.5) +   &
                 (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                      1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                       0.5*(Cos(Pi*(x + y + z))**2 +   &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                          Sin(Pi*(x + y + z))**2))**2*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))) +   &
                 (0.1*exp(y)*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))) -   &
                 ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2))))))/  &
             ((-1. + gamma)*Mach**2.*Prt*  &
               (357.91099999999994 +   &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.)**2) +   &
            (0.1*exp(y)*Cos(Pi*(x + y + z))*  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.)/  &
             ((-1. + gamma)*Mach**2.*Prt*  &
               (357.91099999999994 +   &
                 (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                      (tRatio + (-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2))))/  &
                    ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2))*  &
                      Sqrt((-1. + gamma)*gammaM2*  &
                        (1.5 + 1./(-1. + gamma) -   &
                          0.5*(Cos(Pi*(x + y + z))**2 +   &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                              2 + Sin(Pi*(x + y + z))**2)))))**3.)) -   &
            ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))*  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.)/  &
             ((-1. + gamma)*Mach**2.*Prt*  &
               (357.91099999999994 +   &
                 (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                      (tRatio + (-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2))))/  &
                    ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2))*  &
                      Sqrt((-1. + gamma)*gammaM2*  &
                        (1.5 + 1./(-1. + gamma) -   &
                          0.5*(Cos(Pi*(x + y + z))**2 +   &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                              2 + Sin(Pi*(x + y + z))**2)))))**3.)) +   &
            (3.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**2.*  &
               ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                      1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/  &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))) +   &
                 (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                      1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    ((-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2)))**1.5) +   &
                 (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                      1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                       0.5*(Cos(Pi*(x + y + z))**2 +   &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                          Sin(Pi*(x + y + z))**2))**2*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))) +   &
                 (0.1*exp(y)*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))) -   &
                 ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2))))))/  &
             ((-1. + gamma)*Mach**2.*Prt*  &
               (357.91099999999994 +   &
                 (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                      (tRatio + (-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2))))/  &
                    ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2))*  &
                      Sqrt((-1. + gamma)*gammaM2*  &
                        (1.5 + 1./(-1. + gamma) -   &
                          0.5*(Cos(Pi*(x + y + z))**2 +   &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                              2 + Sin(Pi*(x + y + z))**2)))))**3.))))/Re 



                    S(5) = S(5) +            (Cos(Pi*(x + y + z))*(-4.934802200544679*Cos(Pi*(x + y + z)) -   &
            Pi**2*Cos(Pi*(x + y + z)) - 4.934802200544679*Sin(Pi*(x + y + z)))*  &
          (((-1. + gamma)*gammaM2*(1. + tRatio)*  &
               (1.5 + 1./(-1. + gamma) -   &
                 0.5*(Cos(Pi*(x + y + z))**2 +   &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                    Sin(Pi*(x + y + z))**2))*  &
               Sqrt((-1. + gamma)*gammaM2*  &
                 (1.5 + 1./(-1. + gamma) -   &
                   0.5*(Cos(Pi*(x + y + z))**2 +   &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                      Sin(Pi*(x + y + z))**2))))/  &
             (tRatio + (-1. + gamma)*gammaM2*  &
                (1.5 + 1./(-1. + gamma) -   &
                  0.5*(Cos(Pi*(x + y + z))**2 +   &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                     Sin(Pi*(x + y + z))**2))) +   &
            ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.)/  &
             (357.91099999999994 +   &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.)) +   &
         Pi*Cos(Pi*(x + y + z))*(4.71238898038469*Cos(Pi*(x + y + z)) -   &
            1.5707963267948966*Sin(Pi*(x + y + z)))*  &
          (((-1. + gamma)*gammaM2*(1. + tRatio)*  &
               (1.5 + 1./(-1. + gamma) -   &
                 0.5*(Cos(Pi*(x + y + z))**2 +   &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                    Sin(Pi*(x + y + z))**2))*  &
               Sqrt((-1. + gamma)*gammaM2*  &
                 (1.5 + 1./(-1. + gamma) -   &
                   0.5*(Cos(Pi*(x + y + z))**2 +   &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                      Sin(Pi*(x + y + z))**2))))/  &
             (tRatio + (-1. + gamma)*gammaM2*  &
                (1.5 + 1./(-1. + gamma) -   &
                  0.5*(Cos(Pi*(x + y + z))**2 +   &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                     Sin(Pi*(x + y + z))**2))) +   &
            ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.)/  &
             (357.91099999999994 +   &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.)) +   &
         (-4.934802200544679*Cos(Pi*(x + y + z)) -   &
            14.804406601634037*Sin(Pi*(x + y + z)))*Sin(Pi*(x + y + z))*  &
          (((-1. + gamma)*gammaM2*(1. + tRatio)*  &
               (1.5 + 1./(-1. + gamma) -   &
                 0.5*(Cos(Pi*(x + y + z))**2 +   &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                    Sin(Pi*(x + y + z))**2))*  &
               Sqrt((-1. + gamma)*gammaM2*  &
                 (1.5 + 1./(-1. + gamma) -   &
                   0.5*(Cos(Pi*(x + y + z))**2 +   &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                      Sin(Pi*(x + y + z))**2))))/  &
             (tRatio + (-1. + gamma)*gammaM2*  &
                (1.5 + 1./(-1. + gamma) -   &
                  0.5*(Cos(Pi*(x + y + z))**2 +   &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                     Sin(Pi*(x + y + z))**2))) +   &
            ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.)/  &
             (357.91099999999994 +   &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.)) -   &
         Pi*Sin(Pi*(x + y + z))*(1.5707963267948966*Cos(Pi*(x + y + z)) -   &
            1.5707963267948966*Sin(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))*  &
          (((-1. + gamma)*gammaM2*(1. + tRatio)*  &
               (1.5 + 1./(-1. + gamma) -   &
                 0.5*(Cos(Pi*(x + y + z))**2 +   &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                    Sin(Pi*(x + y + z))**2))*  &
               Sqrt((-1. + gamma)*gammaM2*  &
                 (1.5 + 1./(-1. + gamma) -   &
                   0.5*(Cos(Pi*(x + y + z))**2 +   &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                      Sin(Pi*(x + y + z))**2))))/  &
             (tRatio + (-1. + gamma)*gammaM2*  &
                (1.5 + 1./(-1. + gamma) -   &
                  0.5*(Cos(Pi*(x + y + z))**2 +   &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                     Sin(Pi*(x + y + z))**2))) +   &
            ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.)/  &
             (357.91099999999994 +   &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.)) +   &
         (4.71238898038469*Cos(Pi*(x + y + z)) -   &
            1.5707963267948966*Sin(Pi*(x + y + z)))*Sin(Pi*(x + y + z))*  &
          ((1.*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)*  &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                 1.5707963267948966*Sin(Pi*(x + y + z)))*  &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
               (1.5 + 1./(-1. + gamma) -   &
                 0.5*(Cos(Pi*(x + y + z))**2 +   &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                    Sin(Pi*(x + y + z))**2))*  &
               Sqrt((-1. + gamma)*gammaM2*  &
                 (1.5 + 1./(-1. + gamma) -   &
                   0.5*(Cos(Pi*(x + y + z))**2 +   &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                      Sin(Pi*(x + y + z))**2))))/  &
             (tRatio + (-1. + gamma)*gammaM2*  &
                 (1.5 + 1./(-1. + gamma) -   &
                   0.5*(Cos(Pi*(x + y + z))**2 +   &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                      Sin(Pi*(x + y + z))**2)))**2 -   &
            (0.5*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)*  &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                 1.5707963267948966*Sin(Pi*(x + y + z)))*  &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
               (1.5 + 1./(-1. + gamma) -   &
                 0.5*(Cos(Pi*(x + y + z))**2 +   &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                    Sin(Pi*(x + y + z))**2)))/  &
             (Sqrt((-1. + gamma)*gammaM2*  &
                 (1.5 + 1./(-1. + gamma) -   &
                   0.5*(Cos(Pi*(x + y + z))**2 +   &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                      Sin(Pi*(x + y + z))**2)))*  &
               (tRatio + (-1. + gamma)*gammaM2*  &
                  (1.5 + 1./(-1. + gamma) -   &
                    0.5*(Cos(Pi*(x + y + z))**2 +   &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                       Sin(Pi*(x + y + z))**2)))) -   &
            (1.*(-1. + gamma)*gammaM2*(1. + tRatio)*  &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                 1.5707963267948966*Sin(Pi*(x + y + z)))*  &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
               Sqrt((-1. + gamma)*gammaM2*  &
                 (1.5 + 1./(-1. + gamma) -   &
                   0.5*(Cos(Pi*(x + y + z))**2 +   &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                      Sin(Pi*(x + y + z))**2))))/  &
             (tRatio + (-1. + gamma)*gammaM2*  &
                (1.5 + 1./(-1. + gamma) -   &
                  0.5*(Cos(Pi*(x + y + z))**2 +   &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                     Sin(Pi*(x + y + z))**2))) -   &
            (3.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**5.*  &
               ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                      1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/  &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))) +   &
                 (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                      1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    ((-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2)))**1.5) +   &
                 (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                      1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                       0.5*(Cos(Pi*(x + y + z))**2 +   &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                          Sin(Pi*(x + y + z))**2))**2*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))) +   &
                 (0.1*exp(z)*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))) -   &
                 ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2))))))/  &
             (357.91099999999994 +   &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                     (tRatio + (-1. + gamma)*gammaM2*  &
                        (1.5 + 1./(-1. + gamma) -   &
                          0.5*(Cos(Pi*(x + y + z))**2 +   &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                              2 + Sin(Pi*(x + y + z))**2))))/  &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                     (1.5 + 1./(-1. + gamma) -   &
                       0.5*(Cos(Pi*(x + y + z))**2 +   &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                          Sin(Pi*(x + y + z))**2))*  &
                     Sqrt((-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2)))))**3.)**2 +   &
            (0.1*exp(z)*Cos(Pi*(x + y + z))*  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.)/  &
             (357.91099999999994 +   &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.) -   &
            ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))*  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.)/  &
             (357.91099999999994 +   &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.) +   &
            (3.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**2.*  &
               ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                      1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/  &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))) +   &
                 (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                      1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    ((-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2)))**1.5) +   &
                 (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                      1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                       0.5*(Cos(Pi*(x + y + z))**2 +   &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                          Sin(Pi*(x + y + z))**2))**2*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))) +   &
                 (0.1*exp(z)*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))) -   &
                 ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2))))))/  &
             (357.91099999999994 +   &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.)) +   &
         Cos(Pi*(x + y + z))*(1.5707963267948966*Cos(Pi*(x + y + z)) -   &
            1.5707963267948966*Sin(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))*  &
          ((1.*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)*  &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                 1.5707963267948966*Sin(Pi*(x + y + z)))*  &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
               (1.5 + 1./(-1. + gamma) -   &
                 0.5*(Cos(Pi*(x + y + z))**2 +   &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                    Sin(Pi*(x + y + z))**2))*  &
               Sqrt((-1. + gamma)*gammaM2*  &
                 (1.5 + 1./(-1. + gamma) -   &
                   0.5*(Cos(Pi*(x + y + z))**2 +   &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                      Sin(Pi*(x + y + z))**2))))/  &
             (tRatio + (-1. + gamma)*gammaM2*  &
                 (1.5 + 1./(-1. + gamma) -   &
                   0.5*(Cos(Pi*(x + y + z))**2 +   &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                      Sin(Pi*(x + y + z))**2)))**2 -   &
            (0.5*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)*  &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                 1.5707963267948966*Sin(Pi*(x + y + z)))*  &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
               (1.5 + 1./(-1. + gamma) -   &
                 0.5*(Cos(Pi*(x + y + z))**2 +   &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                    Sin(Pi*(x + y + z))**2)))/  &
             (Sqrt((-1. + gamma)*gammaM2*  &
                 (1.5 + 1./(-1. + gamma) -   &
                   0.5*(Cos(Pi*(x + y + z))**2 +   &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                      Sin(Pi*(x + y + z))**2)))*  &
               (tRatio + (-1. + gamma)*gammaM2*  &
                  (1.5 + 1./(-1. + gamma) -   &
                    0.5*(Cos(Pi*(x + y + z))**2 +   &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                       Sin(Pi*(x + y + z))**2)))) -   &
            (1.*(-1. + gamma)*gammaM2*(1. + tRatio)*  &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                 1.5707963267948966*Sin(Pi*(x + y + z)))*  &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
               Sqrt((-1. + gamma)*gammaM2*  &
                 (1.5 + 1./(-1. + gamma) -   &
                   0.5*(Cos(Pi*(x + y + z))**2 +   &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                      Sin(Pi*(x + y + z))**2))))/  &
             (tRatio + (-1. + gamma)*gammaM2*  &
                (1.5 + 1./(-1. + gamma) -   &
                  0.5*(Cos(Pi*(x + y + z))**2 +   &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                     Sin(Pi*(x + y + z))**2))) -   &
            (3.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**5.*  &
               ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                      1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/  &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))) +   &
                 (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                      1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    ((-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2)))**1.5) +   &
                 (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                      1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                       0.5*(Cos(Pi*(x + y + z))**2 +   &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                          Sin(Pi*(x + y + z))**2))**2*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))) +   &
                 (0.1*exp(z)*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))) -   &
                 ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2))))))/  &
             (357.91099999999994 +   &
                (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                     (tRatio + (-1. + gamma)*gammaM2*  &
                        (1.5 + 1./(-1. + gamma) -   &
                          0.5*(Cos(Pi*(x + y + z))**2 +   &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                              2 + Sin(Pi*(x + y + z))**2))))/  &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                     (1.5 + 1./(-1. + gamma) -   &
                       0.5*(Cos(Pi*(x + y + z))**2 +   &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                          Sin(Pi*(x + y + z))**2))*  &
                     Sqrt((-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2)))))**3.)**2 +   &
            (0.1*exp(z)*Cos(Pi*(x + y + z))*  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.)/  &
             (357.91099999999994 +   &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.) -   &
            ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))*  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.)/  &
             (357.91099999999994 +   &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.) +   &
            (3.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**2.*  &
               ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                      1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/  &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))) +   &
                 (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                      1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    ((-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2)))**1.5) +   &
                 (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                      1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                       0.5*(Cos(Pi*(x + y + z))**2 +   &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                          Sin(Pi*(x + y + z))**2))**2*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))) +   &
                 (0.1*exp(z)*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))) -   &
                 ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2))))))/  &
             (357.91099999999994 +   &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.)) +   &
         (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
            1.5707963267948966*Sin(Pi*(x + y + z)))*  &
          (2*(1.5707963267948966*Cos(Pi*(x + y + z)) -   &
               1.5707963267948966*Sin(Pi*(x + y + z)))*  &
             (((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                  (1.5 + 1./(-1. + gamma) -   &
                    0.5*(Cos(Pi*(x + y + z))**2 +   &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                       Sin(Pi*(x + y + z))**2))*  &
                  Sqrt((-1. + gamma)*gammaM2*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))))/  &
                (tRatio + (-1. + gamma)*gammaM2*  &
                   (1.5 + 1./(-1. + gamma) -   &
                     0.5*(Cos(Pi*(x + y + z))**2 +   &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                        Sin(Pi*(x + y + z))**2))) +   &
               ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.)/  &
                (357.91099999999994 +   &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.)) -   &
            0.6666666666666666*(4.71238898038469*Cos(Pi*(x + y + z)) -   &
               1.5707963267948966*Sin(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))*  &
             (((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                  (1.5 + 1./(-1. + gamma) -   &
                    0.5*(Cos(Pi*(x + y + z))**2 +   &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                       Sin(Pi*(x + y + z))**2))*  &
                  Sqrt((-1. + gamma)*gammaM2*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))))/  &
                (tRatio + (-1. + gamma)*gammaM2*  &
                   (1.5 + 1./(-1. + gamma) -   &
                     0.5*(Cos(Pi*(x + y + z))**2 +   &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                        Sin(Pi*(x + y + z))**2))) +   &
               ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.)/  &
                (357.91099999999994 +   &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.))) +   &
         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
          (-0.6666666666666666*(-4.934802200544679*Cos(Pi*(x + y + z)) -   &
               Pi**2*Cos(Pi*(x + y + z)) - 14.804406601634037*Sin(Pi*(x + y + z)))*  &
             (((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                  (1.5 + 1./(-1. + gamma) -   &
                    0.5*(Cos(Pi*(x + y + z))**2 +   &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                       Sin(Pi*(x + y + z))**2))*  &
                  Sqrt((-1. + gamma)*gammaM2*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))))/  &
                (tRatio + (-1. + gamma)*gammaM2*  &
                   (1.5 + 1./(-1. + gamma) -   &
                     0.5*(Cos(Pi*(x + y + z))**2 +   &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                        Sin(Pi*(x + y + z))**2))) +   &
               ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.)/  &
                (357.91099999999994 +   &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.)) +   &
            2*(-4.934802200544679*Cos(Pi*(x + y + z)) -   &
               4.934802200544679*Sin(Pi*(x + y + z)))*  &
             (((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                  (1.5 + 1./(-1. + gamma) -   &
                    0.5*(Cos(Pi*(x + y + z))**2 +   &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                       Sin(Pi*(x + y + z))**2))*  &
                  Sqrt((-1. + gamma)*gammaM2*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))))/  &
                (tRatio + (-1. + gamma)*gammaM2*  &
                   (1.5 + 1./(-1. + gamma) -   &
                     0.5*(Cos(Pi*(x + y + z))**2 +   &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                        Sin(Pi*(x + y + z))**2))) +   &
               ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.)/  &
                (357.91099999999994 +   &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.)) +   &
            2*(1.5707963267948966*Cos(Pi*(x + y + z)) -   &
               1.5707963267948966*Sin(Pi*(x + y + z)))*  &
             ((1.*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)*  &
                  (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                    1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                  (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                  (1.5 + 1./(-1. + gamma) -   &
                    0.5*(Cos(Pi*(x + y + z))**2 +   &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                       Sin(Pi*(x + y + z))**2))*  &
                  Sqrt((-1. + gamma)*gammaM2*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))))/  &
                (tRatio + (-1. + gamma)*gammaM2*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2)))**2 -   &
               (0.5*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)*  &
                  (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                    1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                  (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                  (1.5 + 1./(-1. + gamma) -   &
                    0.5*(Cos(Pi*(x + y + z))**2 +   &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                       Sin(Pi*(x + y + z))**2)))/  &
                (Sqrt((-1. + gamma)*gammaM2*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2)))*  &
                  (tRatio + (-1. + gamma)*gammaM2*  &
                     (1.5 + 1./(-1. + gamma) -   &
                       0.5*(Cos(Pi*(x + y + z))**2 +   &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                          Sin(Pi*(x + y + z))**2)))) -   &
               (1.*(-1. + gamma)*gammaM2*(1. + tRatio)*  &
                  (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                    1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                  (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                  Sqrt((-1. + gamma)*gammaM2*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))))/  &
                (tRatio + (-1. + gamma)*gammaM2*  &
                   (1.5 + 1./(-1. + gamma) -   &
                     0.5*(Cos(Pi*(x + y + z))**2 +   &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                        Sin(Pi*(x + y + z))**2))) -   &
               (3.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**5.*  &
                  ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                         1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/  &
                     ((1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))) +   &
                    (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                         1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       ((-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2)))**1.5) +   &
                    (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                         1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                          0.5*(Cos(Pi*(x + y + z))**2 +   &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                              2 + Sin(Pi*(x + y + z))**2))**2*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))) +   &
                    (0.1*exp(z)*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))) -   &
                    ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2))))))/  &
                (357.91099999999994 +   &
                   (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                        (tRatio +   &
                          (-1. + gamma)*gammaM2*  &
                           (1.5 + 1./(-1. + gamma) -   &
                             0.5*(Cos(Pi*(x + y + z))**2 +   &
                                (0.5*Cos(Pi*(x + y + z)) +   &
                                 0.5*Sin(Pi*(x + y + z)))**2 +   &
                                Sin(Pi*(x + y + z))**2))))/  &
                      ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                        (1.5 + 1./(-1. + gamma) -   &
                          0.5*(Cos(Pi*(x + y + z))**2 +   &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                              2 + Sin(Pi*(x + y + z))**2))*  &
                        Sqrt((-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2)))))**3.)**2 +   &
               (0.1*exp(z)*Cos(Pi*(x + y + z))*  &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.)/  &
                (357.91099999999994 +   &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.) -   &
               ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))*  &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.)/  &
                (357.91099999999994 +   &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.) +   &
               (3.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**2.*  &
                  ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                         1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/  &
                     ((1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))) +   &
                    (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                         1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       ((-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2)))**1.5) +   &
                    (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                         1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                          0.5*(Cos(Pi*(x + y + z))**2 +   &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                              2 + Sin(Pi*(x + y + z))**2))**2*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))) +   &
                    (0.1*exp(z)*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))) -   &
                    ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2))))))/  &
                (357.91099999999994 +   &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.)) -   &
            0.6666666666666666*(4.71238898038469*Cos(Pi*(x + y + z)) -   &
               1.5707963267948966*Sin(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))*  &
             ((1.*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)*  &
                  (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                    1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                  (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                  (1.5 + 1./(-1. + gamma) -   &
                    0.5*(Cos(Pi*(x + y + z))**2 +   &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                       Sin(Pi*(x + y + z))**2))*  &
                  Sqrt((-1. + gamma)*gammaM2*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))))/  &
                (tRatio + (-1. + gamma)*gammaM2*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2)))**2 -   &
               (0.5*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)*  &
                  (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                    1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                  (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                  (1.5 + 1./(-1. + gamma) -   &
                    0.5*(Cos(Pi*(x + y + z))**2 +   &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                       Sin(Pi*(x + y + z))**2)))/  &
                (Sqrt((-1. + gamma)*gammaM2*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2)))*  &
                  (tRatio + (-1. + gamma)*gammaM2*  &
                     (1.5 + 1./(-1. + gamma) -   &
                       0.5*(Cos(Pi*(x + y + z))**2 +   &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                          Sin(Pi*(x + y + z))**2)))) -   &
               (1.*(-1. + gamma)*gammaM2*(1. + tRatio)*  &
                  (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                    1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                  (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                  Sqrt((-1. + gamma)*gammaM2*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))))/  &
                (tRatio + (-1. + gamma)*gammaM2*  &
                   (1.5 + 1./(-1. + gamma) -   &
                     0.5*(Cos(Pi*(x + y + z))**2 +   &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                        Sin(Pi*(x + y + z))**2))) -   &
               (3.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**5.*  &
                  ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                         1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/  &
                     ((1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))) +   &
                    (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                         1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       ((-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2)))**1.5) +   &
                    (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                         1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                          0.5*(Cos(Pi*(x + y + z))**2 +   &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                              2 + Sin(Pi*(x + y + z))**2))**2*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))) +   &
                    (0.1*exp(z)*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))) -   &
                    ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2))))))/  &
                (357.91099999999994 +   &
                   (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                        (tRatio +   &
                          (-1. + gamma)*gammaM2*  &
                           (1.5 + 1./(-1. + gamma) -   &
                             0.5*(Cos(Pi*(x + y + z))**2 +   &
                                (0.5*Cos(Pi*(x + y + z)) +   &
                                 0.5*Sin(Pi*(x + y + z)))**2 +   &
                                Sin(Pi*(x + y + z))**2))))/  &
                      ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                        (1.5 + 1./(-1. + gamma) -   &
                          0.5*(Cos(Pi*(x + y + z))**2 +   &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                              2 + Sin(Pi*(x + y + z))**2))*  &
                        Sqrt((-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2)))))**3.)**2 +   &
               (0.1*exp(z)*Cos(Pi*(x + y + z))*  &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.)/  &
                (357.91099999999994 +   &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.) -   &
               ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))*  &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.)/  &
                (357.91099999999994 +   &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.) +   &
               (3.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**2.*  &
                  ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                         1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/  &
                     ((1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))) +   &
                    (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                         1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       ((-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2)))**1.5) +   &
                    (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                         1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                          0.5*(Cos(Pi*(x + y + z))**2 +   &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                              2 + Sin(Pi*(x + y + z))**2))**2*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))) +   &
                    (0.1*exp(z)*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))) -   &
                    ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2))))))/  &
                (357.91099999999994 +   &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.))))/Re    







                
                S(5) = S(5) +         (-1.*(-1. + gamma)*gammaM2*  &
          (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
             1.5707963267948966*Sin(Pi*(x + y + z)))**2*  &
          ((gammaM2*(1. + tRatio)*  &
               (1.5 + 1./(-1. + gamma) -   &
                 0.5*(Cos(Pi*(x + y + z))**2 +   &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                    Sin(Pi*(x + y + z))**2))*  &
               Sqrt((-1. + gamma)*gammaM2*  &
                 (1.5 + 1./(-1. + gamma) -   &
                   0.5*(Cos(Pi*(x + y + z))**2 +   &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                      Sin(Pi*(x + y + z))**2))))/  &
             (Mach**2.*Pr*(tRatio +   &
                 (-1. + gamma)*gammaM2*  &
                  (1.5 + 1./(-1. + gamma) -   &
                    0.5*(Cos(Pi*(x + y + z))**2 +   &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                       Sin(Pi*(x + y + z))**2)))) +   &
            ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.)/  &
             ((-1. + gamma)*Mach**2.*Prt*  &
               (357.91099999999994 +   &
                 (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                      (tRatio + (-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2))))/  &
                    ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2))*  &
                      Sqrt((-1. + gamma)*gammaM2*  &
                        (1.5 + 1./(-1. + gamma) -   &
                          0.5*(Cos(Pi*(x + y + z))**2 +   &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                              2 + Sin(Pi*(x + y + z))**2)))))**3.))))/Re -   &
       (1.*(-1. + gamma)*gammaM2*(-4.934802200544679*Cos(Pi*(x + y + z)) -   &
            4.934802200544679*Sin(Pi*(x + y + z)))*  &
          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
          ((gammaM2*(1. + tRatio)*  &
               (1.5 + 1./(-1. + gamma) -   &
                 0.5*(Cos(Pi*(x + y + z))**2 +   &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                    Sin(Pi*(x + y + z))**2))*  &
               Sqrt((-1. + gamma)*gammaM2*  &
                 (1.5 + 1./(-1. + gamma) -   &
                   0.5*(Cos(Pi*(x + y + z))**2 +   &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                      Sin(Pi*(x + y + z))**2))))/  &
             (Mach**2.*Pr*(tRatio +   &
                 (-1. + gamma)*gammaM2*  &
                  (1.5 + 1./(-1. + gamma) -   &
                    0.5*(Cos(Pi*(x + y + z))**2 +   &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                       Sin(Pi*(x + y + z))**2)))) +   &
            ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.)/  &
             ((-1. + gamma)*Mach**2.*Prt*  &
               (357.91099999999994 +   &
                 (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                      (tRatio + (-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2))))/  &
                    ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2))*  &
                      Sqrt((-1. + gamma)*gammaM2*  &
                        (1.5 + 1./(-1. + gamma) -   &
                          0.5*(Cos(Pi*(x + y + z))**2 +   &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                              2 + Sin(Pi*(x + y + z))**2)))))**3.))))/Re -   &
       (1.*(-1. + gamma)*gammaM2*(1.5707963267948966*Cos(Pi*(x + y + z)) -   &
            1.5707963267948966*Sin(Pi*(x + y + z)))*  &
          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
          ((1.*(-1. + gamma)*gammaM2**2*(1. + tRatio)*  &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                 1.5707963267948966*Sin(Pi*(x + y + z)))*  &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
               (1.5 + 1./(-1. + gamma) -   &
                 0.5*(Cos(Pi*(x + y + z))**2 +   &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                    Sin(Pi*(x + y + z))**2))*  &
               Sqrt((-1. + gamma)*gammaM2*  &
                 (1.5 + 1./(-1. + gamma) -   &
                   0.5*(Cos(Pi*(x + y + z))**2 +   &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                      Sin(Pi*(x + y + z))**2))))/  &
             (Mach**2.*Pr*(tRatio +   &
                  (-1. + gamma)*gammaM2*  &
                   (1.5 + 1./(-1. + gamma) -   &
                     0.5*(Cos(Pi*(x + y + z))**2 +   &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                        Sin(Pi*(x + y + z))**2)))**2) -   &
            (0.5*(-1. + gamma)*gammaM2**2*(1. + tRatio)*  &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                 1.5707963267948966*Sin(Pi*(x + y + z)))*  &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
               (1.5 + 1./(-1. + gamma) -   &
                 0.5*(Cos(Pi*(x + y + z))**2 +   &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                    Sin(Pi*(x + y + z))**2)))/  &
             (Mach**2.*Pr*Sqrt((-1. + gamma)*gammaM2*  &
                 (1.5 + 1./(-1. + gamma) -   &
                   0.5*(Cos(Pi*(x + y + z))**2 +   &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                      Sin(Pi*(x + y + z))**2)))*  &
               (tRatio + (-1. + gamma)*gammaM2*  &
                  (1.5 + 1./(-1. + gamma) -   &
                    0.5*(Cos(Pi*(x + y + z))**2 +   &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                       Sin(Pi*(x + y + z))**2)))) -   &
            (1.*gammaM2*(1. + tRatio)*  &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                 1.5707963267948966*Sin(Pi*(x + y + z)))*  &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
               Sqrt((-1. + gamma)*gammaM2*  &
                 (1.5 + 1./(-1. + gamma) -   &
                   0.5*(Cos(Pi*(x + y + z))**2 +   &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                      Sin(Pi*(x + y + z))**2))))/  &
             (Mach**2.*Pr*(tRatio +   &
                 (-1. + gamma)*gammaM2*  &
                  (1.5 + 1./(-1. + gamma) -   &
                    0.5*(Cos(Pi*(x + y + z))**2 +   &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                       Sin(Pi*(x + y + z))**2)))) -   &
            (3.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**5.*  &
               ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                      1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/  &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))) +   &
                 (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                      1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    ((-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2)))**1.5) +   &
                 (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                      1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                       0.5*(Cos(Pi*(x + y + z))**2 +   &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                          Sin(Pi*(x + y + z))**2))**2*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))) +   &
                 (0.1*exp(z)*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))) -   &
                 ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2))))))/  &
             ((-1. + gamma)*Mach**2.*Prt*  &
               (357.91099999999994 +   &
                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))))**3.)**2) +   &
            (0.1*exp(z)*Cos(Pi*(x + y + z))*  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.)/  &
             ((-1. + gamma)*Mach**2.*Prt*  &
               (357.91099999999994 +   &
                 (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                      (tRatio + (-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2))))/  &
                    ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2))*  &
                      Sqrt((-1. + gamma)*gammaM2*  &
                        (1.5 + 1./(-1. + gamma) -   &
                          0.5*(Cos(Pi*(x + y + z))**2 +   &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                              2 + Sin(Pi*(x + y + z))**2)))))**3.)) -   &
            ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))*  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**3.)/  &
             ((-1. + gamma)*Mach**2.*Prt*  &
               (357.91099999999994 +   &
                 (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                      (tRatio + (-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2))))/  &
                    ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2))*  &
                      Sqrt((-1. + gamma)*gammaM2*  &
                        (1.5 + 1./(-1. + gamma) -   &
                          0.5*(Cos(Pi*(x + y + z))**2 +   &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                              2 + Sin(Pi*(x + y + z))**2)))))**3.)) +   &
            (3.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))))**2.*  &
               ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                      1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/  &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))) +   &
                 (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                      1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    ((-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2)))**1.5) +   &
                 (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                    (1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                      1.5707963267948966*Sin(Pi*(x + y + z)))*  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                       0.5*(Cos(Pi*(x + y + z))**2 +   &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                          Sin(Pi*(x + y + z))**2))**2*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))) +   &
                 (0.1*exp(z)*Cos(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2)))) -   &
                 ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))*  &
                    (tRatio + (-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))))/  &
                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2))*  &
                    Sqrt((-1. + gamma)*gammaM2*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2))))))/  &
             ((-1. + gamma)*Mach**2.*Prt*  &
               (357.91099999999994 +   &
                 (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                      (tRatio + (-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2))))/  &
                    ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                      (1.5 + 1./(-1. + gamma) -   &
                        0.5*(Cos(Pi*(x + y + z))**2 +   &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                           Sin(Pi*(x + y + z))**2))*  &
                      Sqrt((-1. + gamma)*gammaM2*  &
                        (1.5 + 1./(-1. + gamma) -   &
                          0.5*(Cos(Pi*(x + y + z))**2 +   &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                              2 + Sin(Pi*(x + y + z))**2)))))**3.))))/Re 


            S(6) =         -0.1*exp(x)*Cos(Pi*(x + y + z))**2 -  &
       (1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Cos(Pi*(x + y + z))**2 -  &
       (1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
        (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
          1.5707963267948966*Sin(Pi*(x + y + z))) -  &
       0.1*exp(z)*Cos(Pi*(x + y + z))* &
        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))) -  &
       0.1*exp(y)*Cos(Pi*(x + y + z))*Sin(Pi*(x + y + z)) +  &
       2*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Cos(Pi*(x + y + z))* &
        Sin(Pi*(x + y + z)) + (1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi* &
        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*Sin(Pi*(x + y + z)) +  &
       (1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))**2 -  &
       (14.137166941154069*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
          (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
            1.5707963267948966*Sin(Pi*(x + y + z)))* &
          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*Sin(Pi*(x + y + z))* &
          (1.5 + 1./(-1. + gamma) -  &
            0.5*(Cos(Pi*(x + y + z))**2 +  &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
               Sin(Pi*(x + y + z))**2))* &
          Sqrt((-1. + gamma)*gammaM2* &
            (1.5 + 1./(-1. + gamma) -  &
              0.5*(Cos(Pi*(x + y + z))**2 +  &
                 (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                 Sin(Pi*(x + y + z))**2)))* &
          (1. + ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
               (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
             ((-1. + gamma)*gammaM2*(1. + tRatio)* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))))))/ &
        (Re*(tRatio + (-1. + gamma)*gammaM2* &
              (1.5 + 1./(-1. + gamma) -  &
                0.5*(Cos(Pi*(x + y + z))**2 +  &
                   (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                   Sin(Pi*(x + y + z))**2)))**2) +  &
       (7.0685834705770345*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
          (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
            1.5707963267948966*Sin(Pi*(x + y + z)))* &
          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*Sin(Pi*(x + y + z))* &
          (1.5 + 1./(-1. + gamma) -  &
            0.5*(Cos(Pi*(x + y + z))**2 +  &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
               Sin(Pi*(x + y + z))**2))* &
          (1. + ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
               (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
             ((-1. + gamma)*gammaM2*(1. + tRatio)* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))))))/ &
        (Re*Sqrt((-1. + gamma)*gammaM2* &
            (1.5 + 1./(-1. + gamma) -  &
              0.5*(Cos(Pi*(x + y + z))**2 +  &
                 (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                 Sin(Pi*(x + y + z))**2)))* &
          (tRatio + (-1. + gamma)*gammaM2* &
             (1.5 + 1./(-1. + gamma) -  &
               0.5*(Cos(Pi*(x + y + z))**2 +  &
                  (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                  Sin(Pi*(x + y + z))**2)))) +  &
       (14.137166941154069*(-1. + gamma)*gammaM2*(1. + tRatio)* &
          (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
            1.5707963267948966*Sin(Pi*(x + y + z)))* &
          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*Sin(Pi*(x + y + z))* &
          Sqrt((-1. + gamma)*gammaM2* &
            (1.5 + 1./(-1. + gamma) -  &
              0.5*(Cos(Pi*(x + y + z))**2 +  &
                 (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                 Sin(Pi*(x + y + z))**2)))* &
          (1. + ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
               (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
             ((-1. + gamma)*gammaM2*(1. + tRatio)* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))))))/ &
        (Re*(tRatio + (-1. + gamma)*gammaM2* &
             (1.5 + 1./(-1. + gamma) -  &
               0.5*(Cos(Pi*(x + y + z))**2 +  &
                  (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                  Sin(Pi*(x + y + z))**2)))) -  &
       (44.41321980490211*(-1. + gamma)*gammaM2*(1. + tRatio)*Cos(Pi*(x + y + z))* &
          (1.5 + 1./(-1. + gamma) -  &
            0.5*(Cos(Pi*(x + y + z))**2 +  &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
               Sin(Pi*(x + y + z))**2))* &
          Sqrt((-1. + gamma)*gammaM2* &
            (1.5 + 1./(-1. + gamma) -  &
              0.5*(Cos(Pi*(x + y + z))**2 +  &
                 (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                 Sin(Pi*(x + y + z))**2)))* &
          (1. + ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
               (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
             ((-1. + gamma)*gammaM2*(1. + tRatio)* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))))))/ &
        (Re*(tRatio + (-1. + gamma)*gammaM2* &
             (1.5 + 1./(-1. + gamma) -  &
               0.5*(Cos(Pi*(x + y + z))**2 +  &
                  (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                  Sin(Pi*(x + y + z))**2)))) -  &
       (4.71238898038469*(-1. + gamma)*gammaM2*(1. + tRatio)*Sin(Pi*(x + y + z))* &
          (1.5 + 1./(-1. + gamma) -  &
            0.5*(Cos(Pi*(x + y + z))**2 +  &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
               Sin(Pi*(x + y + z))**2))* &
          Sqrt((-1. + gamma)*gammaM2* &
            (1.5 + 1./(-1. + gamma) -  &
              0.5*(Cos(Pi*(x + y + z))**2 +  &
                 (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                 Sin(Pi*(x + y + z))**2)))* &
          ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/ &
             ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))) +  &
            (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
               (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
             ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               ((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))**1.5) +  &
            (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
               (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
             ((-1. + gamma)*gammaM2*(1. + tRatio)* &
               (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))**2* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))) +  &
            (0.1*exp(x)*Cos(Pi*(x + y + z))* &
               (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
             ((-1. + gamma)*gammaM2*(1. + tRatio)* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))) -  &
            ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))* &
               (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
             ((-1. + gamma)*gammaM2*(1. + tRatio)* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))))))/ &
        (Re*(tRatio + (-1. + gamma)*gammaM2* &
             (1.5 + 1./(-1. + gamma) -  &
               0.5*(Cos(Pi*(x + y + z))**2 +  &
                  (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                  Sin(Pi*(x + y + z))**2)))) -  &
       (4.71238898038469*(-1. + gamma)*gammaM2*(1. + tRatio)*Sin(Pi*(x + y + z))* &
          (1.5 + 1./(-1. + gamma) -  &
            0.5*(Cos(Pi*(x + y + z))**2 +  &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
               Sin(Pi*(x + y + z))**2))* &
          Sqrt((-1. + gamma)*gammaM2* &
            (1.5 + 1./(-1. + gamma) -  &
              0.5*(Cos(Pi*(x + y + z))**2 +  &
                 (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                 Sin(Pi*(x + y + z))**2)))* &
          ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/ &
             ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))) +  &
            (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
               (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
             ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               ((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))**1.5) +  &
            (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
               (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
             ((-1. + gamma)*gammaM2*(1. + tRatio)* &
               (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))**2* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))) +  &
            (0.1*exp(y)*Cos(Pi*(x + y + z))* &
               (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
             ((-1. + gamma)*gammaM2*(1. + tRatio)* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))) -  &
            ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))* &
               (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
             ((-1. + gamma)*gammaM2*(1. + tRatio)* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))))))/ &
        (Re*(tRatio + (-1. + gamma)*gammaM2* &
             (1.5 + 1./(-1. + gamma) -  &
               0.5*(Cos(Pi*(x + y + z))**2 +  &
                  (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                  Sin(Pi*(x + y + z))**2)))) -  &
       (4.71238898038469*(-1. + gamma)*gammaM2*(1. + tRatio)*Sin(Pi*(x + y + z))* &
          (1.5 + 1./(-1. + gamma) -  &
            0.5*(Cos(Pi*(x + y + z))**2 +  &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
               Sin(Pi*(x + y + z))**2))* &
          Sqrt((-1. + gamma)*gammaM2* &
            (1.5 + 1./(-1. + gamma) -  &
              0.5*(Cos(Pi*(x + y + z))**2 +  &
                 (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                 Sin(Pi*(x + y + z))**2)))* &
          ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/ &
             ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))) +  &
            (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
               (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
             ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               ((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))**1.5) +  &
            (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
               (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
             ((-1. + gamma)*gammaM2*(1. + tRatio)* &
               (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))**2* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))) +  &
            (0.1*exp(z)*Cos(Pi*(x + y + z))* &
               (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
             ((-1. + gamma)*gammaM2*(1. + tRatio)* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))) -  &
            ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))* &
               (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
             ((-1. + gamma)*gammaM2*(1. + tRatio)* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))))))/ &
        (Re*(tRatio + (-1. + gamma)*gammaM2* &
             (1.5 + 1./(-1. + gamma) -  &
               0.5*(Cos(Pi*(x + y + z))**2 +  &
                  (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                  Sin(Pi*(x + y + z))**2)))) 




        if (sbar .GE. (-cv2 * somega * Re)) then 

                S(6) = S(6)  +           (-2.0051747451504216*cwone*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
          Cos(Pi*(x + y + z))**2.*  &
          (Min(2.,(5.948839976204641*Cos(Pi*(x + y + z)))/  &
              (dwall**2*Re*(Sqrt((1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                       Pi*Cos(Pi*(x + y + z)) -   &
                       1.5707963267948966*Sin(Pi*(x + y + z)))**2 +   &
                    (-1.5707963267948966*Cos(Pi*(x + y + z)) +   &
                       1.5707963267948966*Sin(Pi*(x + y + z)) -   &
                       Pi*Sin(Pi*(x + y + z)))**2 +   &
                    (Pi*Cos(Pi*(x + y + z)) + Pi*Sin(Pi*(x + y + z)))**2.) +   &
                  (5.948839976204641*Cos(Pi*(x + y + z))*  &
                     (1. - ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                          Cos(Pi*(x + y + z))*  &
                          (tRatio +   &
                            (-1. + gamma)*gammaM2*  &
                             (1.5 + 1./(-1. + gamma) -   &
                               0.5*  &
                                (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                        ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))*  &
                          Sqrt((-1. + gamma)*gammaM2*  &
                            (1.5 + 1./(-1. + gamma) -   &
                              0.5*  &
                               (Cos(Pi*(x + y + z))**2 +   &
                                 (0.5*Cos(Pi*(x + y + z)) +   &
                                 0.5*Sin(Pi*(x + y + z)))**2 +   &
                                 Sin(Pi*(x + y + z))**2)))*  &
                          (1. + ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                               Cos(Pi*(x + y + z))*  &
                               (tRatio +   &
                                 (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                               (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))))**3.)/  &
                             ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                               (1.5 + 1./(-1. + gamma) -   &
                                 0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                               Sqrt((-1. + gamma)*gammaM2*  &
                                 (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                               (357.91099999999994 +   &
                                 (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))))**3.))))))/  &
                   (dwall**2.*Re)))) +   &
            0.3*(-Min(2.,(5.948839976204641*Cos(Pi*(x + y + z)))/  &
                  (dwall**2*Re*(Sqrt((1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                           Pi*Cos(Pi*(x + y + z)) -   &
                           1.5707963267948966*Sin(Pi*(x + y + z)))**2 +   &
                        (-1.5707963267948966*Cos(Pi*(x + y + z)) +   &
                           1.5707963267948966*Sin(Pi*(x + y + z)) -   &
                           Pi*Sin(Pi*(x + y + z)))**2 +   &
                        (Pi*Cos(Pi*(x + y + z)) + Pi*Sin(Pi*(x + y + z)))**2.) +   &
                      (5.948839976204641*Cos(Pi*(x + y + z))*  &
                         (1. - ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                              Cos(Pi*(x + y + z))*  &
                              (tRatio +   &
                                (-1. + gamma)*gammaM2*  &
                                 (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                            ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                              (1.5 + 1./(-1. + gamma) -   &
                                0.5*  &
                                 (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                              Sqrt((-1. + gamma)*gammaM2*  &
                                (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                              (1. +   &
                                ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))))**3.)/  &
                                 ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                                  (357.91099999999994 +   &
                                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))))**3.))))))/  &
                       (dwall**2.*Re)))) +   &
               Min(2.,(5.948839976204641*Cos(Pi*(x + y + z)))/  &
                  (dwall**2*Re*(Sqrt((1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                           Pi*Cos(Pi*(x + y + z)) -   &
                           1.5707963267948966*Sin(Pi*(x + y + z)))**2 +   &
                        (-1.5707963267948966*Cos(Pi*(x + y + z)) +   &
                           1.5707963267948966*Sin(Pi*(x + y + z)) -   &
                           Pi*Sin(Pi*(x + y + z)))**2 +   &
                        (Pi*Cos(Pi*(x + y + z)) + Pi*Sin(Pi*(x + y + z)))**2.) +   &
                      (5.948839976204641*Cos(Pi*(x + y + z))*  &
                         (1. - ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                              Cos(Pi*(x + y + z))*  &
                              (tRatio +   &
                                (-1. + gamma)*gammaM2*  &
                                 (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                            ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                              (1.5 + 1./(-1. + gamma) -   &
                                0.5*  &
                                 (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                              Sqrt((-1. + gamma)*gammaM2*  &
                                (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                              (1. +   &
                                ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))))**3.)/  &
                                 ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                                  (357.91099999999994 +   &
                                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))))**3.))))))/  &
                       (dwall**2.*Re))))**6.))*  &
          (1/(64. + (Min(2.,(5.948839976204641*Cos(Pi*(x + y + z)))/  &
                    (dwall**2*Re*(Sqrt((1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                             Pi*Cos(Pi*(x + y + z)) -   &
                             1.5707963267948966*Sin(Pi*(x + y + z)))**2 +   &
                          (-1.5707963267948966*Cos(Pi*(x + y + z)) +   &
                             1.5707963267948966*Sin(Pi*(x + y + z)) -   &
                             Pi*Sin(Pi*(x + y + z)))**2 +   &
                          (Pi*Cos(Pi*(x + y + z)) + Pi*Sin(Pi*(x + y + z)))**2.) +   &
                        (5.948839976204641*Cos(Pi*(x + y + z))*  &
                           (1. - ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                Cos(Pi*(x + y + z))*  &
                                (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                              ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                                (1. +   &
                                  ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))))**3.)/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                                  (357.91099999999994 +   &
                                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))))**3.))))))/  &
                         (dwall**2.*Re)))) +   &
                  0.3*(-Min(2.,(5.948839976204641*Cos(Pi*(x + y + z)))/  &
                        (dwall**2*Re*  &
                          (Sqrt((1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                                 Pi*Cos(Pi*(x + y + z)) -   &
                                 1.5707963267948966*Sin(Pi*(x + y + z)))**2 +   &
                              (-1.5707963267948966*Cos(Pi*(x + y + z)) +   &
                                 1.5707963267948966*Sin(Pi*(x + y + z)) -   &
                                 Pi*Sin(Pi*(x + y + z)))**2 +   &
                              (Pi*Cos(Pi*(x + y + z)) + Pi*Sin(Pi*(x + y + z)))**2.)  &
                              + (5.948839976204641*Cos(Pi*(x + y + z))*  &
                               (1. -   &
                                 ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                                  (1. +   &
                                  ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))))**3.)/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                                  (357.91099999999994 +   &
                                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))))**3.))))))/  &
                             (dwall**2.*Re)))) +   &
                     Min(2.,(5.948839976204641*Cos(Pi*(x + y + z)))/  &
                        (dwall**2*Re*  &
                          (Sqrt((1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                                 Pi*Cos(Pi*(x + y + z)) -   &
                                 1.5707963267948966*Sin(Pi*(x + y + z)))**2 +   &
                              (-1.5707963267948966*Cos(Pi*(x + y + z)) +   &
                                 1.5707963267948966*Sin(Pi*(x + y + z)) -   &
                                 Pi*Sin(Pi*(x + y + z)))**2 +   &
                              (Pi*Cos(Pi*(x + y + z)) + Pi*Sin(Pi*(x + y + z)))**2.)  &
                              + (5.948839976204641*Cos(Pi*(x + y + z))*  &
                               (1. -   &
                                 ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                                  (1. +   &
                                  ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))))**3.)/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                                  (357.91099999999994 +   &
                                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))))**3.))))))/  &
                             (dwall**2.*Re))))**6.))**6.))**0.16666666666666666)/  &
        (dwall**2*Re) + (27.625022718649113*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
          (-Sin(Pi*(x + y + z)))**2.)/Re +   &
       0.1355*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
        (Sqrt((1.5707963267948966*Cos(Pi*(x + y + z)) - Pi*Cos(Pi*(x + y + z)) -   &
               1.5707963267948966*Sin(Pi*(x + y + z)))**2 +   &
            (-1.5707963267948966*Cos(Pi*(x + y + z)) +   &
               1.5707963267948966*Sin(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))**2  &
             + (Pi*Cos(Pi*(x + y + z)) + Pi*Sin(Pi*(x + y + z)))**2.) +   &
          (5.948839976204641*Cos(Pi*(x + y + z))*  &
             (1. - ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                  (tRatio + (-1. + gamma)*gammaM2*  &
                     (1.5 + 1./(-1. + gamma) -   &
                       0.5*(Cos(Pi*(x + y + z))**2 +   &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                          Sin(Pi*(x + y + z))**2))))/  &
                ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                  (1.5 + 1./(-1. + gamma) -   &
                    0.5*(Cos(Pi*(x + y + z))**2 +   &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                       Sin(Pi*(x + y + z))**2))*  &
                  Sqrt((-1. + gamma)*gammaM2*  &
                    (1.5 + 1./(-1. + gamma) -   &
                      0.5*(Cos(Pi*(x + y + z))**2 +   &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                         Sin(Pi*(x + y + z))**2)))*  &
                  (1. + ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2)))*  &
                       (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                            (tRatio +   &
                              (-1. + gamma)*gammaM2*  &
                               (1.5 + 1./(-1. + gamma) -   &
                                 0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                          ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                            (1.5 + 1./(-1. + gamma) -   &
                              0.5*  &
                               (Cos(Pi*(x + y + z))**2 +   &
                                 (0.5*Cos(Pi*(x + y + z)) +   &
                                 0.5*Sin(Pi*(x + y + z)))**2 +   &
                                 Sin(Pi*(x + y + z))**2))*  &
                            Sqrt((-1. + gamma)*gammaM2*  &
                              (1.5 + 1./(-1. + gamma) -   &
                                0.5*  &
                                 (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))))**3.)/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))*  &
                       (357.91099999999994 +   &
                         (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                              Cos(Pi*(x + y + z))*  &
                              (tRatio +   &
                                (-1. + gamma)*gammaM2*  &
                                 (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                            ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                              (1.5 + 1./(-1. + gamma) -   &
                                0.5*  &
                                 (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                              Sqrt((-1. + gamma)*gammaM2*  &
                                (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))))**3.))))))/  &
           (dwall**2.*Re))  





            else




                S(6) = S(6)  +         (-2.0051747451504216*cwone*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
          Cos(Pi*(x + y + z))**2.*  &
          (Min(2.,(5.948839976204641*Cos(Pi*(x + y + z)))/  &
              (dwall**2*Re*(Sqrt((1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                       Pi*Cos(Pi*(x + y + z)) -   &
                       1.5707963267948966*Sin(Pi*(x + y + z)))**2 +   &
                    (-1.5707963267948966*Cos(Pi*(x + y + z)) +   &
                       1.5707963267948966*Sin(Pi*(x + y + z)) -   &
                       Pi*Sin(Pi*(x + y + z)))**2 +   &
                    (Pi*Cos(Pi*(x + y + z)) + Pi*Sin(Pi*(x + y + z)))**2.) +   &
                  (Sqrt((1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                          Pi*Cos(Pi*(x + y + z)) -   &
                          1.5707963267948966*Sin(Pi*(x + y + z)))**2 +   &
                       (-1.5707963267948966*Cos(Pi*(x + y + z)) +   &
                          1.5707963267948966*Sin(Pi*(x + y + z)) -   &
                          Pi*Sin(Pi*(x + y + z)))**2 +   &
                       (Pi*Cos(Pi*(x + y + z)) + Pi*Sin(Pi*(x + y + z)))**2.)*  &
                     (0.48999999999999994*  &
                        Sqrt((1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                             Pi*Cos(Pi*(x + y + z)) -   &
                             1.5707963267948966*Sin(Pi*(x + y + z)))**2 +   &
                          (-1.5707963267948966*Cos(Pi*(x + y + z)) +   &
                             1.5707963267948966*Sin(Pi*(x + y + z)) -   &
                             Pi*Sin(Pi*(x + y + z)))**2 +   &
                          (Pi*Cos(Pi*(x + y + z)) + Pi*Sin(Pi*(x + y + z)))**2.) +   &
                       (5.353955978584177*Cos(Pi*(x + y + z))*  &
                          (1. - ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                               Cos(Pi*(x + y + z))*  &
                               (tRatio +   &
                                 (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                             ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                               (1.5 + 1./(-1. + gamma) -   &
                                 0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                               Sqrt((-1. + gamma)*gammaM2*  &
                                 (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                               (1. +   &
                                 ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))))**3.)/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                                  (357.91099999999994 +   &
                                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))))**3.))))))/  &
                        (dwall**2.*Re)))/  &
                   (-0.4999999999999999*  &
                      Sqrt((1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                           Pi*Cos(Pi*(x + y + z)) -   &
                           1.5707963267948966*Sin(Pi*(x + y + z)))**2 +   &
                        (-1.5707963267948966*Cos(Pi*(x + y + z)) +   &
                           1.5707963267948966*Sin(Pi*(x + y + z)) -   &
                           Pi*Sin(Pi*(x + y + z)))**2 +   &
                        (Pi*Cos(Pi*(x + y + z)) + Pi*Sin(Pi*(x + y + z)))**2.) -   &
                     (5.948839976204641*Cos(Pi*(x + y + z))*  &
                        (1. - ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                             Cos(Pi*(x + y + z))*  &
                             (tRatio +   &
                               (-1. + gamma)*gammaM2*  &
                                (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                           ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                             (1.5 + 1./(-1. + gamma) -   &
                               0.5*  &
                                (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                             Sqrt((-1. + gamma)*gammaM2*  &
                               (1.5 + 1./(-1. + gamma) -   &
                                 0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                             (1. +   &
                               ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))))**3.)/  &
                                ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                                  (357.91099999999994 +   &
                                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))))**3.))))))/  &
                      (dwall**2.*Re))))) +   &
            0.3*(-Min(2.,(5.948839976204641*Cos(Pi*(x + y + z)))/  &
                  (dwall**2*Re*(Sqrt((1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                           Pi*Cos(Pi*(x + y + z)) -   &
                           1.5707963267948966*Sin(Pi*(x + y + z)))**2 +   &
                        (-1.5707963267948966*Cos(Pi*(x + y + z)) +   &
                           1.5707963267948966*Sin(Pi*(x + y + z)) -   &
                           Pi*Sin(Pi*(x + y + z)))**2 +   &
                        (Pi*Cos(Pi*(x + y + z)) + Pi*Sin(Pi*(x + y + z)))**2.) +   &
                      (Sqrt((1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                              Pi*Cos(Pi*(x + y + z)) -   &
                              1.5707963267948966*Sin(Pi*(x + y + z)))**2 +   &
                           (-1.5707963267948966*Cos(Pi*(x + y + z)) +   &
                              1.5707963267948966*Sin(Pi*(x + y + z)) -   &
                              Pi*Sin(Pi*(x + y + z)))**2 +   &
                           (Pi*Cos(Pi*(x + y + z)) + Pi*Sin(Pi*(x + y + z)))**2.)*  &
                         (0.48999999999999994*  &
                            Sqrt((1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                                 Pi*Cos(Pi*(x + y + z)) -   &
                                 1.5707963267948966*Sin(Pi*(x + y + z)))**2 +   &
                              (-1.5707963267948966*Cos(Pi*(x + y + z)) +   &
                                 1.5707963267948966*Sin(Pi*(x + y + z)) -   &
                                 Pi*Sin(Pi*(x + y + z)))**2 +   &
                              (Pi*Cos(Pi*(x + y + z)) + Pi*Sin(Pi*(x + y + z)))**2.)  &
                             + (5.353955978584177*Cos(Pi*(x + y + z))*  &
                              (1. -   &
                                ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                                 ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                                  (1. +   &
                                  ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))))**3.)/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                                  (357.91099999999994 +   &
                                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))))**3.))))))/  &
                            (dwall**2.*Re)))/  &
                       (-0.4999999999999999*  &
                          Sqrt((1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                               Pi*Cos(Pi*(x + y + z)) -   &
                               1.5707963267948966*Sin(Pi*(x + y + z)))**2 +   &
                            (-1.5707963267948966*Cos(Pi*(x + y + z)) +   &
                               1.5707963267948966*Sin(Pi*(x + y + z)) -   &
                               Pi*Sin(Pi*(x + y + z)))**2 +   &
                            (Pi*Cos(Pi*(x + y + z)) + Pi*Sin(Pi*(x + y + z)))**2.)  &
                          - (5.948839976204641*Cos(Pi*(x + y + z))*  &
                            (1. -   &
                              ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                 Cos(Pi*(x + y + z))*  &
                                 (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                               ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                 (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                 Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                                 (1. +   &
                                  ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))))**3.)/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                                  (357.91099999999994 +   &
                                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))))**3.))))))/  &
                          (dwall**2.*Re))))) +   &
               Min(2.,(5.948839976204641*Cos(Pi*(x + y + z)))/  &
                  (dwall**2*Re*(Sqrt((1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                           Pi*Cos(Pi*(x + y + z)) -   &
                           1.5707963267948966*Sin(Pi*(x + y + z)))**2 +   &
                        (-1.5707963267948966*Cos(Pi*(x + y + z)) +   &
                           1.5707963267948966*Sin(Pi*(x + y + z)) -   &
                           Pi*Sin(Pi*(x + y + z)))**2 +   &
                        (Pi*Cos(Pi*(x + y + z)) + Pi*Sin(Pi*(x + y + z)))**2.) +   &
                      (Sqrt((1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                              Pi*Cos(Pi*(x + y + z)) -   &
                              1.5707963267948966*Sin(Pi*(x + y + z)))**2 +   &
                           (-1.5707963267948966*Cos(Pi*(x + y + z)) +   &
                              1.5707963267948966*Sin(Pi*(x + y + z)) -   &
                              Pi*Sin(Pi*(x + y + z)))**2 +   &
                           (Pi*Cos(Pi*(x + y + z)) + Pi*Sin(Pi*(x + y + z)))**2.)*  &
                         (0.48999999999999994*  &
                            Sqrt((1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                                 Pi*Cos(Pi*(x + y + z)) -   &
                                 1.5707963267948966*Sin(Pi*(x + y + z)))**2 +   &
                              (-1.5707963267948966*Cos(Pi*(x + y + z)) +   &
                                 1.5707963267948966*Sin(Pi*(x + y + z)) -   &
                                 Pi*Sin(Pi*(x + y + z)))**2 +   &
                              (Pi*Cos(Pi*(x + y + z)) + Pi*Sin(Pi*(x + y + z)))**2.)  &
                             + (5.353955978584177*Cos(Pi*(x + y + z))*  &
                              (1. -   &
                                ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                                 ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                                  (1. +   &
                                  ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))))**3.)/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                                  (357.91099999999994 +   &
                                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))))**3.))))))/  &
                            (dwall**2.*Re)))/  &
                       (-0.4999999999999999*  &
                          Sqrt((1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                               Pi*Cos(Pi*(x + y + z)) -   &
                               1.5707963267948966*Sin(Pi*(x + y + z)))**2 +   &
                            (-1.5707963267948966*Cos(Pi*(x + y + z)) +   &
                               1.5707963267948966*Sin(Pi*(x + y + z)) -   &
                               Pi*Sin(Pi*(x + y + z)))**2 +   &
                            (Pi*Cos(Pi*(x + y + z)) + Pi*Sin(Pi*(x + y + z)))**2.)  &
                          - (5.948839976204641*Cos(Pi*(x + y + z))*  &
                            (1. -   &
                              ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                 Cos(Pi*(x + y + z))*  &
                                 (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                               ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                 (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                 Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                                 (1. +   &
                                  ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))))**3.)/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                                  (357.91099999999994 +   &
                                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))))**3.))))))/  &
                          (dwall**2.*Re)))))**6.))*  &
          (1/(64. + (Min(2.,(5.948839976204641*Cos(Pi*(x + y + z)))/  &
                    (dwall**2*Re*(Sqrt((1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                             Pi*Cos(Pi*(x + y + z)) -   &
                             1.5707963267948966*Sin(Pi*(x + y + z)))**2 +   &
                          (-1.5707963267948966*Cos(Pi*(x + y + z)) +   &
                             1.5707963267948966*Sin(Pi*(x + y + z)) -   &
                             Pi*Sin(Pi*(x + y + z)))**2 +   &
                          (Pi*Cos(Pi*(x + y + z)) + Pi*Sin(Pi*(x + y + z)))**2.) +   &
                        (Sqrt((1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                                Pi*Cos(Pi*(x + y + z)) -   &
                                1.5707963267948966*Sin(Pi*(x + y + z)))**2 +   &
                             (-1.5707963267948966*Cos(Pi*(x + y + z)) +   &
                                1.5707963267948966*Sin(Pi*(x + y + z)) -   &
                                Pi*Sin(Pi*(x + y + z)))**2 +   &
                             (Pi*Cos(Pi*(x + y + z)) + Pi*Sin(Pi*(x + y + z)))**2.)*  &
                           (0.48999999999999994*  &
                              Sqrt((1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                                  Pi*Cos(Pi*(x + y + z)) -   &
                                  1.5707963267948966*Sin(Pi*(x + y + z)))**2 +   &
                                (-1.5707963267948966*Cos(Pi*(x + y + z)) +   &
                                  1.5707963267948966*Sin(Pi*(x + y + z)) -   &
                                  Pi*Sin(Pi*(x + y + z)))**2 +   &
                                (Pi*Cos(Pi*(x + y + z)) + Pi*Sin(Pi*(x + y + z)))**  &
                                 2.) +   &
                             (5.353955978584177*Cos(Pi*(x + y + z))*  &
                                (1. -   &
                                  ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                                  (1. +   &
                                  ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))))**3.)/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                                  (357.91099999999994 +   &
                                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))))**3.))))))/  &
                              (dwall**2.*Re)))/  &
                         (-0.4999999999999999*  &
                            Sqrt((1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                                 Pi*Cos(Pi*(x + y + z)) -   &
                                 1.5707963267948966*Sin(Pi*(x + y + z)))**2 +   &
                              (-1.5707963267948966*Cos(Pi*(x + y + z)) +   &
                                 1.5707963267948966*Sin(Pi*(x + y + z)) -   &
                                 Pi*Sin(Pi*(x + y + z)))**2 +   &
                              (Pi*Cos(Pi*(x + y + z)) + Pi*Sin(Pi*(x + y + z)))**2.)  &
                             - (5.948839976204641*Cos(Pi*(x + y + z))*  &
                              (1. -   &
                                ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                                 ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                                  (1. +   &
                                  ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))))**3.)/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                                  (357.91099999999994 +   &
                                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))))**3.))))))/  &
                            (dwall**2.*Re))))) +   &
                  0.3*(-Min(2.,(5.948839976204641*Cos(Pi*(x + y + z)))/  &
                        (dwall**2*Re*  &
                          (Sqrt((1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                                 Pi*Cos(Pi*(x + y + z)) -   &
                                 1.5707963267948966*Sin(Pi*(x + y + z)))**2 +   &
                              (-1.5707963267948966*Cos(Pi*(x + y + z)) +   &
                                 1.5707963267948966*Sin(Pi*(x + y + z)) -   &
                                 Pi*Sin(Pi*(x + y + z)))**2 +   &
                              (Pi*Cos(Pi*(x + y + z)) + Pi*Sin(Pi*(x + y + z)))**2.)  &
                              + (Sqrt((1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                                  Pi*Cos(Pi*(x + y + z)) -   &
                                  1.5707963267948966*Sin(Pi*(x + y + z)))**2 +   &
                                 (-1.5707963267948966*Cos(Pi*(x + y + z)) +   &
                                  1.5707963267948966*Sin(Pi*(x + y + z)) -   &
                                  Pi*Sin(Pi*(x + y + z)))**2 +   &
                                 (Pi*Cos(Pi*(x + y + z)) + Pi*Sin(Pi*(x + y + z)))**  &
                                  2.)*  &
                               (0.48999999999999994*  &
                                  Sqrt((1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                                  Pi*Cos(Pi*(x + y + z)) -   &
                                  1.5707963267948966*Sin(Pi*(x + y + z)))**2 +   &
                                  (-1.5707963267948966*Cos(Pi*(x + y + z)) +   &
                                  1.5707963267948966*Sin(Pi*(x + y + z)) -   &
                                  Pi*Sin(Pi*(x + y + z)))**2 +   &
                                  (Pi*Cos(Pi*(x + y + z)) +   &
                                 Pi*Sin(Pi*(x + y + z)))**2.) +   &
                                 (5.353955978584177*Cos(Pi*(x + y + z))*  &
                                  (1. -   &
                                  ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                                  (1. +   &
                                  ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))))**3.)/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                                  (357.91099999999994 +   &
                                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))))**3.))))))/  &
                                  (dwall**2.*Re)))/  &
                             (-0.4999999999999999*  &
                                Sqrt((1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                                  Pi*Cos(Pi*(x + y + z)) -   &
                                  1.5707963267948966*Sin(Pi*(x + y + z)))**2 +   &
                                  (-1.5707963267948966*Cos(Pi*(x + y + z)) +   &
                                  1.5707963267948966*Sin(Pi*(x + y + z)) -   &
                                  Pi*Sin(Pi*(x + y + z)))**2 +   &
                                  (Pi*Cos(Pi*(x + y + z)) +   &
                                 Pi*Sin(Pi*(x + y + z)))**2.) -   &
                               (5.948839976204641*Cos(Pi*(x + y + z))*  &
                                  (1. -   &
                                  ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                                  (1. +   &
                                  ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))))**3.)/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                                  (357.91099999999994 +   &
                                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))))**3.))))))/  &
                                (dwall**2.*Re))))) +   &
                     Min(2.,(5.948839976204641*Cos(Pi*(x + y + z)))/  &
                        (dwall**2*Re*  &
                          (Sqrt((1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                                 Pi*Cos(Pi*(x + y + z)) -   &
                                 1.5707963267948966*Sin(Pi*(x + y + z)))**2 +   &
                              (-1.5707963267948966*Cos(Pi*(x + y + z)) +   &
                                 1.5707963267948966*Sin(Pi*(x + y + z)) -   &
                                 Pi*Sin(Pi*(x + y + z)))**2 +   &
                              (Pi*Cos(Pi*(x + y + z)) + Pi*Sin(Pi*(x + y + z)))**2.)  &
                              + (Sqrt((1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                                  Pi*Cos(Pi*(x + y + z)) -   &
                                  1.5707963267948966*Sin(Pi*(x + y + z)))**2 +   &
                                 (-1.5707963267948966*Cos(Pi*(x + y + z)) +   &
                                  1.5707963267948966*Sin(Pi*(x + y + z)) -   &
                                  Pi*Sin(Pi*(x + y + z)))**2 +   &
                                 (Pi*Cos(Pi*(x + y + z)) + Pi*Sin(Pi*(x + y + z)))**  &
                                  2.)*  &
                               (0.48999999999999994*  &
                                  Sqrt((1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                                  Pi*Cos(Pi*(x + y + z)) -   &
                                  1.5707963267948966*Sin(Pi*(x + y + z)))**2 +   &
                                  (-1.5707963267948966*Cos(Pi*(x + y + z)) +   &
                                  1.5707963267948966*Sin(Pi*(x + y + z)) -   &
                                  Pi*Sin(Pi*(x + y + z)))**2 +   &
                                  (Pi*Cos(Pi*(x + y + z)) +   &
                                 Pi*Sin(Pi*(x + y + z)))**2.) +   &
                                 (5.353955978584177*Cos(Pi*(x + y + z))*  &
                                  (1. -   &
                                  ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                                  (1. +   &
                                  ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))))**3.)/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                                  (357.91099999999994 +   &
                                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))))**3.))))))/  &
                                  (dwall**2.*Re)))/  &
                             (-0.4999999999999999*  &
                                Sqrt((1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                                  Pi*Cos(Pi*(x + y + z)) -   &
                                  1.5707963267948966*Sin(Pi*(x + y + z)))**2 +   &
                                  (-1.5707963267948966*Cos(Pi*(x + y + z)) +   &
                                  1.5707963267948966*Sin(Pi*(x + y + z)) -   &
                                  Pi*Sin(Pi*(x + y + z)))**2 +   &
                                  (Pi*Cos(Pi*(x + y + z)) +   &
                                 Pi*Sin(Pi*(x + y + z)))**2.) -   &
                               (5.948839976204641*Cos(Pi*(x + y + z))*  &
                                  (1. -   &
                                  ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                                  (1. +   &
                                  ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))))**3.)/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                                  (357.91099999999994 +   &
                                  (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                                  ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))))**3.))))))/  &
                                (dwall**2.*Re)))))**6.))**6.))**0.16666666666666666)  &
         /(dwall**2*Re) + (27.625022718649113*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
          (-Sin(Pi*(x + y + z)))**2.)/Re +   &
       0.1355*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
        (Sqrt((1.5707963267948966*Cos(Pi*(x + y + z)) - Pi*Cos(Pi*(x + y + z)) -   &
               1.5707963267948966*Sin(Pi*(x + y + z)))**2 +   &
            (-1.5707963267948966*Cos(Pi*(x + y + z)) +   &
               1.5707963267948966*Sin(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))**2  &
             + (Pi*Cos(Pi*(x + y + z)) + Pi*Sin(Pi*(x + y + z)))**2.) +   &
          (Sqrt((1.5707963267948966*Cos(Pi*(x + y + z)) - Pi*Cos(Pi*(x + y + z)) -   &
                  1.5707963267948966*Sin(Pi*(x + y + z)))**2 +   &
               (-1.5707963267948966*Cos(Pi*(x + y + z)) +   &
                  1.5707963267948966*Sin(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))**  &
                2 + (Pi*Cos(Pi*(x + y + z)) + Pi*Sin(Pi*(x + y + z)))**2.)*  &
             (0.48999999999999994*  &
                Sqrt((1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                     Pi*Cos(Pi*(x + y + z)) - 1.5707963267948966*Sin(Pi*(x + y + z))  &
                     )**2 + (-1.5707963267948966*Cos(Pi*(x + y + z)) +   &
                     1.5707963267948966*Sin(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z))  &
                     )**2 + (Pi*Cos(Pi*(x + y + z)) + Pi*Sin(Pi*(x + y + z)))**2.)  &
                + (5.353955978584177*Cos(Pi*(x + y + z))*  &
                  (1. - ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                       (tRatio + (-1. + gamma)*gammaM2*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))))/  &
                     ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2))*  &
                       Sqrt((-1. + gamma)*gammaM2*  &
                         (1.5 + 1./(-1. + gamma) -   &
                           0.5*(Cos(Pi*(x + y + z))**2 +   &
                              (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                               2 + Sin(Pi*(x + y + z))**2)))*  &
                       (1. + ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                            Cos(Pi*(x + y + z))*  &
                            (tRatio +   &
                              (-1. + gamma)*gammaM2*  &
                               (1.5 + 1./(-1. + gamma) -   &
                                 0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                            (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                 Cos(Pi*(x + y + z))*  &
                                 (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                               ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                 (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                 Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))))**3.)/  &
                          ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                            (1.5 + 1./(-1. + gamma) -   &
                              0.5*  &
                               (Cos(Pi*(x + y + z))**2 +   &
                                 (0.5*Cos(Pi*(x + y + z)) +   &
                                 0.5*Sin(Pi*(x + y + z)))**2 +   &
                                 Sin(Pi*(x + y + z))**2))*  &
                            Sqrt((-1. + gamma)*gammaM2*  &
                              (1.5 + 1./(-1. + gamma) -   &
                                0.5*  &
                                 (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                            (357.91099999999994 +   &
                              (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                  Cos(Pi*(x + y + z))*  &
                                  (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                                 ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                  Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))))**3.))))))/  &
                (dwall**2.*Re)))/  &
           (-0.4999999999999999*Sqrt((1.5707963267948966*Cos(Pi*(x + y + z)) -   &
                   Pi*Cos(Pi*(x + y + z)) - 1.5707963267948966*Sin(Pi*(x + y + z)))  &
                  **2 + (-1.5707963267948966*Cos(Pi*(x + y + z)) +   &
                   1.5707963267948966*Sin(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))  &
                  **2 + (Pi*Cos(Pi*(x + y + z)) + Pi*Sin(Pi*(x + y + z)))**2.) -   &
             (5.948839976204641*Cos(Pi*(x + y + z))*  &
                (1. - ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))*  &
                     (tRatio + (-1. + gamma)*gammaM2*  &
                        (1.5 + 1./(-1. + gamma) -   &
                          0.5*(Cos(Pi*(x + y + z))**2 +   &
                             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                              2 + Sin(Pi*(x + y + z))**2))))/  &
                   ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                     (1.5 + 1./(-1. + gamma) -   &
                       0.5*(Cos(Pi*(x + y + z))**2 +   &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +   &
                          Sin(Pi*(x + y + z))**2))*  &
                     Sqrt((-1. + gamma)*gammaM2*  &
                       (1.5 + 1./(-1. + gamma) -   &
                         0.5*(Cos(Pi*(x + y + z))**2 +   &
                            (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                             2 + Sin(Pi*(x + y + z))**2)))*  &
                     (1. + ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                          Cos(Pi*(x + y + z))*  &
                          (tRatio +   &
                            (-1. + gamma)*gammaM2*  &
                             (1.5 + 1./(-1. + gamma) -   &
                               0.5*  &
                                (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))*  &
                          (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                               Cos(Pi*(x + y + z))*  &
                               (tRatio +   &
                                 (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                             ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                               (1.5 + 1./(-1. + gamma) -   &
                                 0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                               Sqrt((-1. + gamma)*gammaM2*  &
                                 (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))))**3.)/  &
                        ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                          (1.5 + 1./(-1. + gamma) -   &
                            0.5*(Cos(Pi*(x + y + z))**2 +   &
                               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**  &
                                2 + Sin(Pi*(x + y + z))**2))*  &
                          Sqrt((-1. + gamma)*gammaM2*  &
                            (1.5 + 1./(-1. + gamma) -   &
                              0.5*  &
                               (Cos(Pi*(x + y + z))**2 +   &
                                 (0.5*Cos(Pi*(x + y + z)) +   &
                                 0.5*Sin(Pi*(x + y + z)))**2 +   &
                                 Sin(Pi*(x + y + z))**2)))*  &
                          (357.91099999999994 +   &
                            (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*  &
                                 Cos(Pi*(x + y + z))*  &
                                 (tRatio +   &
                                  (-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))))/  &
                               ((-1. + gamma)*gammaM2*(1. + tRatio)*  &
                                 (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2))*  &
                                 Sqrt((-1. + gamma)*gammaM2*  &
                                  (1.5 + 1./(-1. + gamma) -   &
                                  0.5*  &
                                  (Cos(Pi*(x + y + z))**2 +   &
                                  (0.5*Cos(Pi*(x + y + z)) +   &
                                  0.5*Sin(Pi*(x + y + z)))**2 +   &
                                  Sin(Pi*(x + y + z))**2)))))**3.))))))/  &
                                  (dwall**2.*Re)))  










            end if 









                else

            






            S(2) =           -0.1*exp(x)*Cos(Pi*(x + y + z))**2 -  &
       (1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Cos(Pi*(x + y + z))**2 -  &
       (1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
        (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
          1.5707963267948966*Sin(Pi*(x + y + z))) -  &
       0.1*exp(z)*Cos(Pi*(x + y + z))* &
        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))) +  &
       1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*(-1. + gamma)* &
        (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
          1.5707963267948966*Sin(Pi*(x + y + z)))* &
        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))) -  &
       0.1*exp(y)*Cos(Pi*(x + y + z))*Sin(Pi*(x + y + z)) +  &
       2*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Cos(Pi*(x + y + z))* &
        Sin(Pi*(x + y + z)) + (1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi* &
        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*Sin(Pi*(x + y + z)) +  &
       (1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))**2 -  &
       0.1*exp(x)*(-1. + gamma)*(1.5 + 1./(-1. + gamma) -  &
          0.5*(Cos(Pi*(x + y + z))**2 +  &
             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
             Sin(Pi*(x + y + z))**2)) +  &
       ((Pi*Cos(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))* &
          ((1.*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))))/ &
             (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))**2 -  &
            (0.5*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2)))/ &
             (Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))* &
               (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))) -  &
            (1.*(-1. + gamma)*gammaM2*(1. + tRatio)* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))))/ &
             (tRatio + (-1. + gamma)*gammaM2* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2)))))/Re +  &
       ((1.5707963267948966*Cos(Pi*(x + y + z)) -  &
            1.5707963267948966*Sin(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))* &
          ((1.*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))))/ &
             (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))**2 -  &
            (0.5*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2)))/ &
             (Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))* &
               (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))) -  &
            (1.*(-1. + gamma)*gammaM2*(1. + tRatio)* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))))/ &
             (tRatio + (-1. + gamma)*gammaM2* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2)))))/Re +  &
       ((-4.934802200544679*Cos(Pi*(x + y + z)) - Pi**2*Cos(Pi*(x + y + z)) -  &
            4.934802200544679*Sin(Pi*(x + y + z)))* &
          (0. + ((-1. + gamma)*gammaM2*(1. + tRatio)* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))))/ &
             (tRatio + (-1. + gamma)*gammaM2* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2)))))/Re +  &
       ((-(Pi**2*Cos(Pi*(x + y + z))) - Pi**2*Sin(Pi*(x + y + z)))* &
          (0. + ((-1. + gamma)*gammaM2*(1. + tRatio)* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))))/ &
             (tRatio + (-1. + gamma)*gammaM2* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2)))))/Re +  &
       ((-0.6666666666666666*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
             (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
               1.5707963267948966*Sin(Pi*(x + y + z)))* &
             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
             (4.71238898038469*Cos(Pi*(x + y + z)) -  &
               1.5707963267948966*Sin(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))* &
             (1.5 + 1./(-1. + gamma) -  &
               0.5*(Cos(Pi*(x + y + z))**2 +  &
                  (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                  Sin(Pi*(x + y + z))**2))* &
             Sqrt((-1. + gamma)*gammaM2* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))))/ &
           (tRatio + (-1. + gamma)*gammaM2* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2)))**2 +  &
          (0.3333333333333333*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
             (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
               1.5707963267948966*Sin(Pi*(x + y + z)))* &
             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
             (4.71238898038469*Cos(Pi*(x + y + z)) -  &
               1.5707963267948966*Sin(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))* &
             (1.5 + 1./(-1. + gamma) -  &
               0.5*(Cos(Pi*(x + y + z))**2 +  &
                  (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                  Sin(Pi*(x + y + z))**2)))/ &
           (Sqrt((-1. + gamma)*gammaM2* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2)))* &
             (tRatio + (-1. + gamma)*gammaM2* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2)))) +  &
          (0.6666666666666666*(-1. + gamma)*gammaM2*(1. + tRatio)* &
             (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
               1.5707963267948966*Sin(Pi*(x + y + z)))* &
             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
             (4.71238898038469*Cos(Pi*(x + y + z)) -  &
               1.5707963267948966*Sin(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))* &
             Sqrt((-1. + gamma)*gammaM2* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))))/ &
           (tRatio + (-1. + gamma)*gammaM2* &
              (1.5 + 1./(-1. + gamma) -  &
                0.5*(Cos(Pi*(x + y + z))**2 +  &
                   (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                   Sin(Pi*(x + y + z))**2))) -  &
          (0.6666666666666666*(-1. + gamma)*gammaM2*(1. + tRatio)* &
             (-4.934802200544679*Cos(Pi*(x + y + z)) - Pi**2*Cos(Pi*(x + y + z)) -  &
               14.804406601634037*Sin(Pi*(x + y + z)))* &
             (1.5 + 1./(-1. + gamma) -  &
               0.5*(Cos(Pi*(x + y + z))**2 +  &
                  (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                  Sin(Pi*(x + y + z))**2))* &
             Sqrt((-1. + gamma)*gammaM2* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))))/ &
           (tRatio + (-1. + gamma)*gammaM2* &
              (1.5 + 1./(-1. + gamma) -  &
                0.5*(Cos(Pi*(x + y + z))**2 +  &
                   (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                   Sin(Pi*(x + y + z))**2))) -  &
          2*Pi*Sin(Pi*(x + y + z))* &
           ((1.*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))**2 -  &
             (0.5*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2)))/ &
              (Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))* &
                (tRatio + (-1. + gamma)*gammaM2* &
                   (1.5 + 1./(-1. + gamma) -  &
                     0.5*(Cos(Pi*(x + y + z))**2 +  &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                        Sin(Pi*(x + y + z))**2)))) -  &
             (1.*(-1. + gamma)*gammaM2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))) -  &
          2*Pi**2*Cos(Pi*(x + y + z))* &
           (0. + ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))))/Re     





                        
            S(3) =              -((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Cos(Pi*(x + y + z))**2) -  &
       (1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Cos(Pi*(x + y + z))* &
        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))) +  &
       1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*(-1. + gamma)* &
        (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
          1.5707963267948966*Sin(Pi*(x + y + z)))* &
        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))) -  &
       0.1*exp(x)*Cos(Pi*(x + y + z))*Sin(Pi*(x + y + z)) -  &
       2*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Cos(Pi*(x + y + z))* &
        Sin(Pi*(x + y + z)) - (1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))* &
        (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
          1.5707963267948966*Sin(Pi*(x + y + z)))*Sin(Pi*(x + y + z)) -  &
       0.1*exp(z)*(0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
        Sin(Pi*(x + y + z)) - 0.1*exp(y)*Sin(Pi*(x + y + z))**2 +  &
       (1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))**2 -  &
       0.1*exp(y)*(-1. + gamma)*(1.5 + 1./(-1. + gamma) -  &
          0.5*(Cos(Pi*(x + y + z))**2 +  &
             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
             Sin(Pi*(x + y + z))**2)) +  &
       ((4.71238898038469*Cos(Pi*(x + y + z)) -  &
            1.5707963267948966*Sin(Pi*(x + y + z)))* &
          ((1.*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))))/ &
             (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))**2 -  &
            (0.5*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2)))/ &
             (Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))* &
               (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))) -  &
            (1.*(-1. + gamma)*gammaM2*(1. + tRatio)* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))))/ &
             (tRatio + (-1. + gamma)*gammaM2* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2)))))/Re +  &
       ((Pi*Cos(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))* &
          ((1.*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))))/ &
             (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))**2 -  &
            (0.5*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2)))/ &
             (Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))* &
               (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))) -  &
            (1.*(-1. + gamma)*gammaM2*(1. + tRatio)* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))))/ &
             (tRatio + (-1. + gamma)*gammaM2* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2)))))/Re +  &
       ((-4.934802200544679*Cos(Pi*(x + y + z)) -  &
            14.804406601634037*Sin(Pi*(x + y + z)))* &
          (0. + ((-1. + gamma)*gammaM2*(1. + tRatio)* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))))/ &
             (tRatio + (-1. + gamma)*gammaM2* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2)))))/Re +  &
       ((-(Pi**2*Cos(Pi*(x + y + z))) - Pi**2*Sin(Pi*(x + y + z)))* &
          (0. + ((-1. + gamma)*gammaM2*(1. + tRatio)* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))))/ &
             (tRatio + (-1. + gamma)*gammaM2* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2)))))/Re +  &
       ((-0.6666666666666666*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
             (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
               1.5707963267948966*Sin(Pi*(x + y + z)))* &
             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
             (4.71238898038469*Cos(Pi*(x + y + z)) -  &
               1.5707963267948966*Sin(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))* &
             (1.5 + 1./(-1. + gamma) -  &
               0.5*(Cos(Pi*(x + y + z))**2 +  &
                  (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                  Sin(Pi*(x + y + z))**2))* &
             Sqrt((-1. + gamma)*gammaM2* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))))/ &
           (tRatio + (-1. + gamma)*gammaM2* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2)))**2 +  &
          (0.3333333333333333*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
             (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
               1.5707963267948966*Sin(Pi*(x + y + z)))* &
             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
             (4.71238898038469*Cos(Pi*(x + y + z)) -  &
               1.5707963267948966*Sin(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))* &
             (1.5 + 1./(-1. + gamma) -  &
               0.5*(Cos(Pi*(x + y + z))**2 +  &
                  (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                  Sin(Pi*(x + y + z))**2)))/ &
           (Sqrt((-1. + gamma)*gammaM2* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2)))* &
             (tRatio + (-1. + gamma)*gammaM2* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2)))) +  &
          (0.6666666666666666*(-1. + gamma)*gammaM2*(1. + tRatio)* &
             (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
               1.5707963267948966*Sin(Pi*(x + y + z)))* &
             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
             (4.71238898038469*Cos(Pi*(x + y + z)) -  &
               1.5707963267948966*Sin(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))* &
             Sqrt((-1. + gamma)*gammaM2* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))))/ &
           (tRatio + (-1. + gamma)*gammaM2* &
              (1.5 + 1./(-1. + gamma) -  &
                0.5*(Cos(Pi*(x + y + z))**2 +  &
                   (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                   Sin(Pi*(x + y + z))**2))) -  &
          (0.6666666666666666*(-1. + gamma)*gammaM2*(1. + tRatio)* &
             (-4.934802200544679*Cos(Pi*(x + y + z)) - Pi**2*Cos(Pi*(x + y + z)) -  &
               14.804406601634037*Sin(Pi*(x + y + z)))* &
             (1.5 + 1./(-1. + gamma) -  &
               0.5*(Cos(Pi*(x + y + z))**2 +  &
                  (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                  Sin(Pi*(x + y + z))**2))* &
             Sqrt((-1. + gamma)*gammaM2* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))))/ &
           (tRatio + (-1. + gamma)*gammaM2* &
              (1.5 + 1./(-1. + gamma) -  &
                0.5*(Cos(Pi*(x + y + z))**2 +  &
                   (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                   Sin(Pi*(x + y + z))**2))) +  &
          2*Pi*Cos(Pi*(x + y + z))* &
           ((1.*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))**2 -  &
             (0.5*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2)))/ &
              (Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))* &
                (tRatio + (-1. + gamma)*gammaM2* &
                   (1.5 + 1./(-1. + gamma) -  &
                     0.5*(Cos(Pi*(x + y + z))**2 +  &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                        Sin(Pi*(x + y + z))**2)))) -  &
             (1.*(-1. + gamma)*gammaM2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))) -  &
          2*Pi**2*Sin(Pi*(x + y + z))* &
           (0. + ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))))/Re    
          

            S(4) =          -((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
          (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
            1.5707963267948966*Sin(Pi*(x + y + z)))) -  &
       0.1*exp(x)*Cos(Pi*(x + y + z))* &
        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))) -  &
       (1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Cos(Pi*(x + y + z))* &
        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))) -  &
       2*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))* &
        (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
          1.5707963267948966*Sin(Pi*(x + y + z)))* &
        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))) +  &
       1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*(-1. + gamma)* &
        (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
          1.5707963267948966*Sin(Pi*(x + y + z)))* &
        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))) -  &
       0.1*exp(z)*(0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 -  &
       (1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))* &
        (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
          1.5707963267948966*Sin(Pi*(x + y + z)))*Sin(Pi*(x + y + z)) -  &
       0.1*exp(y)*(0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
        Sin(Pi*(x + y + z)) + (1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi* &
        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*Sin(Pi*(x + y + z)) -  &
       0.1*exp(z)*(-1. + gamma)*(1.5 + 1./(-1. + gamma) -  &
          0.5*(Cos(Pi*(x + y + z))**2 +  &
             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
             Sin(Pi*(x + y + z))**2)) +  &
       ((4.71238898038469*Cos(Pi*(x + y + z)) -  &
            1.5707963267948966*Sin(Pi*(x + y + z)))* &
          ((1.*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))))/ &
             (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))**2 -  &
            (0.5*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2)))/ &
             (Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))* &
               (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))) -  &
            (1.*(-1. + gamma)*gammaM2*(1. + tRatio)* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))))/ &
             (tRatio + (-1. + gamma)*gammaM2* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2)))))/Re +  &
       ((1.5707963267948966*Cos(Pi*(x + y + z)) -  &
            1.5707963267948966*Sin(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))* &
          ((1.*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))))/ &
             (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))**2 -  &
            (0.5*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2)))/ &
             (Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))* &
               (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))) -  &
            (1.*(-1. + gamma)*gammaM2*(1. + tRatio)* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))))/ &
             (tRatio + (-1. + gamma)*gammaM2* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2)))))/Re +  &
       ((-4.934802200544679*Cos(Pi*(x + y + z)) -  &
            14.804406601634037*Sin(Pi*(x + y + z)))* &
          (0. + ((-1. + gamma)*gammaM2*(1. + tRatio)* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))))/ &
             (tRatio + (-1. + gamma)*gammaM2* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2)))))/Re +  &
       ((-4.934802200544679*Cos(Pi*(x + y + z)) - Pi**2*Cos(Pi*(x + y + z)) -  &
            4.934802200544679*Sin(Pi*(x + y + z)))* &
          (0. + ((-1. + gamma)*gammaM2*(1. + tRatio)* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))))/ &
             (tRatio + (-1. + gamma)*gammaM2* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2)))))/Re +  &
       ((-0.6666666666666666*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
             (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
               1.5707963267948966*Sin(Pi*(x + y + z)))* &
             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
             (4.71238898038469*Cos(Pi*(x + y + z)) -  &
               1.5707963267948966*Sin(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))* &
             (1.5 + 1./(-1. + gamma) -  &
               0.5*(Cos(Pi*(x + y + z))**2 +  &
                  (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                  Sin(Pi*(x + y + z))**2))* &
             Sqrt((-1. + gamma)*gammaM2* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))))/ &
           (tRatio + (-1. + gamma)*gammaM2* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2)))**2 +  &
          (0.3333333333333333*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
             (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
               1.5707963267948966*Sin(Pi*(x + y + z)))* &
             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
             (4.71238898038469*Cos(Pi*(x + y + z)) -  &
               1.5707963267948966*Sin(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))* &
             (1.5 + 1./(-1. + gamma) -  &
               0.5*(Cos(Pi*(x + y + z))**2 +  &
                  (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                  Sin(Pi*(x + y + z))**2)))/ &
           (Sqrt((-1. + gamma)*gammaM2* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2)))* &
             (tRatio + (-1. + gamma)*gammaM2* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2)))) +  &
          (0.6666666666666666*(-1. + gamma)*gammaM2*(1. + tRatio)* &
             (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
               1.5707963267948966*Sin(Pi*(x + y + z)))* &
             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
             (4.71238898038469*Cos(Pi*(x + y + z)) -  &
               1.5707963267948966*Sin(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))* &
             Sqrt((-1. + gamma)*gammaM2* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))))/ &
           (tRatio + (-1. + gamma)*gammaM2* &
              (1.5 + 1./(-1. + gamma) -  &
                0.5*(Cos(Pi*(x + y + z))**2 +  &
                   (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                   Sin(Pi*(x + y + z))**2))) -  &
          (0.6666666666666666*(-1. + gamma)*gammaM2*(1. + tRatio)* &
             (-4.934802200544679*Cos(Pi*(x + y + z)) - Pi**2*Cos(Pi*(x + y + z)) -  &
               14.804406601634037*Sin(Pi*(x + y + z)))* &
             (1.5 + 1./(-1. + gamma) -  &
               0.5*(Cos(Pi*(x + y + z))**2 +  &
                  (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                  Sin(Pi*(x + y + z))**2))* &
             Sqrt((-1. + gamma)*gammaM2* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))))/ &
           (tRatio + (-1. + gamma)*gammaM2* &
              (1.5 + 1./(-1. + gamma) -  &
                0.5*(Cos(Pi*(x + y + z))**2 +  &
                   (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                   Sin(Pi*(x + y + z))**2))) +  &
          2*(1.5707963267948966*Cos(Pi*(x + y + z)) -  &
             1.5707963267948966*Sin(Pi*(x + y + z)))* &
           ((1.*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))**2 -  &
             (0.5*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2)))/ &
              (Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))* &
                (tRatio + (-1. + gamma)*gammaM2* &
                   (1.5 + 1./(-1. + gamma) -  &
                     0.5*(Cos(Pi*(x + y + z))**2 +  &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                        Sin(Pi*(x + y + z))**2)))) -  &
             (1.*(-1. + gamma)*gammaM2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))) +  &
          2*(-4.934802200544679*Cos(Pi*(x + y + z)) -  &
             4.934802200544679*Sin(Pi*(x + y + z)))* &
           (0. + ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))))/Re      
          








            S(5) =              -(Cos(Pi*(x + y + z))*(0.1*exp(x)*(1.5 + 1./(-1. + gamma)) -  &
            1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*(-1. + gamma)* &
             (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
               1.5707963267948966*Sin(Pi*(x + y + z)))* &
             (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))) +  &
            0.1*exp(x)*(-1. + gamma)* &
             (1.5 + 1./(-1. + gamma) -  &
               0.5*(Cos(Pi*(x + y + z))**2 +  &
                  (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                  Sin(Pi*(x + y + z))**2)))) -  &
       Sin(Pi*(x + y + z))*(0.1*exp(y)*(1.5 + 1./(-1. + gamma)) -  &
          1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*(-1. + gamma)* &
           (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
             1.5707963267948966*Sin(Pi*(x + y + z)))* &
           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))) +  &
          0.1*exp(y)*(-1. + gamma)*(1.5 + 1./(-1. + gamma) -  &
             0.5*(Cos(Pi*(x + y + z))**2 +  &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                Sin(Pi*(x + y + z))**2))) -  &
       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
        (0.1*exp(z)*(1.5 + 1./(-1. + gamma)) -  &
          1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*(-1. + gamma)* &
           (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
             1.5707963267948966*Sin(Pi*(x + y + z)))* &
           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))) +  &
          0.1*exp(z)*(-1. + gamma)*(1.5 + 1./(-1. + gamma) -  &
             0.5*(Cos(Pi*(x + y + z))**2 +  &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                Sin(Pi*(x + y + z))**2))) -  &
       Pi*Cos(Pi*(x + y + z))*((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))* &
           (1.5 + 1./(-1. + gamma)) +  &
          (1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*(-1. + gamma)* &
           (1.5 + 1./(-1. + gamma) -  &
             0.5*(Cos(Pi*(x + y + z))**2 +  &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                Sin(Pi*(x + y + z))**2))) -  &
       (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
          1.5707963267948966*Sin(Pi*(x + y + z)))* &
        ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*(1.5 + 1./(-1. + gamma)) +  &
          (1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*(-1. + gamma)* &
           (1.5 + 1./(-1. + gamma) -  &
             0.5*(Cos(Pi*(x + y + z))**2 +  &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                Sin(Pi*(x + y + z))**2))) +  &
       Pi*Sin(Pi*(x + y + z))*((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))* &
           (1.5 + 1./(-1. + gamma)) +  &
          (1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*(-1. + gamma)* &
           (1.5 + 1./(-1. + gamma) -  &
             0.5*(Cos(Pi*(x + y + z))**2 +  &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                Sin(Pi*(x + y + z))**2))) +  &
       ((4.71238898038469*Cos(Pi*(x + y + z)) -  &
             1.5707963267948966*Sin(Pi*(x + y + z)))*Sin(Pi*(x + y + z))* &
           ((1.*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))**2 -  &
             (0.5*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2)))/ &
              (Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))* &
                (tRatio + (-1. + gamma)*gammaM2* &
                   (1.5 + 1./(-1. + gamma) -  &
                     0.5*(Cos(Pi*(x + y + z))**2 +  &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                        Sin(Pi*(x + y + z))**2)))) -  &
             (1.*(-1. + gamma)*gammaM2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))) +  &
          Cos(Pi*(x + y + z))*(1.5707963267948966*Cos(Pi*(x + y + z)) -  &
             1.5707963267948966*Sin(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))* &
           ((1.*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))**2 -  &
             (0.5*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2)))/ &
              (Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))* &
                (tRatio + (-1. + gamma)*gammaM2* &
                   (1.5 + 1./(-1. + gamma) -  &
                     0.5*(Cos(Pi*(x + y + z))**2 +  &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                        Sin(Pi*(x + y + z))**2)))) -  &
             (1.*(-1. + gamma)*gammaM2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))) -  &
          1.*(-1. + gamma)*gammaM2* &
           (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
             1.5707963267948966*Sin(Pi*(x + y + z)))* &
           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
           ((1.*(-1. + gamma)*gammaM2**2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (Mach**2.*Pr*(tRatio +  &
                   (-1. + gamma)*gammaM2* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2)))**2) -  &
             (0.5*(-1. + gamma)*gammaM2**2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2)))/ &
              (Mach**2.*Pr*Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))* &
                (tRatio + (-1. + gamma)*gammaM2* &
                   (1.5 + 1./(-1. + gamma) -  &
                     0.5*(Cos(Pi*(x + y + z))**2 +  &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                        Sin(Pi*(x + y + z))**2)))) -  &
             (1.*gammaM2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (Mach**2.*Pr*(tRatio +  &
                  (-1. + gamma)*gammaM2* &
                   (1.5 + 1./(-1. + gamma) -  &
                     0.5*(Cos(Pi*(x + y + z))**2 +  &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                        Sin(Pi*(x + y + z))**2))))) +  &
          Cos(Pi*(x + y + z))*(-4.934802200544679*Cos(Pi*(x + y + z)) -  &
             Pi**2*Cos(Pi*(x + y + z)) - 4.934802200544679*Sin(Pi*(x + y + z)))* &
           (0. + ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))) +  &
          Pi*Cos(Pi*(x + y + z))*(4.71238898038469*Cos(Pi*(x + y + z)) -  &
             1.5707963267948966*Sin(Pi*(x + y + z)))* &
           (0. + ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))) +  &
          (-4.934802200544679*Cos(Pi*(x + y + z)) -  &
             14.804406601634037*Sin(Pi*(x + y + z)))*Sin(Pi*(x + y + z))* &
           (0. + ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))) -  &
          Pi*Sin(Pi*(x + y + z))*(1.5707963267948966*Cos(Pi*(x + y + z)) -  &
             1.5707963267948966*Sin(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))* &
           (0. + ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))) -  &
          1.*(-1. + gamma)*gammaM2* &
           (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
              1.5707963267948966*Sin(Pi*(x + y + z)))**2* &
           (0. + (gammaM2*(1. + tRatio)* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (Mach**2.*Pr*(tRatio +  &
                  (-1. + gamma)*gammaM2* &
                   (1.5 + 1./(-1. + gamma) -  &
                     0.5*(Cos(Pi*(x + y + z))**2 +  &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                        Sin(Pi*(x + y + z))**2))))) -  &
          1.*(-1. + gamma)*gammaM2* &
           (-4.934802200544679*Cos(Pi*(x + y + z)) -  &
             4.934802200544679*Sin(Pi*(x + y + z)))* &
           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
           (0. + (gammaM2*(1. + tRatio)* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (Mach**2.*Pr*(tRatio +  &
                  (-1. + gamma)*gammaM2* &
                   (1.5 + 1./(-1. + gamma) -  &
                     0.5*(Cos(Pi*(x + y + z))**2 +  &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                        Sin(Pi*(x + y + z))**2))))) +  &
          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
           ((-0.6666666666666666*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                (4.71238898038469*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))**2 +  &
             (0.3333333333333333*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                (4.71238898038469*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2)))/ &
              (Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))* &
                (tRatio + (-1. + gamma)*gammaM2* &
                   (1.5 + 1./(-1. + gamma) -  &
                     0.5*(Cos(Pi*(x + y + z))**2 +  &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                        Sin(Pi*(x + y + z))**2)))) +  &
             (0.6666666666666666*(-1. + gamma)*gammaM2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                (4.71238898038469*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))) -  &
             (0.6666666666666666*(-1. + gamma)*gammaM2*(1. + tRatio)* &
                (-4.934802200544679*Cos(Pi*(x + y + z)) -  &
                  Pi**2*Cos(Pi*(x + y + z)) - 14.804406601634037*Sin(Pi*(x + y + z)) &
                  )*(1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))) +  &
             2*(1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                1.5707963267948966*Sin(Pi*(x + y + z)))* &
              ((1.*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
                   (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                     1.5707963267948966*Sin(Pi*(x + y + z)))* &
                   (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                   (1.5 + 1./(-1. + gamma) -  &
                     0.5*(Cos(Pi*(x + y + z))**2 +  &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                        Sin(Pi*(x + y + z))**2))* &
                   Sqrt((-1. + gamma)*gammaM2* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))))/ &
                 (tRatio + (-1. + gamma)*gammaM2* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2)))**2 -  &
                (0.5*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
                   (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                     1.5707963267948966*Sin(Pi*(x + y + z)))* &
                   (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                   (1.5 + 1./(-1. + gamma) -  &
                     0.5*(Cos(Pi*(x + y + z))**2 +  &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                        Sin(Pi*(x + y + z))**2)))/ &
                 (Sqrt((-1. + gamma)*gammaM2* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2)))* &
                   (tRatio + (-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))) -  &
                (1.*(-1. + gamma)*gammaM2*(1. + tRatio)* &
                   (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                     1.5707963267948966*Sin(Pi*(x + y + z)))* &
                   (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                   Sqrt((-1. + gamma)*gammaM2* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))))/ &
                 (tRatio + (-1. + gamma)*gammaM2* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2)))) +  &
             2*(-4.934802200544679*Cos(Pi*(x + y + z)) -  &
                4.934802200544679*Sin(Pi*(x + y + z)))* &
              (0. + ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                   (1.5 + 1./(-1. + gamma) -  &
                     0.5*(Cos(Pi*(x + y + z))**2 +  &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                        Sin(Pi*(x + y + z))**2))* &
                   Sqrt((-1. + gamma)*gammaM2* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))))/ &
                 (tRatio + (-1. + gamma)*gammaM2* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))))) +  &
          (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
             1.5707963267948966*Sin(Pi*(x + y + z)))* &
           ((-0.6666666666666666*(-1. + gamma)*gammaM2*(1. + tRatio)* &
                (4.71238898038469*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))) +  &
             2*(1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                1.5707963267948966*Sin(Pi*(x + y + z)))* &
              (0. + ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                   (1.5 + 1./(-1. + gamma) -  &
                     0.5*(Cos(Pi*(x + y + z))**2 +  &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                        Sin(Pi*(x + y + z))**2))* &
                   Sqrt((-1. + gamma)*gammaM2* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))))/ &
                 (tRatio + (-1. + gamma)*gammaM2* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))))))/Re +  &
       (Sin(Pi*(x + y + z))*(Pi*Cos(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))* &
           ((1.*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))**2 -  &
             (0.5*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2)))/ &
              (Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))* &
                (tRatio + (-1. + gamma)*gammaM2* &
                   (1.5 + 1./(-1. + gamma) -  &
                     0.5*(Cos(Pi*(x + y + z))**2 +  &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                        Sin(Pi*(x + y + z))**2)))) -  &
             (1.*(-1. + gamma)*gammaM2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))) +  &
          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
           (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
             1.5707963267948966*Sin(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))* &
           ((1.*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))**2 -  &
             (0.5*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2)))/ &
              (Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))* &
                (tRatio + (-1. + gamma)*gammaM2* &
                   (1.5 + 1./(-1. + gamma) -  &
                     0.5*(Cos(Pi*(x + y + z))**2 +  &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                        Sin(Pi*(x + y + z))**2)))) -  &
             (1.*(-1. + gamma)*gammaM2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))) -  &
          1.*(-1. + gamma)*gammaM2* &
           (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
             1.5707963267948966*Sin(Pi*(x + y + z)))* &
           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
           ((1.*(-1. + gamma)*gammaM2**2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (Mach**2.*Pr*(tRatio +  &
                   (-1. + gamma)*gammaM2* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2)))**2) -  &
             (0.5*(-1. + gamma)*gammaM2**2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2)))/ &
              (Mach**2.*Pr*Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))* &
                (tRatio + (-1. + gamma)*gammaM2* &
                   (1.5 + 1./(-1. + gamma) -  &
                     0.5*(Cos(Pi*(x + y + z))**2 +  &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                        Sin(Pi*(x + y + z))**2)))) -  &
             (1.*gammaM2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (Mach**2.*Pr*(tRatio +  &
                  (-1. + gamma)*gammaM2* &
                   (1.5 + 1./(-1. + gamma) -  &
                     0.5*(Cos(Pi*(x + y + z))**2 +  &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                        Sin(Pi*(x + y + z))**2))))) +  &
          (-4.934802200544679*Cos(Pi*(x + y + z)) - Pi**2*Cos(Pi*(x + y + z)) -  &
             4.934802200544679*Sin(Pi*(x + y + z)))* &
           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
           (0. + ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))) +  &
          Pi*Cos(Pi*(x + y + z))*(Pi*Cos(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))* &
           (0. + ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))) +  &
          (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
             1.5707963267948966*Sin(Pi*(x + y + z)))* &
           (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
             1.5707963267948966*Sin(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))* &
           (0. + ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))) +  &
          Sin(Pi*(x + y + z))*(-(Pi**2*Cos(Pi*(x + y + z))) -  &
             Pi**2*Sin(Pi*(x + y + z)))* &
           (0. + ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))) -  &
          1.*(-1. + gamma)*gammaM2* &
           (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
              1.5707963267948966*Sin(Pi*(x + y + z)))**2* &
           (0. + (gammaM2*(1. + tRatio)* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (Mach**2.*Pr*(tRatio +  &
                  (-1. + gamma)*gammaM2* &
                   (1.5 + 1./(-1. + gamma) -  &
                     0.5*(Cos(Pi*(x + y + z))**2 +  &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                        Sin(Pi*(x + y + z))**2))))) -  &
          1.*(-1. + gamma)*gammaM2* &
           (-4.934802200544679*Cos(Pi*(x + y + z)) -  &
             4.934802200544679*Sin(Pi*(x + y + z)))* &
           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
           (0. + (gammaM2*(1. + tRatio)* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (Mach**2.*Pr*(tRatio +  &
                  (-1. + gamma)*gammaM2* &
                   (1.5 + 1./(-1. + gamma) -  &
                     0.5*(Cos(Pi*(x + y + z))**2 +  &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                        Sin(Pi*(x + y + z))**2))))) +  &
          Cos(Pi*(x + y + z))*((-0.6666666666666666*(-1. + gamma)**2*gammaM2**2* &
                (1. + tRatio)*(1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                (4.71238898038469*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))**2 +  &
             (0.3333333333333333*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                (4.71238898038469*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2)))/ &
              (Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))* &
                (tRatio + (-1. + gamma)*gammaM2* &
                   (1.5 + 1./(-1. + gamma) -  &
                     0.5*(Cos(Pi*(x + y + z))**2 +  &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                        Sin(Pi*(x + y + z))**2)))) +  &
             (0.6666666666666666*(-1. + gamma)*gammaM2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                (4.71238898038469*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))) -  &
             (0.6666666666666666*(-1. + gamma)*gammaM2*(1. + tRatio)* &
                (-4.934802200544679*Cos(Pi*(x + y + z)) -  &
                  Pi**2*Cos(Pi*(x + y + z)) - 14.804406601634037*Sin(Pi*(x + y + z)) &
                  )*(1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))) -  &
             2*Pi*Sin(Pi*(x + y + z))* &
              ((1.*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
                   (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                     1.5707963267948966*Sin(Pi*(x + y + z)))* &
                   (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                   (1.5 + 1./(-1. + gamma) -  &
                     0.5*(Cos(Pi*(x + y + z))**2 +  &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                        Sin(Pi*(x + y + z))**2))* &
                   Sqrt((-1. + gamma)*gammaM2* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))))/ &
                 (tRatio + (-1. + gamma)*gammaM2* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2)))**2 -  &
                (0.5*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
                   (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                     1.5707963267948966*Sin(Pi*(x + y + z)))* &
                   (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                   (1.5 + 1./(-1. + gamma) -  &
                     0.5*(Cos(Pi*(x + y + z))**2 +  &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                        Sin(Pi*(x + y + z))**2)))/ &
                 (Sqrt((-1. + gamma)*gammaM2* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2)))* &
                   (tRatio + (-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))) -  &
                (1.*(-1. + gamma)*gammaM2*(1. + tRatio)* &
                   (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                     1.5707963267948966*Sin(Pi*(x + y + z)))* &
                   (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                   Sqrt((-1. + gamma)*gammaM2* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))))/ &
                 (tRatio + (-1. + gamma)*gammaM2* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2)))) -  &
             2*Pi**2*Cos(Pi*(x + y + z))* &
              (0. + ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                   (1.5 + 1./(-1. + gamma) -  &
                     0.5*(Cos(Pi*(x + y + z))**2 +  &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                        Sin(Pi*(x + y + z))**2))* &
                   Sqrt((-1. + gamma)*gammaM2* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))))/ &
                 (tRatio + (-1. + gamma)*gammaM2* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))))) -  &
          Pi*Sin(Pi*(x + y + z))*((-0.6666666666666666*(-1. + gamma)*gammaM2* &
                (1. + tRatio)*(4.71238898038469*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))) -  &
             2*Pi*Sin(Pi*(x + y + z))* &
              (0. + ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                   (1.5 + 1./(-1. + gamma) -  &
                     0.5*(Cos(Pi*(x + y + z))**2 +  &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                        Sin(Pi*(x + y + z))**2))* &
                   Sqrt((-1. + gamma)*gammaM2* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))))/ &
                 (tRatio + (-1. + gamma)*gammaM2* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))))))/Re +  &
       ((4.71238898038469*Cos(Pi*(x + y + z)) -  &
             1.5707963267948966*Sin(Pi*(x + y + z)))* &
           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
           ((1.*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))**2 -  &
             (0.5*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2)))/ &
              (Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))* &
                (tRatio + (-1. + gamma)*gammaM2* &
                   (1.5 + 1./(-1. + gamma) -  &
                     0.5*(Cos(Pi*(x + y + z))**2 +  &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                        Sin(Pi*(x + y + z))**2)))) -  &
             (1.*(-1. + gamma)*gammaM2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))) +  &
          Cos(Pi*(x + y + z))*(Pi*Cos(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))* &
           ((1.*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))**2 -  &
             (0.5*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2)))/ &
              (Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))* &
                (tRatio + (-1. + gamma)*gammaM2* &
                   (1.5 + 1./(-1. + gamma) -  &
                     0.5*(Cos(Pi*(x + y + z))**2 +  &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                        Sin(Pi*(x + y + z))**2)))) -  &
             (1.*(-1. + gamma)*gammaM2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))) -  &
          1.*(-1. + gamma)*gammaM2* &
           (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
             1.5707963267948966*Sin(Pi*(x + y + z)))* &
           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
           ((1.*(-1. + gamma)*gammaM2**2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (Mach**2.*Pr*(tRatio +  &
                   (-1. + gamma)*gammaM2* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2)))**2) -  &
             (0.5*(-1. + gamma)*gammaM2**2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2)))/ &
              (Mach**2.*Pr*Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))* &
                (tRatio + (-1. + gamma)*gammaM2* &
                   (1.5 + 1./(-1. + gamma) -  &
                     0.5*(Cos(Pi*(x + y + z))**2 +  &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                        Sin(Pi*(x + y + z))**2)))) -  &
             (1.*gammaM2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (Mach**2.*Pr*(tRatio +  &
                  (-1. + gamma)*gammaM2* &
                   (1.5 + 1./(-1. + gamma) -  &
                     0.5*(Cos(Pi*(x + y + z))**2 +  &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                        Sin(Pi*(x + y + z))**2))))) +  &
          (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
             1.5707963267948966*Sin(Pi*(x + y + z)))* &
           (4.71238898038469*Cos(Pi*(x + y + z)) -  &
             1.5707963267948966*Sin(Pi*(x + y + z)))* &
           (0. + ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))) +  &
          (-4.934802200544679*Cos(Pi*(x + y + z)) -  &
             14.804406601634037*Sin(Pi*(x + y + z)))* &
           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
           (0. + ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))) -  &
          Pi*Sin(Pi*(x + y + z))*(Pi*Cos(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))* &
           (0. + ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))) +  &
          Cos(Pi*(x + y + z))*(-(Pi**2*Cos(Pi*(x + y + z))) -  &
             Pi**2*Sin(Pi*(x + y + z)))* &
           (0. + ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))) -  &
          1.*(-1. + gamma)*gammaM2* &
           (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
              1.5707963267948966*Sin(Pi*(x + y + z)))**2* &
           (0. + (gammaM2*(1. + tRatio)* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (Mach**2.*Pr*(tRatio +  &
                  (-1. + gamma)*gammaM2* &
                   (1.5 + 1./(-1. + gamma) -  &
                     0.5*(Cos(Pi*(x + y + z))**2 +  &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                        Sin(Pi*(x + y + z))**2))))) -  &
          1.*(-1. + gamma)*gammaM2* &
           (-4.934802200544679*Cos(Pi*(x + y + z)) -  &
             4.934802200544679*Sin(Pi*(x + y + z)))* &
           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
           (0. + (gammaM2*(1. + tRatio)* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (Mach**2.*Pr*(tRatio +  &
                  (-1. + gamma)*gammaM2* &
                   (1.5 + 1./(-1. + gamma) -  &
                     0.5*(Cos(Pi*(x + y + z))**2 +  &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                        Sin(Pi*(x + y + z))**2))))) +  &
          Pi*Cos(Pi*(x + y + z))*((-0.6666666666666666*(-1. + gamma)*gammaM2* &
                (1. + tRatio)*(4.71238898038469*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))) +  &
             2*Pi*Cos(Pi*(x + y + z))* &
              (0. + ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                   (1.5 + 1./(-1. + gamma) -  &
                     0.5*(Cos(Pi*(x + y + z))**2 +  &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                        Sin(Pi*(x + y + z))**2))* &
                   Sqrt((-1. + gamma)*gammaM2* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))))/ &
                 (tRatio + (-1. + gamma)*gammaM2* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))))) +  &
          Sin(Pi*(x + y + z))*((-0.6666666666666666*(-1. + gamma)**2*gammaM2**2* &
                (1. + tRatio)*(1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                (4.71238898038469*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))**2 +  &
             (0.3333333333333333*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                (4.71238898038469*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))* &
                (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2)))/ &
              (Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))* &
                (tRatio + (-1. + gamma)*gammaM2* &
                   (1.5 + 1./(-1. + gamma) -  &
                     0.5*(Cos(Pi*(x + y + z))**2 +  &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                        Sin(Pi*(x + y + z))**2)))) +  &
             (0.6666666666666666*(-1. + gamma)*gammaM2*(1. + tRatio)* &
                (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)))* &
                (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                (4.71238898038469*Cos(Pi*(x + y + z)) -  &
                  1.5707963267948966*Sin(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))) -  &
             (0.6666666666666666*(-1. + gamma)*gammaM2*(1. + tRatio)* &
                (-4.934802200544679*Cos(Pi*(x + y + z)) -  &
                  Pi**2*Cos(Pi*(x + y + z)) - 14.804406601634037*Sin(Pi*(x + y + z)) &
                  )*(1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))* &
                Sqrt((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
              (tRatio + (-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2))) +  &
             2*Pi*Cos(Pi*(x + y + z))* &
              ((1.*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
                   (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                     1.5707963267948966*Sin(Pi*(x + y + z)))* &
                   (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                   (1.5 + 1./(-1. + gamma) -  &
                     0.5*(Cos(Pi*(x + y + z))**2 +  &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                        Sin(Pi*(x + y + z))**2))* &
                   Sqrt((-1. + gamma)*gammaM2* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))))/ &
                 (tRatio + (-1. + gamma)*gammaM2* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2)))**2 -  &
                (0.5*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
                   (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                     1.5707963267948966*Sin(Pi*(x + y + z)))* &
                   (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                   (1.5 + 1./(-1. + gamma) -  &
                     0.5*(Cos(Pi*(x + y + z))**2 +  &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                        Sin(Pi*(x + y + z))**2)))/ &
                 (Sqrt((-1. + gamma)*gammaM2* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2)))* &
                   (tRatio + (-1. + gamma)*gammaM2* &
                      (1.5 + 1./(-1. + gamma) -  &
                        0.5*(Cos(Pi*(x + y + z))**2 +  &
                           (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                           Sin(Pi*(x + y + z))**2)))) -  &
                (1.*(-1. + gamma)*gammaM2*(1. + tRatio)* &
                   (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                     1.5707963267948966*Sin(Pi*(x + y + z)))* &
                   (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                   Sqrt((-1. + gamma)*gammaM2* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))))/ &
                 (tRatio + (-1. + gamma)*gammaM2* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2)))) -  &
             2*Pi**2*Sin(Pi*(x + y + z))* &
              (0. + ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                   (1.5 + 1./(-1. + gamma) -  &
                     0.5*(Cos(Pi*(x + y + z))**2 +  &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                        Sin(Pi*(x + y + z))**2))* &
                   Sqrt((-1. + gamma)*gammaM2* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))))/ &
                 (tRatio + (-1. + gamma)*gammaM2* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2))))))/Re 





           S(6) =                 -0.1*exp(x)*Cos(Pi*(x + y + z))**2 -  &
       (1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Cos(Pi*(x + y + z))**2 +  &
       (1.*cwone*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))**2)/ &
        (dwall**2*Re) - (1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
        (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
          1.5707963267948966*Sin(Pi*(x + y + z))) -  &
       0.1*exp(z)*Cos(Pi*(x + y + z))* &
        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))) +  &
       (27.625022718649113*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))* &
          (-Sin(Pi*(x + y + z)))**2.)/Re -  &
       0.1*exp(y)*Cos(Pi*(x + y + z))*Sin(Pi*(x + y + z)) +  &
       2*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Cos(Pi*(x + y + z))* &
        Sin(Pi*(x + y + z)) + (1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi* &
        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*Sin(Pi*(x + y + z)) +  &
       (1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))**2 -  &
       (14.137166941154069*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
          (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
            1.5707963267948966*Sin(Pi*(x + y + z)))* &
          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*Sin(Pi*(x + y + z))* &
          (1.5 + 1./(-1. + gamma) -  &
            0.5*(Cos(Pi*(x + y + z))**2 +  &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
               Sin(Pi*(x + y + z))**2))* &
          Sqrt((-1. + gamma)*gammaM2* &
            (1.5 + 1./(-1. + gamma) -  &
              0.5*(Cos(Pi*(x + y + z))**2 +  &
                 (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                 Sin(Pi*(x + y + z))**2)))* &
          (1. + ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
               (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
             ((-1. + gamma)*gammaM2*(1. + tRatio)* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))) +  &
            0.5*(((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                  (tRatio + (-1. + gamma)*gammaM2* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))))/ &
                ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))* &
                  Sqrt((-1. + gamma)*gammaM2* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2)))))**2.))/ &
        (Re*(tRatio + (-1. + gamma)*gammaM2* &
              (1.5 + 1./(-1. + gamma) -  &
                0.5*(Cos(Pi*(x + y + z))**2 +  &
                   (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                   Sin(Pi*(x + y + z))**2)))**2) +  &
       (7.0685834705770345*(-1. + gamma)**2*gammaM2**2*(1. + tRatio)* &
          (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
            1.5707963267948966*Sin(Pi*(x + y + z)))* &
          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*Sin(Pi*(x + y + z))* &
          (1.5 + 1./(-1. + gamma) -  &
            0.5*(Cos(Pi*(x + y + z))**2 +  &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
               Sin(Pi*(x + y + z))**2))* &
          (1. + ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
               (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
             ((-1. + gamma)*gammaM2*(1. + tRatio)* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))) +  &
            0.5*(((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                  (tRatio + (-1. + gamma)*gammaM2* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))))/ &
                ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))* &
                  Sqrt((-1. + gamma)*gammaM2* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2)))))**2.))/ &
        (Re*Sqrt((-1. + gamma)*gammaM2* &
            (1.5 + 1./(-1. + gamma) -  &
              0.5*(Cos(Pi*(x + y + z))**2 +  &
                 (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                 Sin(Pi*(x + y + z))**2)))* &
          (tRatio + (-1. + gamma)*gammaM2* &
             (1.5 + 1./(-1. + gamma) -  &
               0.5*(Cos(Pi*(x + y + z))**2 +  &
                  (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                  Sin(Pi*(x + y + z))**2)))) +  &
       (14.137166941154069*(-1. + gamma)*gammaM2*(1. + tRatio)* &
          (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
            1.5707963267948966*Sin(Pi*(x + y + z)))* &
          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))*Sin(Pi*(x + y + z))* &
          Sqrt((-1. + gamma)*gammaM2* &
            (1.5 + 1./(-1. + gamma) -  &
              0.5*(Cos(Pi*(x + y + z))**2 +  &
                 (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                 Sin(Pi*(x + y + z))**2)))* &
          (1. + ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
               (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
             ((-1. + gamma)*gammaM2*(1. + tRatio)* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))) +  &
            0.5*(((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                  (tRatio + (-1. + gamma)*gammaM2* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))))/ &
                ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))* &
                  Sqrt((-1. + gamma)*gammaM2* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2)))))**2.))/ &
        (Re*(tRatio + (-1. + gamma)*gammaM2* &
             (1.5 + 1./(-1. + gamma) -  &
               0.5*(Cos(Pi*(x + y + z))**2 +  &
                  (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                  Sin(Pi*(x + y + z))**2)))) -  &
       (44.41321980490211*(-1. + gamma)*gammaM2*(1. + tRatio)*Cos(Pi*(x + y + z))* &
          (1.5 + 1./(-1. + gamma) -  &
            0.5*(Cos(Pi*(x + y + z))**2 +  &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
               Sin(Pi*(x + y + z))**2))* &
          Sqrt((-1. + gamma)*gammaM2* &
            (1.5 + 1./(-1. + gamma) -  &
              0.5*(Cos(Pi*(x + y + z))**2 +  &
                 (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                 Sin(Pi*(x + y + z))**2)))* &
          (1. + ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
               (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
             ((-1. + gamma)*gammaM2*(1. + tRatio)* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))) +  &
            0.5*(((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                  (tRatio + (-1. + gamma)*gammaM2* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))))/ &
                ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))* &
                  Sqrt((-1. + gamma)*gammaM2* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2)))))**2.))/ &
        (Re*(tRatio + (-1. + gamma)*gammaM2* &
             (1.5 + 1./(-1. + gamma) -  &
               0.5*(Cos(Pi*(x + y + z))**2 +  &
                  (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                  Sin(Pi*(x + y + z))**2)))) -  &
       (4.71238898038469*(-1. + gamma)*gammaM2*(1. + tRatio)*Sin(Pi*(x + y + z))* &
          (1.5 + 1./(-1. + gamma) -  &
            0.5*(Cos(Pi*(x + y + z))**2 +  &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
               Sin(Pi*(x + y + z))**2))* &
          Sqrt((-1. + gamma)*gammaM2* &
            (1.5 + 1./(-1. + gamma) -  &
              0.5*(Cos(Pi*(x + y + z))**2 +  &
                 (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                 Sin(Pi*(x + y + z))**2)))* &
          ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/ &
             ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))) +  &
            (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
               (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
             ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               ((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))**1.5) +  &
            (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
               (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
             ((-1. + gamma)*gammaM2*(1. + tRatio)* &
               (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))**2* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))) +  &
            (0.1*exp(x)*Cos(Pi*(x + y + z))* &
               (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
             ((-1. + gamma)*gammaM2*(1. + tRatio)* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))) -  &
            ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))* &
               (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
             ((-1. + gamma)*gammaM2*(1. + tRatio)* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))) +  &
            1.*(((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                  (tRatio + (-1. + gamma)*gammaM2* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))))/ &
                ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))* &
                  Sqrt((-1. + gamma)*gammaM2* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2)))))**1.* &
             ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                  (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                    1.5707963267948966*Sin(Pi*(x + y + z)))* &
                  (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/ &
                ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))* &
                  Sqrt((-1. + gamma)*gammaM2* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2)))) +  &
               (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                  (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                    1.5707963267948966*Sin(Pi*(x + y + z)))* &
                  (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                  (tRatio + (-1. + gamma)*gammaM2* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))))/ &
                ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))* &
                  ((-1. + gamma)*gammaM2* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2)))**1.5) +  &
               (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                  (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                    1.5707963267948966*Sin(Pi*(x + y + z)))* &
                  (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                  (tRatio + (-1. + gamma)*gammaM2* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))))/ &
                ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                  (1.5 + 1./(-1. + gamma) -  &
                     0.5*(Cos(Pi*(x + y + z))**2 +  &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                        Sin(Pi*(x + y + z))**2))**2* &
                  Sqrt((-1. + gamma)*gammaM2* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2)))) +  &
               (0.1*exp(x)*Cos(Pi*(x + y + z))* &
                  (tRatio + (-1. + gamma)*gammaM2* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))))/ &
                ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))* &
                  Sqrt((-1. + gamma)*gammaM2* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2)))) -  &
               ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))* &
                  (tRatio + (-1. + gamma)*gammaM2* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))))/ &
                ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))* &
                  Sqrt((-1. + gamma)*gammaM2* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2)))))))/ &
        (Re*(tRatio + (-1. + gamma)*gammaM2* &
             (1.5 + 1./(-1. + gamma) -  &
               0.5*(Cos(Pi*(x + y + z))**2 +  &
                  (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                  Sin(Pi*(x + y + z))**2)))) -  &
       (4.71238898038469*(-1. + gamma)*gammaM2*(1. + tRatio)*Sin(Pi*(x + y + z))* &
          (1.5 + 1./(-1. + gamma) -  &
            0.5*(Cos(Pi*(x + y + z))**2 +  &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
               Sin(Pi*(x + y + z))**2))* &
          Sqrt((-1. + gamma)*gammaM2* &
            (1.5 + 1./(-1. + gamma) -  &
              0.5*(Cos(Pi*(x + y + z))**2 +  &
                 (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                 Sin(Pi*(x + y + z))**2)))* &
          ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/ &
             ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))) +  &
            (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
               (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
             ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               ((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))**1.5) +  &
            (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
               (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
             ((-1. + gamma)*gammaM2*(1. + tRatio)* &
               (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))**2* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))) +  &
            (0.1*exp(y)*Cos(Pi*(x + y + z))* &
               (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
             ((-1. + gamma)*gammaM2*(1. + tRatio)* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))) -  &
            ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))* &
               (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
             ((-1. + gamma)*gammaM2*(1. + tRatio)* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))) +  &
            1.*(((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                  (tRatio + (-1. + gamma)*gammaM2* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))))/ &
                ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))* &
                  Sqrt((-1. + gamma)*gammaM2* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2)))))**1.* &
             ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                  (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                    1.5707963267948966*Sin(Pi*(x + y + z)))* &
                  (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/ &
                ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))* &
                  Sqrt((-1. + gamma)*gammaM2* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2)))) +  &
               (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                  (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                    1.5707963267948966*Sin(Pi*(x + y + z)))* &
                  (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                  (tRatio + (-1. + gamma)*gammaM2* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))))/ &
                ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))* &
                  ((-1. + gamma)*gammaM2* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2)))**1.5) +  &
               (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                  (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                    1.5707963267948966*Sin(Pi*(x + y + z)))* &
                  (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                  (tRatio + (-1. + gamma)*gammaM2* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))))/ &
                ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                  (1.5 + 1./(-1. + gamma) -  &
                     0.5*(Cos(Pi*(x + y + z))**2 +  &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                        Sin(Pi*(x + y + z))**2))**2* &
                  Sqrt((-1. + gamma)*gammaM2* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2)))) +  &
               (0.1*exp(y)*Cos(Pi*(x + y + z))* &
                  (tRatio + (-1. + gamma)*gammaM2* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))))/ &
                ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))* &
                  Sqrt((-1. + gamma)*gammaM2* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2)))) -  &
               ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))* &
                  (tRatio + (-1. + gamma)*gammaM2* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))))/ &
                ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))* &
                  Sqrt((-1. + gamma)*gammaM2* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2)))))))/ &
        (Re*(tRatio + (-1. + gamma)*gammaM2* &
             (1.5 + 1./(-1. + gamma) -  &
               0.5*(Cos(Pi*(x + y + z))**2 +  &
                  (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                  Sin(Pi*(x + y + z))**2)))) -  &
       (4.71238898038469*(-1. + gamma)*gammaM2*(1. + tRatio)*Sin(Pi*(x + y + z))* &
          (1.5 + 1./(-1. + gamma) -  &
            0.5*(Cos(Pi*(x + y + z))**2 +  &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
               Sin(Pi*(x + y + z))**2))* &
          Sqrt((-1. + gamma)*gammaM2* &
            (1.5 + 1./(-1. + gamma) -  &
              0.5*(Cos(Pi*(x + y + z))**2 +  &
                 (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                 Sin(Pi*(x + y + z))**2)))* &
          ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/ &
             ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))) +  &
            (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
               (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
             ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               ((-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2)))**1.5) +  &
            (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
               (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                 1.5707963267948966*Sin(Pi*(x + y + z)))* &
               (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
               (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
             ((-1. + gamma)*gammaM2*(1. + tRatio)* &
               (1.5 + 1./(-1. + gamma) -  &
                  0.5*(Cos(Pi*(x + y + z))**2 +  &
                     (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                     Sin(Pi*(x + y + z))**2))**2* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))) +  &
            (0.1*exp(z)*Cos(Pi*(x + y + z))* &
               (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
             ((-1. + gamma)*gammaM2*(1. + tRatio)* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))) -  &
            ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))* &
               (tRatio + (-1. + gamma)*gammaM2* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))))/ &
             ((-1. + gamma)*gammaM2*(1. + tRatio)* &
               (1.5 + 1./(-1. + gamma) -  &
                 0.5*(Cos(Pi*(x + y + z))**2 +  &
                    (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                    Sin(Pi*(x + y + z))**2))* &
               Sqrt((-1. + gamma)*gammaM2* &
                 (1.5 + 1./(-1. + gamma) -  &
                   0.5*(Cos(Pi*(x + y + z))**2 +  &
                      (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                      Sin(Pi*(x + y + z))**2)))) +  &
            1.*(((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                  (tRatio + (-1. + gamma)*gammaM2* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))))/ &
                ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))* &
                  Sqrt((-1. + gamma)*gammaM2* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2)))))**1.* &
             ((-1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                  (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                    1.5707963267948966*Sin(Pi*(x + y + z)))* &
                  (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z))))/ &
                ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))* &
                  Sqrt((-1. + gamma)*gammaM2* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2)))) +  &
               (0.5*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                  (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                    1.5707963267948966*Sin(Pi*(x + y + z)))* &
                  (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                  (tRatio + (-1. + gamma)*gammaM2* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))))/ &
                ((1. + tRatio)*(1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))* &
                  ((-1. + gamma)*gammaM2* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2)))**1.5) +  &
               (1.*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                  (1.5707963267948966*Cos(Pi*(x + y + z)) -  &
                    1.5707963267948966*Sin(Pi*(x + y + z)))* &
                  (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))* &
                  (tRatio + (-1. + gamma)*gammaM2* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))))/ &
                ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                  (1.5 + 1./(-1. + gamma) -  &
                     0.5*(Cos(Pi*(x + y + z))**2 +  &
                        (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                        Sin(Pi*(x + y + z))**2))**2* &
                  Sqrt((-1. + gamma)*gammaM2* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2)))) +  &
               (0.1*exp(z)*Cos(Pi*(x + y + z))* &
                  (tRatio + (-1. + gamma)*gammaM2* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))))/ &
                ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))* &
                  Sqrt((-1. + gamma)*gammaM2* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2)))) -  &
               ((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Pi*Sin(Pi*(x + y + z))* &
                  (tRatio + (-1. + gamma)*gammaM2* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))))/ &
                ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))* &
                  Sqrt((-1. + gamma)*gammaM2* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2)))))))/ &
        (Re*(tRatio + (-1. + gamma)*gammaM2* &
             (1.5 + 1./(-1. + gamma) -  &
               0.5*(Cos(Pi*(x + y + z))**2 +  &
                  (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                  Sin(Pi*(x + y + z))**2)))) +  &
       0.1355*(1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
        Sqrt((1.5707963267948966*Cos(Pi*(x + y + z)) - Pi*Cos(Pi*(x + y + z)) -  &
             1.5707963267948966*Sin(Pi*(x + y + z)))**2. +  &
          (-1.5707963267948966*Cos(Pi*(x + y + z)) +  &
             1.5707963267948966*Sin(Pi*(x + y + z)) - Pi*Sin(Pi*(x + y + z)))**2. +  &
          (Pi*Cos(Pi*(x + y + z)) + Pi*Sin(Pi*(x + y + z)))**2.)* &
        (1. - (1000.*(((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                  (tRatio + (-1. + gamma)*gammaM2* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))))/ &
                ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))* &
                  Sqrt((-1. + gamma)*gammaM2* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2)))))**2.)/ &
           (1. + (((1. + 0.1*exp(x) + 0.1*exp(y) + 0.1*exp(z))*Cos(Pi*(x + y + z))* &
                  (tRatio + (-1. + gamma)*gammaM2* &
                     (1.5 + 1./(-1. + gamma) -  &
                       0.5*(Cos(Pi*(x + y + z))**2 +  &
                          (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                          Sin(Pi*(x + y + z))**2))))/ &
                ((-1. + gamma)*gammaM2*(1. + tRatio)* &
                  (1.5 + 1./(-1. + gamma) -  &
                    0.5*(Cos(Pi*(x + y + z))**2 +  &
                       (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                       Sin(Pi*(x + y + z))**2))* &
                  Sqrt((-1. + gamma)*gammaM2* &
                    (1.5 + 1./(-1. + gamma) -  &
                      0.5*(Cos(Pi*(x + y + z))**2 +  &
                         (0.5*Cos(Pi*(x + y + z)) + 0.5*Sin(Pi*(x + y + z)))**2 +  &
                         Sin(Pi*(x + y + z))**2)))))**2.))                                                   

        end if 

           S(:) = -S(:) 
            

      end associate
   END SUBROUTINE ManufacturedSolutionSourceNSSA
!
!///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
!
   

END MODULE ManufacturedSolutionsNSSA