function obj = Jacob_pnp_func_new(in1,in2,in3,in4,in5)
coef_f0_q_sym1 = in1(:,1);
coef_f0_q_sym2 = in1(:,2);
coef_f1_q_sym1 = in2(:,1);
coef_f0_q_sym3 = in1(:,3);
coef_f1_q_sym2 = in2(:,2);
coef_f2_q_sym1 = in3(:,1);
coef_f0_q_sym4 = in1(:,4);
coef_f1_q_sym3 = in2(:,3);
coef_f2_q_sym2 = in3(:,2);
coef_f3_q_sym1 = in4(:,1);
coef_f0_q_sym5 = in1(:,5);
coef_f1_q_sym4 = in2(:,4);
coef_f2_q_sym3 = in3(:,3);
coef_f3_q_sym2 = in4(:,2);
coef_f0_q_sym6 = in1(:,6);
coef_f1_q_sym5 = in2(:,5);
coef_f2_q_sym4 = in3(:,4);
coef_f3_q_sym3 = in4(:,3);
coef_f0_q_sym7 = in1(:,7);
coef_f1_q_sym6 = in2(:,6);
coef_f2_q_sym5 = in3(:,5);
coef_f3_q_sym4 = in4(:,4);
coef_f0_q_sym8 = in1(:,8);
coef_f1_q_sym7 = in2(:,7);
coef_f2_q_sym6 = in3(:,6);
coef_f3_q_sym5 = in4(:,5);
coef_f0_q_sym9 = in1(:,9);
coef_f1_q_sym8 = in2(:,8);
coef_f2_q_sym7 = in3(:,7);
coef_f3_q_sym6 = in4(:,6);
coef_f1_q_sym9 = in2(:,9);
coef_f2_q_sym8 = in3(:,8);
coef_f3_q_sym7 = in4(:,7);
coef_f2_q_sym9 = in3(:,9);
coef_f3_q_sym8 = in4(:,8);
coef_f3_q_sym9 = in4(:,9);
coef_f0_q_sym10 = in1(:,10);
coef_f0_q_sym11 = in1(:,11);
coef_f0_q_sym20 = in1(:,20);
coef_f1_q_sym10 = in2(:,10);
coef_f0_q_sym12 = in1(:,12);
coef_f0_q_sym21 = in1(:,21);
coef_f1_q_sym11 = in2(:,11);
coef_f1_q_sym20 = in2(:,20);
coef_f2_q_sym10 = in3(:,10);
coef_f0_q_sym13 = in1(:,13);
coef_f0_q_sym22 = in1(:,22);
coef_f1_q_sym12 = in2(:,12);
coef_f1_q_sym21 = in2(:,21);
coef_f2_q_sym11 = in3(:,11);
coef_f2_q_sym20 = in3(:,20);
coef_f3_q_sym10 = in4(:,10);
coef_f0_q_sym14 = in1(:,14);
coef_f0_q_sym23 = in1(:,23);
coef_f1_q_sym13 = in2(:,13);
coef_f1_q_sym22 = in2(:,22);
coef_f2_q_sym12 = in3(:,12);
coef_f2_q_sym21 = in3(:,21);
coef_f3_q_sym11 = in4(:,11);
coef_f3_q_sym20 = in4(:,20);
coef_f0_q_sym15 = in1(:,15);
coef_f0_q_sym24 = in1(:,24);
coef_f1_q_sym14 = in2(:,14);
coef_f1_q_sym23 = in2(:,23);
coef_f2_q_sym13 = in3(:,13);
coef_f2_q_sym22 = in3(:,22);
coef_f3_q_sym12 = in4(:,12);
coef_f3_q_sym21 = in4(:,21);
coef_f0_q_sym16 = in1(:,16);
coef_f1_q_sym15 = in2(:,15);
coef_f1_q_sym24 = in2(:,24);
coef_f2_q_sym14 = in3(:,14);
coef_f2_q_sym23 = in3(:,23);
coef_f3_q_sym13 = in4(:,13);
coef_f3_q_sym22 = in4(:,22);
coef_f0_q_sym17 = in1(:,17);
coef_f1_q_sym16 = in2(:,16);
coef_f2_q_sym15 = in3(:,15);
coef_f2_q_sym24 = in3(:,24);
coef_f3_q_sym14 = in4(:,14);
coef_f3_q_sym23 = in4(:,23);
coef_f0_q_sym18 = in1(:,18);
coef_f1_q_sym17 = in2(:,17);
coef_f2_q_sym16 = in3(:,16);
coef_f3_q_sym15 = in4(:,15);
coef_f3_q_sym24 = in4(:,24);
coef_f0_q_sym19 = in1(:,19);
coef_f1_q_sym18 = in2(:,18);
coef_f2_q_sym17 = in3(:,17);
coef_f3_q_sym16 = in4(:,16);
coef_f1_q_sym19 = in2(:,19);
coef_f2_q_sym18 = in3(:,18);
coef_f3_q_sym17 = in4(:,17);
coef_f2_q_sym19 = in3(:,19);
coef_f3_q_sym18 = in4(:,18);
coef_f3_q_sym19 = in4(:,19);
q0 = in5(1,:);
q1 = in5(2,:);
q2 = in5(3,:);
q3 = in5(4,:);
t114 = q0.^2;
t115 = q1.^2;
t116 = q2.^2;
t117 = q3.^2;
t118 = coef_f0_q_sym11.*q0;
t119 = coef_f0_q_sym24.*q3;
t120 = coef_f0_q_sym1.*q0.*t114;
t121 = coef_f0_q_sym23.*q3.*t117;
t122 = coef_f0_q_sym4.*q3.*t114;
t123 = coef_f0_q_sym10.*q0.*t117;
t124 = coef_f0_q_sym6.*q0.*q1.*q2.*2.0;
t125 = coef_f0_q_sym16.*q1.*q2.*q3.*2.0;
t126 = coef_f0_q_sym18.*q1;
t127 = coef_f0_q_sym22.*q2;
t128 = coef_f0_q_sym12.*q1.*t115;
t129 = coef_f0_q_sym19.*q2.*t116;
t130 = coef_f0_q_sym2.*q1.*t114;
t131 = coef_f0_q_sym5.*q0.*t115;
t132 = coef_f0_q_sym3.*q2.*t114;
t133 = coef_f0_q_sym8.*q0.*t116;
t134 = coef_f0_q_sym7.*q0.*q1.*q3.*2.0;
t135 = coef_f0_q_sym9.*q0.*q2.*q3.*2.0;
obj = reshape([coef_f1_q_sym11.*q0.*-2.0+coef_f0_q_sym11.*q1-coef_f1_q_sym18.*q1-coef_f1_q_sym22.*q2-coef_f1_q_sym24.*q3-coef_f1_q_sym1.*q0.*t114.*4.0+coef_f0_q_sym2.*q0.*t115.*2.0-coef_f1_q_sym5.*q0.*t115.*2.0-coef_f1_q_sym8.*q0.*t116.*2.0-coef_f1_q_sym10.*q0.*t117.*2.0+coef_f0_q_sym1.*q1.*t114.*3.0-coef_f1_q_sym2.*q1.*t114.*3.0+coef_f0_q_sym5.*q1.*t115+coef_f0_q_sym8.*q1.*t116+coef_f0_q_sym10.*q1.*t117-coef_f1_q_sym12.*q1.*t115-coef_f1_q_sym15.*q1.*t116-coef_f1_q_sym17.*q1.*t117-coef_f1_q_sym3.*q2.*t114.*3.0+coef_f0_q_sym6.*q2.*t115-coef_f1_q_sym13.*q2.*t115-coef_f1_q_sym21.*q2.*t117-coef_f1_q_sym19.*q2.*t116-coef_f1_q_sym4.*q3.*t114.*3.0+coef_f0_q_sym7.*q3.*t115-coef_f1_q_sym20.*q3.*t116-coef_f1_q_sym14.*q3.*t115-coef_f1_q_sym23.*q3.*t117+coef_f0_q_sym3.*q0.*q1.*q2.*2.0-coef_f1_q_sym6.*q0.*q1.*q2.*2.0+coef_f0_q_sym4.*q0.*q1.*q3.*2.0-coef_f1_q_sym7.*q0.*q1.*q3.*2.0-coef_f1_q_sym9.*q0.*q2.*q3.*2.0+coef_f0_q_sym9.*q1.*q2.*q3-coef_f1_q_sym16.*q1.*q2.*q3,coef_f2_q_sym11.*q0.*-2.0-coef_f2_q_sym18.*q1+coef_f0_q_sym11.*q2-coef_f2_q_sym22.*q2-coef_f2_q_sym24.*q3-coef_f2_q_sym1.*q0.*t114.*4.0+coef_f0_q_sym3.*q0.*t116.*2.0-coef_f2_q_sym5.*q0.*t115.*2.0-coef_f2_q_sym8.*q0.*t116.*2.0-coef_f2_q_sym10.*q0.*t117.*2.0-coef_f2_q_sym2.*q1.*t114.*3.0+coef_f0_q_sym6.*q1.*t116-coef_f2_q_sym12.*q1.*t115-coef_f2_q_sym15.*q1.*t116-coef_f2_q_sym17.*q1.*t117+coef_f0_q_sym1.*q2.*t114.*3.0-coef_f2_q_sym3.*q2.*t114.*3.0+coef_f0_q_sym5.*q2.*t115+coef_f0_q_sym8.*q2.*t116+coef_f0_q_sym10.*q2.*t117-coef_f2_q_sym13.*q2.*t115-coef_f2_q_sym21.*q2.*t117-coef_f2_q_sym19.*q2.*t116-coef_f2_q_sym4.*q3.*t114.*3.0+coef_f0_q_sym9.*q3.*t116-coef_f2_q_sym20.*q3.*t116-coef_f2_q_sym14.*q3.*t115-coef_f2_q_sym23.*q3.*t117+coef_f0_q_sym2.*q0.*q1.*q2.*2.0-coef_f2_q_sym6.*q0.*q1.*q2.*2.0-coef_f2_q_sym7.*q0.*q1.*q3.*2.0+coef_f0_q_sym4.*q0.*q2.*q3.*2.0-coef_f2_q_sym9.*q0.*q2.*q3.*2.0+coef_f0_q_sym7.*q1.*q2.*q3-coef_f2_q_sym16.*q1.*q2.*q3,coef_f3_q_sym11.*q0.*-2.0-coef_f3_q_sym18.*q1-coef_f3_q_sym22.*q2+coef_f0_q_sym11.*q3-coef_f3_q_sym24.*q3-coef_f3_q_sym1.*q0.*t114.*4.0+coef_f0_q_sym4.*q0.*t117.*2.0-coef_f3_q_sym5.*q0.*t115.*2.0-coef_f3_q_sym8.*q0.*t116.*2.0-coef_f3_q_sym10.*q0.*t117.*2.0-coef_f3_q_sym2.*q1.*t114.*3.0+coef_f0_q_sym7.*q1.*t117-coef_f3_q_sym12.*q1.*t115-coef_f3_q_sym15.*q1.*t116-coef_f3_q_sym17.*q1.*t117-coef_f3_q_sym3.*q2.*t114.*3.0+coef_f0_q_sym9.*q2.*t117-coef_f3_q_sym13.*q2.*t115-coef_f3_q_sym21.*q2.*t117-coef_f3_q_sym19.*q2.*t116+coef_f0_q_sym1.*q3.*t114.*3.0+coef_f0_q_sym5.*q3.*t115-coef_f3_q_sym4.*q3.*t114.*3.0+coef_f0_q_sym8.*q3.*t116+coef_f0_q_sym10.*q3.*t117-coef_f3_q_sym20.*q3.*t116-coef_f3_q_sym14.*q3.*t115-coef_f3_q_sym23.*q3.*t117-coef_f3_q_sym6.*q0.*q1.*q2.*2.0+coef_f0_q_sym2.*q0.*q1.*q3.*2.0-coef_f3_q_sym7.*q0.*q1.*q3.*2.0+coef_f0_q_sym3.*q0.*q2.*q3.*2.0-coef_f3_q_sym9.*q0.*q2.*q3.*2.0+coef_f0_q_sym6.*q1.*q2.*q3-coef_f3_q_sym16.*q1.*q2.*q3,q0.*2.0,t118+t119+t120+t121+t122+t123+t124+t125+t127+t129+t132+t133+t134-coef_f1_q_sym18.*q0+coef_f0_q_sym18.*q1.*2.0-coef_f1_q_sym2.*q0.*t114+coef_f0_q_sym5.*q0.*t115.*3.0-coef_f1_q_sym12.*q0.*t115.*3.0-coef_f1_q_sym15.*q0.*t116-coef_f1_q_sym17.*q0.*t117+coef_f0_q_sym2.*q1.*t114.*2.0-coef_f1_q_sym5.*q1.*t114.*2.0+coef_f0_q_sym12.*q1.*t115.*4.0+coef_f0_q_sym15.*q1.*t116.*2.0+coef_f0_q_sym17.*q1.*t117.*2.0-coef_f1_q_sym6.*q2.*t114+coef_f0_q_sym13.*q2.*t115.*3.0+coef_f0_q_sym21.*q2.*t117-coef_f1_q_sym7.*q3.*t114+coef_f0_q_sym20.*q3.*t116+coef_f0_q_sym14.*q3.*t115.*3.0-coef_f1_q_sym13.*q0.*q1.*q2.*2.0-coef_f1_q_sym14.*q0.*q1.*q3.*2.0+coef_f0_q_sym9.*q0.*q2.*q3-coef_f1_q_sym16.*q0.*q2.*q3,-coef_f2_q_sym18.*q0+coef_f0_q_sym18.*q2-coef_f2_q_sym2.*q0.*t114+coef_f0_q_sym6.*q0.*t116-coef_f2_q_sym12.*q0.*t115.*3.0-coef_f2_q_sym15.*q0.*t116-coef_f2_q_sym17.*q0.*t117-coef_f2_q_sym5.*q1.*t114.*2.0+coef_f0_q_sym13.*q1.*t116.*2.0+coef_f0_q_sym2.*q2.*t114-coef_f2_q_sym6.*q2.*t114+coef_f0_q_sym12.*q2.*t115.*3.0+coef_f0_q_sym15.*q2.*t116+coef_f0_q_sym17.*q2.*t117-coef_f2_q_sym7.*q3.*t114+coef_f0_q_sym16.*q3.*t116+coef_f0_q_sym5.*q0.*q1.*q2.*2.0-coef_f2_q_sym13.*q0.*q1.*q2.*2.0-coef_f2_q_sym14.*q0.*q1.*q3.*2.0+coef_f0_q_sym7.*q0.*q2.*q3-coef_f2_q_sym16.*q0.*q2.*q3+coef_f0_q_sym14.*q1.*q2.*q3.*2.0,-coef_f3_q_sym18.*q0+coef_f0_q_sym18.*q3-coef_f3_q_sym2.*q0.*t114+coef_f0_q_sym7.*q0.*t117-coef_f3_q_sym12.*q0.*t115.*3.0-coef_f3_q_sym15.*q0.*t116-coef_f3_q_sym17.*q0.*t117-coef_f3_q_sym5.*q1.*t114.*2.0+coef_f0_q_sym14.*q1.*t117.*2.0-coef_f3_q_sym6.*q2.*t114+coef_f0_q_sym16.*q2.*t117+coef_f0_q_sym2.*q3.*t114-coef_f3_q_sym7.*q3.*t114+coef_f0_q_sym12.*q3.*t115.*3.0+coef_f0_q_sym15.*q3.*t116+coef_f0_q_sym17.*q3.*t117-coef_f3_q_sym13.*q0.*q1.*q2.*2.0+coef_f0_q_sym5.*q0.*q1.*q3.*2.0-coef_f3_q_sym14.*q0.*q1.*q3.*2.0+coef_f0_q_sym6.*q0.*q2.*q3-coef_f3_q_sym16.*q0.*q2.*q3+coef_f0_q_sym13.*q1.*q2.*q3.*2.0,q1.*2.0,-coef_f1_q_sym22.*q0+coef_f0_q_sym22.*q1-coef_f1_q_sym3.*q0.*t114+coef_f0_q_sym6.*q0.*t115-coef_f1_q_sym13.*q0.*t115-coef_f1_q_sym21.*q0.*t117-coef_f1_q_sym19.*q0.*t116.*3.0+coef_f0_q_sym3.*q1.*t114-coef_f1_q_sym6.*q1.*t114+coef_f0_q_sym13.*q1.*t115+coef_f0_q_sym21.*q1.*t117+coef_f0_q_sym19.*q1.*t116.*3.0-coef_f1_q_sym8.*q2.*t114.*2.0+coef_f0_q_sym15.*q2.*t115.*2.0-coef_f1_q_sym9.*q3.*t114+coef_f0_q_sym16.*q3.*t115+coef_f0_q_sym8.*q0.*q1.*q2.*2.0-coef_f1_q_sym15.*q0.*q1.*q2.*2.0+coef_f0_q_sym9.*q0.*q1.*q3-coef_f1_q_sym16.*q0.*q1.*q3-coef_f1_q_sym20.*q0.*q2.*q3.*2.0+coef_f0_q_sym20.*q1.*q2.*q3.*2.0,t118+t119+t120+t121+t122+t123+t124+t125+t126+t128+t130+t131+t135-coef_f2_q_sym22.*q0+coef_f0_q_sym22.*q2.*2.0-coef_f2_q_sym3.*q0.*t114+coef_f0_q_sym8.*q0.*t116.*3.0-coef_f2_q_sym13.*q0.*t115-coef_f2_q_sym21.*q0.*t117-coef_f2_q_sym19.*q0.*t116.*3.0-coef_f2_q_sym6.*q1.*t114+coef_f0_q_sym15.*q1.*t116.*3.0+coef_f0_q_sym17.*q1.*t117+coef_f0_q_sym3.*q2.*t114.*2.0-coef_f2_q_sym8.*q2.*t114.*2.0+coef_f0_q_sym13.*q2.*t115.*2.0+coef_f0_q_sym21.*q2.*t117.*2.0+coef_f0_q_sym19.*q2.*t116.*4.0-coef_f2_q_sym9.*q3.*t114+coef_f0_q_sym20.*q3.*t116.*3.0+coef_f0_q_sym14.*q3.*t115-coef_f2_q_sym15.*q0.*q1.*q2.*2.0+coef_f0_q_sym7.*q0.*q1.*q3-coef_f2_q_sym16.*q0.*q1.*q3-coef_f2_q_sym20.*q0.*q2.*q3.*2.0,-coef_f3_q_sym22.*q0+coef_f0_q_sym22.*q3-coef_f3_q_sym3.*q0.*t114+coef_f0_q_sym9.*q0.*t117-coef_f3_q_sym13.*q0.*t115-coef_f3_q_sym21.*q0.*t117-coef_f3_q_sym19.*q0.*t116.*3.0-coef_f3_q_sym6.*q1.*t114+coef_f0_q_sym16.*q1.*t117-coef_f3_q_sym8.*q2.*t114.*2.0+coef_f0_q_sym20.*q2.*t117.*2.0+coef_f0_q_sym3.*q3.*t114-coef_f3_q_sym9.*q3.*t114+coef_f0_q_sym13.*q3.*t115+coef_f0_q_sym21.*q3.*t117+coef_f0_q_sym19.*q3.*t116.*3.0-coef_f3_q_sym15.*q0.*q1.*q2.*2.0+coef_f0_q_sym6.*q0.*q1.*q3-coef_f3_q_sym16.*q0.*q1.*q3+coef_f0_q_sym8.*q0.*q2.*q3.*2.0-coef_f3_q_sym20.*q0.*q2.*q3.*2.0+coef_f0_q_sym15.*q1.*q2.*q3.*2.0,q2.*2.0,-coef_f1_q_sym24.*q0+coef_f0_q_sym24.*q1-coef_f1_q_sym4.*q0.*t114+coef_f0_q_sym7.*q0.*t115-coef_f1_q_sym20.*q0.*t116-coef_f1_q_sym14.*q0.*t115-coef_f1_q_sym23.*q0.*t117.*3.0+coef_f0_q_sym4.*q1.*t114-coef_f1_q_sym7.*q1.*t114+coef_f0_q_sym20.*q1.*t116+coef_f0_q_sym14.*q1.*t115+coef_f0_q_sym23.*q1.*t117.*3.0-coef_f1_q_sym9.*q2.*t114+coef_f0_q_sym16.*q2.*t115-coef_f1_q_sym10.*q3.*t114.*2.0+coef_f0_q_sym17.*q3.*t115.*2.0+coef_f0_q_sym9.*q0.*q1.*q2-coef_f1_q_sym16.*q0.*q1.*q2+coef_f0_q_sym10.*q0.*q1.*q3.*2.0-coef_f1_q_sym17.*q0.*q1.*q3.*2.0-coef_f1_q_sym21.*q0.*q2.*q3.*2.0+coef_f0_q_sym21.*q1.*q2.*q3.*2.0,-coef_f2_q_sym24.*q0+coef_f0_q_sym24.*q2-coef_f2_q_sym4.*q0.*t114+coef_f0_q_sym9.*q0.*t116-coef_f2_q_sym20.*q0.*t116-coef_f2_q_sym14.*q0.*t115-coef_f2_q_sym23.*q0.*t117.*3.0-coef_f2_q_sym7.*q1.*t114+coef_f0_q_sym16.*q1.*t116+coef_f0_q_sym4.*q2.*t114-coef_f2_q_sym9.*q2.*t114+coef_f0_q_sym20.*q2.*t116+coef_f0_q_sym14.*q2.*t115+coef_f0_q_sym23.*q2.*t117.*3.0-coef_f2_q_sym10.*q3.*t114.*2.0+coef_f0_q_sym21.*q3.*t116.*2.0+coef_f0_q_sym7.*q0.*q1.*q2-coef_f2_q_sym16.*q0.*q1.*q2-coef_f2_q_sym17.*q0.*q1.*q3.*2.0+coef_f0_q_sym10.*q0.*q2.*q3.*2.0-coef_f2_q_sym21.*q0.*q2.*q3.*2.0+coef_f0_q_sym17.*q1.*q2.*q3.*2.0,t118+t120+t125+t126+t127+t128+t129+t130+t131+t132+t133+t134+t135-coef_f3_q_sym24.*q0+coef_f0_q_sym24.*q3.*2.0-coef_f3_q_sym4.*q0.*t114+coef_f0_q_sym10.*q0.*t117.*3.0-coef_f3_q_sym20.*q0.*t116-coef_f3_q_sym14.*q0.*t115-coef_f3_q_sym23.*q0.*t117.*3.0-coef_f3_q_sym7.*q1.*t114+coef_f0_q_sym15.*q1.*t116+coef_f0_q_sym17.*q1.*t117.*3.0-coef_f3_q_sym9.*q2.*t114+coef_f0_q_sym13.*q2.*t115+coef_f0_q_sym21.*q2.*t117.*3.0+coef_f0_q_sym4.*q3.*t114.*2.0+coef_f0_q_sym20.*q3.*t116.*2.0-coef_f3_q_sym10.*q3.*t114.*2.0+coef_f0_q_sym14.*q3.*t115.*2.0+coef_f0_q_sym23.*q3.*t117.*4.0+coef_f0_q_sym6.*q0.*q1.*q2-coef_f3_q_sym16.*q0.*q1.*q2-coef_f3_q_sym17.*q0.*q1.*q3.*2.0-coef_f3_q_sym21.*q0.*q2.*q3.*2.0,q3.*2.0],[4, 4]);
