function dkedx2 = dkedx2(E,b,h,nu,th,x1,x2,y1,y2)
%DKEDX2
%    DKEDX2 = DKEDX2(E,B,H,NU,TH,X1,X2,Y1,Y2)

%    This function was generated by the Symbolic Math Toolbox version 9.3.
%    29-May-2023 10:08:37

t2 = b.^3;
t3 = b.^4;
t4 = h.^3;
t5 = nu.*2.0;
t6 = x1.*2.0;
t7 = x2.*2.0;
t8 = 1.0./h;
t10 = -x2;
t12 = -y2;
t14 = h./2.0;
t15 = th./2.0;
t9 = t8.^4;
t11 = -t7;
t13 = t5+2.0;
t16 = t10+x1;
t17 = t12+y1;
t22 = t14+t15;
t18 = t6+t11;
t19 = t16.^2;
t20 = t17.^2;
t21 = 1.0./t13;
t23 = (t3.*t9)./1.2e+1;
t24 = t22.^2;
t25 = t23-1.0;
t26 = t19+t20;
t27 = 1.0./t26;
t29 = 1.0./sqrt(t26);
t33 = b.*t8.*t25.*(2.1e+1./1.0e+2);
t28 = t27.^2;
t30 = t29.^3;
t31 = t29.^5;
t32 = t29.^7;
t34 = t33+1.0./3.0;
t35 = (E.*b.*t4.*t29)./3.0;
t38 = (E.*b.*t4.*t29)./6.0;
t49 = E.*b.*h.*t24.*t29;
t36 = (E.*b.*t4.*t30)./2.0;
t37 = E.*t2.*t14.*t30;
t40 = E.*h.*t2.*t30.*(-1.0./2.0);
t41 = E.*b.*h.*t17.*t30;
t42 = E.*b.*h.*t18.*t30;
t43 = E.*h.*t2.*t17.*t31;
t47 = E.*h.*t2.*t18.*t31;
t50 = (E.*b.*t4.*t18.*t30)./6.0;
t51 = E.*b.*t4.*t18.*t31.*(3.0./2.0);
t52 = (E.*h.*t2.*t18.*t30)./6.0;
t54 = (E.*b.*t4.*t18.*t30)./1.2e+1;
t55 = (E.*h.*t2.*t18.*t30)./1.2e+1;
t56 = E.*h.*t2.*t24.*t30;
t57 = -t49;
t63 = E.*b.*h.*t18.*t19.*t31.*(3.0./2.0);
t64 = E.*b.*t4.*t16.*t18.*t31.*(3.0./4.0);
t66 = E.*b.*h.*t18.*t20.*t31.*(3.0./2.0);
t67 = E.*b.*t4.*t17.*t18.*t31.*(3.0./4.0);
t79 = E.*h.*t2.*t18.*t19.*t32.*(5.0./2.0);
t80 = E.*h.*t2.*t18.*t20.*t32.*(5.0./2.0);
t84 = E.*b.*h.*t16.*t17.*t18.*t31.*(3.0./2.0);
t85 = E.*b.*t14.*t18.*t24.*t30;
t87 = E.*h.*t2.*t16.*t17.*t18.*t32.*(5.0./2.0);
t95 = E.*b.*h.*t18.*t19.*t22.*t31.*(-3.0./2.0);
t97 = E.*b.*h.*t18.*t20.*t22.*t31.*(-3.0./2.0);
t101 = E.*h.*t2.*t18.*t19.*t22.*t32.*(-5.0./2.0);
t102 = E.*h.*t2.*t18.*t20.*t22.*t32.*(-5.0./2.0);
t104 = E.*b.*h.*t16.*t17.*t18.*t22.*t31.*(-3.0./2.0);
t106 = E.*h.*t2.*t16.*t17.*t18.*t22.*t32.*(-5.0./2.0);
t107 = E.*h.*t2.*t21.*t29.*t34;
t108 = t35+t49;
t39 = -t36;
t44 = -t41;
t45 = -t42;
t46 = -t43;
t48 = -t47;
t53 = -t51;
t58 = t22.*t37;
t59 = t22.*t40;
t60 = t22.*t41;
t61 = t22.*t42;
t62 = t22.*t43;
t65 = t16.*t47.*(3.0./4.0);
t68 = t18.*t43.*(3.0./4.0);
t70 = -t63;
t71 = -t64;
t73 = -t66;
t74 = -t67;
t78 = t22.*t47;
t81 = -t79;
t82 = -t80;
t86 = -t84;
t88 = t24.*t42.*(-1.0./2.0);
t89 = t24.*t47.*(3.0./2.0);
t90 = -t87;
t91 = t22.*t63;
t93 = t22.*t66;
t99 = t22.*t79;
t100 = t22.*t80;
t103 = t22.*t84;
t105 = t22.*t87;
t109 = t38+t57;
t114 = t18.*t21.*t34.*t37;
t115 = t50+t85;
t117 = t17.*t27.*t108;
t121 = t18.*t27.*t108;
t125 = t18.*t19.*t28.*t108;
t126 = t18.*t20.*t28.*t108;
t127 = t56+t107;
t130 = t16.*t17.*t18.*t28.*t108;
t69 = t22.*t44;
t72 = -t65;
t75 = -t68;
t76 = t22.*t45;
t77 = t22.*t46;
t83 = t22.*t48;
t92 = t22.*t65;
t94 = t18.*t62.*(3.0./4.0);
t96 = t16.*t78.*(-3.0./4.0);
t110 = t39+t64;
t111 = t36+t71;
t112 = t40+t65;
t116 = t54+t88;
t120 = t17.*t27.*t109;
t122 = -t121;
t123 = t18.*t27.*t109;
t128 = t18.*t19.*t28.*t109;
t129 = t18.*t20.*t28.*t109;
t131 = -t130;
t132 = t16.*t17.*t18.*t28.*t109;
t134 = t19.*t27.*t115;
t135 = t20.*t27.*t115;
t138 = t16.*t17.*t27.*t115;
t142 = t42+t70+t82;
t143 = t45+t63+t80;
t144 = t47+t73+t81;
t145 = t48+t66+t79;
t146 = t89+t114;
t147 = t17.*t27.*t127;
t148 = t18.*t27.*t127;
t151 = t18.*t19.*t28.*t127;
t152 = t18.*t20.*t28.*t127;
t155 = t16.*t17.*t18.*t28.*t127;
t161 = t61+t95+t102;
t163 = t78+t97+t101;
t167 = t43+t44+t84+t90;
t168 = t41+t46+t86+t87;
t98 = -t94;
t113 = t37+t72;
t118 = t59+t92;
t119 = t58+t96;
t124 = -t123;
t133 = -t132;
t136 = t19.*t27.*t116;
t137 = t20.*t27.*t116;
t139 = -t138;
t140 = t16.*t17.*t27.*t116;
t149 = -t147;
t150 = -t148;
t153 = -t151;
t154 = -t152;
t156 = -t155;
t157 = t19.*t27.*t146;
t158 = t20.*t27.*t146;
t162 = t76+t91+t100;
t164 = t83+t93+t99;
t165 = t16.*t17.*t27.*t146;
t169 = t62+t69+t103+t106;
t170 = t60+t77+t104+t105;
t141 = -t140;
t159 = -t157;
t160 = -t158;
t166 = -t165;
t171 = t122+t125+t134+t152+t158;
t173 = t126+t135+t150+t151+t157;
t175 = t117+t131+t139+t149+t155+t165;
t172 = t124+t128+t136+t154+t160;
t174 = t129+t137+t148+t153+t159;
t176 = t120+t133+t141+t147+t156+t166;
dkedx2 = reshape([t143,t167,0.0,t170,t162,t68,t142,t168,0.0,t169,t161,t68,t167,t145,0.0,t163,t169,t113,t168,t144,0.0,t164,t170,t113,0.0,0.0,t51,t74,t110,0.0,0.0,0.0,t53,t74,t110,0.0,t170,t163,t74,t173,t175,t118,t169,t164,t67,t174,t176,t118,t162,t169,t110,t175,t171,t94,t161,t170,t111,t176,t172,t94,t68,t113,0.0,t118,t94,t52,t75,t112,0.0,t119,t98,t55,t142,t168,0.0,t169,t161,t75,t143,t167,0.0,t170,t162,t75,t168,t144,0.0,t164,t170,t112,t167,t145,0.0,t163,t169,t112,0.0,0.0,t53,t67,t111,0.0,0.0,0.0,t51,t67,t111,0.0,t169,t164,t74,t174,t176,t119,t170,t163,t67,t173,t175,t119,t161,t170,t110,t176,t172,t98,t162,t169,t111,t175,t171,t98,t68,t113,0.0,t118,t94,t55,t75,t112,0.0,t119,t98,t52],[12,12]);
end
