text:
Q: Why does changing the order of integration in Mathematica give different results? Here are two statements from my Mathematica program.
Print[ExpandAll[Chop[Integrate[Resi*Cos[7*1*\[Theta]]*Sin[(1*Pi*x)/L], {\[Theta],
     0,2*Pi},{x,0, L}], 10^-6]]];

This line gives me the output
1043.84 A[1,7][t]-115072. A[1,0][t] A[1,7][t]+112.933 A[1,0][t]^2 A[1,7][t]+12415.3 A[1,7][t]^3-1327.67 A[1,7][t] A[1,14][t]+387.315 A[1,0][t] A[1,7][t] A[1,14][t]+50249.8 A[1,7][t] A[1,14][t]^2+12415.3 A[1,7][t] B[1,7][t]^2-1327.67 B[1,7][t] B[1,14][t]+387.315 A[1,0][t] B[1,7][t] B[1,14][t]+50249.8 A[1,7][t] B[1,14][t]^2+0.000108481 (A[1,7]^\[Prime]\[Prime])[t]

whereas when I reverse the order of integration
Print[ExpandAll[Chop[Integrate[Resi*Cos[7*1*\[Theta]]*Sin[(1*Pi*x)/L], {x, 0, L}, {\[Theta], 0, 2*Pi}], 10^-6]]];

I get the following output
 2087.69 A[1,7][t]-230144. A[1,0][t] A[1,7][t]+225.866 A[1,0][t]^2 A[1,7][t]+24830.6 A[1,7][t]^3-2655.34 A[1,7][t] A[1,14][t]+774.631 A[1,0][t] A[1,7][t] A[1,14][t]+100500. A[1,7][t] A[1,14][t]^2+24830.6 A[1,7][t] B[1,7][t]^2-2655.34 B[1,7][t] B[1,14][t]+774.631 A[1,0][t] B[1,7][t] B[1,14][t]+100500. A[1,7][t] B[1,14][t]^2+0.000216962 (A[1,7]^\[Prime]\[Prime])[t]

The order of integration should not matter. Then why are the outputs different? Note that the wrong output that is the first one is just the half of the second(correct) output. I ask this because the order that is giving me the correct answer is taking a lot of time. I have many such integrals in my program.
The expression for Resi is a huge term but let me give you a small part of it
  1754.2 Sin[(\[Pi] x)/200] A[1, 0][t] +
  6.64531 Cos[7 \[Theta]] Sin[(\[Pi] x)/200] A[1, 7][t] +
  3.01996 Cos[(\[Pi] x)/100] Cos[7 \[Theta]] A[1, 0][t] A[1, 7][t] -
  861.531 Cos[7 \[Theta]] Sin[(\[Pi] x)/200]^2 A[1, 0][t] A[1, 7][t] +
  0.533983 Cos[7 \[Theta]] Sin[(\[Pi] x)/200] A[1, 0][t]^2 A[1, 7][
  t] - 0.369945 Cos[(\[Pi] x)/100] Cos[7 \[Theta]] Sin[(\[Pi] x)/
  200] A[1, 0][t]^2 A[1, 7][t] - 107.444 A[1, 7][t]^2 +
  107.444 Cos[(\[Pi] x)/100] A[1, 7][t]^2 -
  3.95111 Cos[7 \[Theta]]^2 Sin[(\[Pi] x)/200]^2 A[1, 7][t]^2 +
  3.95111 Cos[(\[Pi] x)/200]^2 Sin[7 \[Theta]]^2 A[1, 7][t]^2 +
  0.533983 Cos[7 \[Theta]]^2 Sin[(\[Pi] x)/200] A[1, 0][t] A[1, 7][
  t]^2 - 1.84972 Cos[(\[Pi] x)/100] Cos[7 \[Theta]]^2 Sin[(\[Pi] x)/
  200] A[1, 0][t] A[1, 7][t]^2 +
  0.133496 Cos[14 \[Theta]] Sin[(\[Pi] x)/200] A[1, 0][t] A[1, 7][
  t]^2 - 1.47978 Cos[(\[Pi] x)/200] Sin[(\[Pi] x)/100] Sin[
  7 \[Theta]]^2 A[1, 0][t] A[1, 7][t]^2 +
  52.6477 Cos[7 \[Theta]] Sin[(\[Pi] x)/200] A[1, 7][t]^3 -
  52.6477 Cos[(\[Pi] x)/100] Cos[7 \[Theta]] Sin[(\[Pi] x)/
  200] A[1, 7][t]^3 +
  0.133496 Cos[7 \[Theta]] Cos[14 \[Theta]] Sin[(\[Pi] x)/200] A[1, 7][
    t]^3 + 39.1352 Cos[14 \[Theta]] Sin[(\[Pi] x)/200] A[1, 14][t] +
  0.987777 Cos[(\[Pi] x)/100] Cos[14 \[Theta]] A[1, 0][t] A[1, 14][
   t] - 3438.75 Cos[14 \[Theta]] Sin[(\[Pi] x)/200]^2 A[1, 0][
   t] A[1, 14][t] +
   0.533983 Cos[14 \[Theta]] Sin[(\[Pi] x)/200] A[1, 0][t]^2 A[1, 14][
    t] - 0.484011 Cos[(\[Pi] x)/100] Cos[14 \[Theta]] Sin[(\[Pi] x)/
   200] A[1, 0][t]^2 A[1, 14][t] +
    13.5898 Cos[(\[Pi] x)/100] Cos[7 \[Theta]] A[1, 7][t] A[1, 14][t] +
    0.0257425 Cos[(\[Pi] x)/100] Cos[21 \[Theta]] A[1, 7][t] A[1, 14][
   t] - 10.542 Cos[7 \[Theta]] Cos[14 \[Theta]] Sin[(\[Pi] x)/
      200]^2 A[1, 7][t] A[1, 14][t] +
   8.43363 Cos[(\[Pi] x)/200]^2 Sin[7 \[Theta]] Sin[
   14 \[Theta]] A[1, 7][t] A[1, 14][t] +
   0.266991 Cos[7 \[Theta]] Sin[(\[Pi] x)/200] A[1, 0][t] A[1, 7][
   t] A[1, 14][t] -
   1.66475 Cos[(\[Pi] x)/100] Cos[7 \[Theta]] Sin[(\[Pi] x)/
    200] A[1, 0][t] A[1, 7][t] A[1, 14][t] +
     1.06797 Cos[7 \[Theta]] Cos[14 \[Theta]] Sin[(\[Pi] x)/200] A[1, 0][
   t] A[1, 7][t] A[1, 14][t] -
   7.25708 Cos[(\[Pi] x)/100] Cos[7 \[Theta]] Cos[
   14 \[Theta]] Sin[(\[Pi] x)/200] A[1, 0][t] A[1, 7][t] A[1, 14][
   t] + 0.266991 Cos[21 \[Theta]] Sin[(\[Pi] x)/200] A[1, 0][
   t] A[1, 7][t] A[1, 14][t] -
   0.0283811 Cos[(\[Pi] x)/100] Cos[21 \[Theta]] Sin[(\[Pi] x)/
   200] A[1, 0][t] A[1, 7][t] A[1, 14][t] -
   3.92758 Cos[(\[Pi] x)/200] Sin[(\[Pi] x)/100] Sin[7 \[Theta]] Sin[
   14 \[Theta]] A[1, 0][t] A[1, 7][t] A[1, 14][t] +
   0.266991 Cos[7 \[Theta]]^2 Sin[(\[Pi] x)/200] A[1, 7][t]^2 A[1, 14][
   t] - 8.32376 Cos[(\[Pi] x)/100] Cos[7 \[Theta]]^2 Sin[(\[Pi] x)/
     200] A[1, 7][t]^2 A[1, 14][t] +
     210.591 Cos[14 \[Theta]] Sin[(\[Pi] x)/200] A[1, 7][t]^2 A[1, 14][
    t] - 210.591 Cos[(\[Pi] x)/100] Cos[14 \[Theta]] Sin[(\[Pi] x)/
   200] A[1, 7][t]^2 A[1, 14][t] +
  0.133496 Cos[14 \[Theta]]^2 Sin[(\[Pi] x)/200] A[1, 7][t]^2 A[1, 14][
  t] + 0.266991 Cos[7 \[Theta]] Cos[21 \[Theta]] Sin[(\[Pi] x)/
  200] A[1, 7][t]^2 A[1, 14][t] -
    0.040995 Cos[(\[Pi] x)/100] Cos[7 \[Theta]] Cos[
     21 \[Theta]] Sin[(\[Pi] x)/200] A[1, 7][t]^2 A[1, 14][t] -
       6.65901 Cos[(\[Pi] x)/200] Sin[(\[Pi] x)/100] Sin[
   7 \[Theta]]^2 A[1, 7][t]^2 A[1, 14][t] -
   0.0378415 Cos[(\[Pi] x)/200] Sin[(\[Pi] x)/100] Sin[7 \[Theta]] Sin[
   21 \[Theta]] A[1, 7][t]^2 A[1, 14][t] - 429.778 A[1, 14][t]^2 +
   429.778 Cos[(\[Pi] x)/100] A[1, 14][t]^2 -
   1.06283 Cos[14 \[Theta]]^2 Sin[(\[Pi] x)/200]^2 A[1, 14][t]^2 +
   1.06283 Cos[(\[Pi] x)/200]^2 Sin[14 \[Theta]]^2 A[1, 14][t]^2 +
 0.533983 Cos[14 \[Theta]]^2 Sin[(\[Pi] x)/200] A[1, 0][t] A[1, 14][
 t]^2 - 2.42005 Cos[(\[Pi] x)/100] Cos[14 \[Theta]]^2 Sin[(\[Pi] x)/
  200] A[1, 0][t] A[1, 14][t]^2 +
  0.133496 Cos[28 \[Theta]] Sin[(\[Pi] x)/200] A[1, 0][t] A[1, 14][
  t]^2 -
  1.93604 Cos[(\[Pi] x)/200] Sin[(\[Pi] x)/100] Sin[
  14 \[Theta]]^2 A[1, 0][t] A[1, 14][t]^2 +
  210.591 Cos[7 \[Theta]] Sin[(\[Pi] x)/200] A[1, 7][t] A[1, 14][
  t]^2 - 210.591 Cos[(\[Pi] x)/100] Cos[7 \[Theta]] Sin[(\[Pi] x)/
      200] A[1, 7][t] A[1, 14][t]^2 +
    0.266991 Cos[7 \[Theta]] Cos[14 \[Theta]] Sin[(\[Pi] x)/200] A[1, 7][
     t] A[1, 14][t]^2 -
 28.3008 Cos[(\[Pi] x)/100] Cos[7 \[Theta]] Cos[
 14 \[Theta]] Sin[(\[Pi] x)/200] A[1, 7][t] A[1, 14][t]^2 +
 0.266991 Cos[14 \[Theta]] Cos[21 \[Theta]] Sin[(\[Pi] x)/
 200] A[1, 7][t] A[1, 14][t]^2 -
 0.0788365 Cos[(\[Pi] x)/100] Cos[14 \[Theta]] Cos[
 21 \[Theta]] Sin[(\[Pi] x)/200] A[1, 7][t] A[1, 14][t]^2 +
 0.133496 Cos[7 \[Theta]] Cos[28 \[Theta]] Sin[(\[Pi] x)/200] A[1, 7][
 t] A[1, 14][t]^2 -
 13.318 Cos[(\[Pi] x)/200] Sin[(\[Pi] x)/100] Sin[7 \[Theta]] Sin[
 14 \[Theta]] A[1, 7][t] A[1, 14][t]^2 -
 0.075683 Cos[(\[Pi] x)/200] Sin[(\[Pi] x)/100] Sin[14 \[Theta]] Sin[
 21 \[Theta]] A[1, 7][t] A[1, 14][t]^2 +
 842.364 Cos[14 \[Theta]] Sin[(\[Pi] x)/200] A[1, 14][t]^3 -
 842.364 Cos[(\[Pi] x)/100] Cos[14 \[Theta]] Sin[(\[Pi] x)/
  200] A[1, 14][t]^3 +
  0.133496 Cos[14 \[Theta]] Cos[28 \[Theta]] Sin[(\[Pi] x)/
 200] A[1, 14][t]^3 +
 6.64531 Sin[(\[Pi] x)/200] Sin[7 \[Theta]] B[1, 7][t] +
     3.01996 Cos[(\[Pi] x)/100] Sin[7 \[Theta]] A[1, 0][t] B[1, 7][t] -
  861.531 Sin[(\[Pi] x)/200]^2 Sin[7 \[Theta]] A[1, 0][t] B[1, 7][t] +
 0.533983 Sin[(\[Pi] x)/200] Sin[7 \[Theta]] A[1, 0][t]^2 B[1, 7][
   t] - 0.369945 Cos[(\[Pi] x)/100] Sin[(\[Pi] x)/200] Sin[
 7 \[Theta]] A[1, 0][t]^2 B[1, 7][t] -
 7.90221 Cos[(\[Pi] x)/200]^2 Cos[7 \[Theta]] Sin[7 \[Theta]] A[1, 7][
 t] B[1, 7][t] -
 7.90221 Cos[7 \[Theta]] Sin[(\[Pi] x)/200]^2 Sin[7 \[Theta]] A[1, 7][
 t] B[1, 7][t] +
 1.06797 Cos[7 \[Theta]] Sin[(\[Pi] x)/200] Sin[7 \[Theta]] A[1, 0][
 t] A[1, 7][t] B[1, 7][t] -
 3.69945 Cos[(\[Pi] x)/100] Cos[7 \[Theta]] Sin[(\[Pi] x)/200] Sin[
 7 \[Theta]] A[1, 0][t] A[1, 7][t] B[1, 7][t] +
 2.95956 Cos[(\[Pi] x)/200] Cos[7 \[Theta]] Sin[(\[Pi] x)/100] Sin[
 7 \[Theta]] A[1, 0][t] A[1, 7][t] B[1, 7][t] +
 0.266991 Sin[(\[Pi] x)/200] Sin[14 \[Theta]] A[1, 0][t] A[1, 7][
 t] B[1, 7][t] +
 52.6477 Sin[(\[Pi] x)/200] Sin[7 \[Theta]] A[1, 7][t]^2 B[1, 7][t] -
 52.6477 Cos[(\[Pi] x)/100] Sin[(\[Pi] x)/200] Sin[
 7 \[Theta]] A[1, 7][t]^2 B[1, 7][t] +
 0.133496 Cos[14 \[Theta]] Sin[(\[Pi] x)/200] Sin[7 \[Theta]] A[1, 7][
 t]^2 B[1, 7][t] +
 0.266991 Cos[7 \[Theta]] Sin[(\[Pi] x)/200] Sin[14 \[Theta]] A[1, 7][
 t]^2 B[1, 7][t] -
 13.5898 Cos[(\[Pi] x)/100] Sin[7 \[Theta]] A[1, 14][t] B[1, 7][t] -
 10.542 Cos[14 \[Theta]] Sin[(\[Pi] x)/200]^2 Sin[
 7 \[Theta]] A[1, 14][t] B[1, 7][t] -
 8.43363 Cos[(\[Pi] x)/200]^2 Cos[7 \[Theta]] Sin[
 14 \[Theta]] A[1, 14][t] B[1, 7][t] +
 0.0257425 Cos[(\[Pi] x)/100] Sin[21 \[Theta]] A[1, 14][t] B[1, 7][
 t] - 0.266991 Sin[(\[Pi] x)/200] Sin[7 \[Theta]] A[1, 0][
 t] A[1, 14][t] B[1, 7][t] +
 1.66475 Cos[(\[Pi] x)/100] Sin[(\[Pi] x)/200] Sin[
 7 \[Theta]] A[1, 0][t] A[1, 14][t] B[1, 7][t] +
 1.06797 Cos[14 \[Theta]] Sin[(\[Pi] x)/200] Sin[7 \[Theta]] A[1, 0][
   t] A[1, 14][t] B[1, 7][t] -
 7.25708 Cos[(\[Pi] x)/100] Cos[14 \[Theta]] Sin[(\[Pi] x)/200] Sin[
 7 \[Theta]] A[1, 0][t] A[1, 14][t] B[1, 7][t] +
 3.92758 Cos[(\[Pi] x)/200] Cos[7 \[Theta]] Sin[(\[Pi] x)/100] Sin[
 14 \[Theta]] A[1, 0][t] A[1, 14][t] B[1, 7][t] +
 0.266991 Sin[(\[Pi] x)/200] Sin[21 \[Theta]] A[1, 0][t] A[1, 14][
  t] B[1, 7][t] -
  0.0283811 Cos[(\[Pi] x)/100] Sin[(\[Pi] x)/200] Sin[
  21 \[Theta]] A[1, 0][t] A[1, 14][t] B[1, 7][t] +
  0. Cos[7 \[Theta]] Sin[(\[Pi] x)/200] Sin[7 \[Theta]] A[1, 7][
 t] A[1, 14][t] B[1, 7][t] +
 0. Cos[(\[Pi] x)/100] Cos[7 \[Theta]] Sin[(\[Pi] x)/200] Sin[
 7 \[Theta]] A[1, 7][t] A[1, 14][t] B[1, 7][t] +
 0.266991 Cos[21 \[Theta]] Sin[(\[Pi] x)/200] Sin[7 \[Theta]] A[1, 7][
 t] A[1, 14][t] B[1, 7][t] -
 0.040995 Cos[(\[Pi] x)/100] Cos[21 \[Theta]] Sin[(\[Pi] x)/200] Sin[
 7 \[Theta]] A[1, 7][t] A[1, 14][t] B[1, 7][t] +
 0. Cos[(\[Pi] x)/200] Cos[7 \[Theta]] Sin[(\[Pi] x)/100] Sin[
 7 \[Theta]] A[1, 7][t] A[1, 14][t] B[1, 7][t] +
 0.0378415 Cos[(\[Pi] x)/200] Cos[21 \[Theta]] Sin[(\[Pi] x)/100] Sin[
  7 \[Theta]] A[1, 7][t] A[1, 14][t] B[1, 7][t] +
 0.266991 Cos[14 \[Theta]] Sin[(\[Pi] x)/200] Sin[
  14 \[Theta]] A[1, 7][t] A[1, 14][t] B[1, 7][t] +
 0.266991 Cos[7 \[Theta]] Sin[(\[Pi] x)/200] Sin[21 \[Theta]] A[1, 7][
  t] A[1, 14][t] B[1, 7][t] -
 0.040995 Cos[(\[Pi] x)/100] Cos[7 \[Theta]] Sin[(\[Pi] x)/200] Sin[
  21 \[Theta]] A[1, 7][t] A[1, 14][t] B[1, 7][t] +
 0.0378415 Cos[(\[Pi] x)/200] Cos[7 \[Theta]] Sin[(\[Pi] x)/100] Sin[
  21 \[Theta]] A[1, 7][t] A[1, 14][t] B[1, 7][t] +
 210.591 Sin[(\[Pi] x)/200] Sin[7 \[Theta]] A[1, 14][t]^2 B[1, 7][
 t] - 210.591 Cos[(\[Pi] x)/100] Sin[(\[Pi] x)/200] Sin[
 7 \[Theta]] A[1, 14][t]^2 B[1, 7][t] -
  0.266991 Cos[14 \[Theta]] Sin[(\[Pi] x)/200] Sin[
  7 \[Theta]] A[1, 14][t]^2 B[1, 7][t] +
  28.3008 Cos[(\[Pi] x)/100] Cos[14 \[Theta]] Sin[(\[Pi] x)/200] Sin[
    7 \[Theta]] A[1, 14][t]^2 B[1, 7][t] +
  0.133496 Cos[28 \[Theta]] Sin[(\[Pi] x)/200] Sin[
   7 \[Theta]] A[1, 14][t]^2 B[1, 7][t] -
   13.318 Cos[(\[Pi] x)/200] Cos[7 \[Theta]] Sin[(\[Pi] x)/100] Sin[
  14 \[Theta]] A[1, 14][t]^2 B[1, 7][t] +
  0.075683 Cos[(\[Pi] x)/200] Cos[21 \[Theta]] Sin[(\[Pi] x)/100] Sin[
   14 \[Theta]] A[1, 14][t]^2 B[1, 7][t] +
   0.266991 Cos[14 \[Theta]] Sin[(\[Pi] x)/200] Sin[
   21 \[Theta]] A[1, 14][t]^2 B[1, 7][t] -
   0.0788365 Cos[(\[Pi] x)/100] Cos[14 \[Theta]] Sin[(\[Pi] x)/200] Sin[
   21 \[Theta]] A[1, 14][t]^2 B[1, 7][t] - 107.444 B[1, 7][t]^2 +
   107.444 Cos[(\[Pi] x)/100] B[1, 7][t]^2 +
   3.95111 Cos[(\[Pi] x)/200]^2 Cos[7 \[Theta]]^2 B[1, 7][t]^2 -
  3.95111 Sin[(\[Pi] x)/200]^2 Sin[7 \[Theta]]^2 B[1, 7][t]^2 -
   0.133496 Cos[14 \[Theta]] Sin[(\[Pi] x)/200] A[1, 0][t] B[1, 7][
   t]^2 - 1.47978 Cos[(\[Pi] x)/200] Cos[7 \[Theta]]^2 Sin[(\[Pi] x)/
   100] A[1, 0][t] B[1, 7][t]^2 +
   0.533983 Sin[(\[Pi] x)/200] Sin[7 \[Theta]]^2 A[1, 0][t] B[1, 7][
    t]^2 - 1.84972 Cos[(\[Pi] x)/100] Sin[(\[Pi] x)/200] Sin[
     7 \[Theta]]^2 A[1, 0][t] B[1, 7][t]^2 +
     52.6477 Cos[7 \[Theta]] Sin[(\[Pi] x)/200] A[1, 7][t] B[1, 7][t]^2 -
   52.6477 Cos[(\[Pi] x)/100] Cos[7 \[Theta]] Sin[(\[Pi] x)/
    200] A[1, 7][t] B[1, 7][t]^2 -
    0.133496 Cos[7 \[Theta]] Cos[14 \[Theta]] Sin[(\[Pi] x)/200] A[1, 7][
      t] B[1, 7][t]^2 +
    0.266991 Sin[(\[Pi] x)/200] Sin[7 \[Theta]] Sin[14 \[Theta]] A[1, 7][
     t] B[1, 7][t]^2 +
   210.591 Cos[14 \[Theta]] Sin[(\[Pi] x)/200] A[1, 14][t] B[1, 7][
   t]^2 - 210.591 Cos[(\[Pi] x)/100] Cos[14 \[Theta]] Sin[(\[Pi] x)/
     200] A[1, 14][t] B[1, 7][t]^2 -
    0.133496 Cos[14 \[Theta]]^2 Sin[(\[Pi] x)/200] A[1, 14][t] B[1, 7][
     t]^2 + 6.65901 Cos[(\[Pi] x)/200] Cos[7 \[Theta]]^2 Sin[(\[Pi] x)/
      100] A[1, 14][t] B[1, 7][t]^2 -
      0.0378415 Cos[(\[Pi] x)/200] Cos[7 \[Theta]] Cos[
      21 \[Theta]] Sin[(\[Pi] x)/100] A[1, 14][t] B[1, 7][t]^2 -
    0.266991 Sin[(\[Pi] x)/200] Sin[7 \[Theta]]^2 A[1, 14][t] B[1, 7][
    t]^2 + 8.32376 Cos[(\[Pi] x)/100] Sin[(\[Pi] x)/200] Sin[
     7 \[Theta]]^2 A[1, 14][t] B[1, 7][t]^2 +
   0.266991 Sin[(\[Pi] x)/200] Sin[7 \[Theta]] Sin[
     21 \[Theta]] A[1, 14][t] B[1, 7][t]^2 -
      0.040995 Cos[(\[Pi] x)/100] Sin[(\[Pi] x)/200] Sin[7 \[Theta]] Sin[
    21 \[Theta]] A[1, 14][t] B[1, 7][t]^2 +
    52.6477 Sin[(\[Pi] x)/200] Sin[7 \[Theta]] B[1, 7][t]^3 -
    52.6477 Cos[(\[Pi] x)/100] Sin[(\[Pi] x)/200] Sin[
    7 \[Theta]] B[1, 7][t]^3 -
    0.133496 Cos[14 \[Theta]] Sin[(\[Pi] x)/200] Sin[7 \[Theta]] B[1, 7][
    t]^3 + 39.1352 Sin[(\[Pi] x)/200] Sin[14 \[Theta]] B[1, 14][t] +
    0.987777 Cos[(\[Pi] x)/100] Sin[14 \[Theta]] A[1, 0][t] B[1, 14][
      t] - 3438.75 Sin[(\[Pi] x)/200]^2 Sin[14 \[Theta]] A[1, 0][
     t] B[1, 14][t] +
    0.533983 Sin[(\[Pi] x)/200] Sin[14 \[Theta]] A[1, 0][t]^2 B[1, 14][
    t] - 0.484011 Cos[(\[Pi] x)/100] Sin[(\[Pi] x)/200] Sin[
     14 \[Theta]] A[1, 0][t]^2 B[1, 14][t] +
    13.5898 Cos[(\[Pi] x)/100] Sin[7 \[Theta]] A[1, 7][t] B[1, 14][t] -
    8.43363 Cos[(\[Pi] x)/200]^2 Cos[14 \[Theta]] Sin[
     7 \[Theta]] A[1, 7][t] B[1, 14][t] -
    10.542 Cos[7 \[Theta]] Sin[(\[Pi] x)/200]^2 Sin[14 \[Theta]] A[1, 7][
     t] B[1, 14][t] +
   0.0257425 Cos[(\[Pi] x)/100] Sin[21 \[Theta]] A[1, 7][t] B[1, 14][
    t] + 0.266991 Sin[(\[Pi] x)/200] Sin[7 \[Theta]] A[1, 0][
     t] A[1, 7][t] B[1, 14][t] -
     1.66475 Cos[(\[Pi] x)/100] Sin[(\[Pi] x)/200] Sin[
      7 \[Theta]] A[1, 0][t] A[1, 7][t] B[1, 14][t] +
    3.92758 Cos[(\[Pi] x)/200] Cos[14 \[Theta]] Sin[(\[Pi] x)/100] Sin[
      7 \[Theta]] A[1, 0][t] A[1, 7][t] B[1, 14][t] +
    1.06797 Cos[7 \[Theta]] Sin[(\[Pi] x)/200] Sin[14 \[Theta]] A[1, 0][
        t] A[1, 7][t] B[1, 14][t] -
     7.25708 Cos[(\[Pi] x)/100] Cos[7 \[Theta]] Sin[(\[Pi] x)/200] Sin[
       14 \[Theta]] A[1, 0][t] A[1, 7][t] B[1, 14][t] +
     0.266991 Sin[(\[Pi] x)/200] Sin[21 \[Theta]] A[1, 0][t] A[1, 7][
     t] B[1, 14][t] -
     0.0283811 Cos[(\[Pi] x)/100] Sin[(\[Pi] x)/200] Sin[
    21 \[Theta]] A[1, 0][t] A[1, 7][t] B[1, 14][t] +
     0.266991 Cos[7 \[Theta]] Sin[(\[Pi] x)/200] Sin[7 \[Theta]] A[1, 7][
     t]^2 B[1, 14][t] -
   8.32376 Cos[(\[Pi] x)/100] Cos[7 \[Theta]] Sin[(\[Pi] x)/200] Sin[
     7 \[Theta]] A[1, 7][t]^2 B[1, 14][t] +
     6.65901 Cos[(\[Pi] x)/200] Cos[7 \[Theta]] Sin[(\[Pi] x)/100] Sin[
      7 \[Theta]] A[1, 7][t]^2 B[1, 14][t] +
   0.0378415 Cos[(\[Pi] x)/200] Cos[21 \[Theta]] Sin[(\[Pi] x)/100] Sin[
    7 \[Theta]] A[1, 7][t]^2 B[1, 14][t] +
      210.591 Sin[(\[Pi] x)/200] Sin[14 \[Theta]] A[1, 7][t]^2 B[1, 14][
      t] - 210.591 Cos[(\[Pi] x)/100] Sin[(\[Pi] x)/200] Sin[
     14 \[Theta]] A[1, 7][t]^2 B[1, 14][t] +
    0.133496 Cos[14 \[Theta]] Sin[(\[Pi] x)/200] Sin[
      14 \[Theta]] A[1, 7][t]^2 B[1, 14][t] +
      0.266991 Cos[7 \[Theta]] Sin[(\[Pi] x)/200] Sin[21 \[Theta]] A[1, 7][
     t]^2 B[1, 14][t] -
     0.040995 Cos[(\[Pi] x)/100] Cos[7 \[Theta]] Sin[(\[Pi] x)/200] Sin[
      21 \[Theta]] A[1, 7][t]^2 B[1, 14][t] -
     2.12567 Cos[(\[Pi] x)/200]^2 Cos[14 \[Theta]] Sin[
      14 \[Theta]] A[1, 14][t] B[1, 14][t] -
     2.12567 Cos[14 \[Theta]] Sin[(\[Pi] x)/200]^2 Sin[
     14 \[Theta]] A[1, 14][t] B[1, 14][t] +
     1.06797 Cos[14 \[Theta]] Sin[(\[Pi] x)/200] Sin[14 \[Theta]] A[1, 0][
      t] A[1, 14][t] B[1, 14][t] -
      4.84011 Cos[(\[Pi] x)/100] Cos[14 \[Theta]] Sin[(\[Pi] x)/200] Sin[
     14 \[Theta]] A[1, 0][t] A[1, 14][t] B[1, 14][t] +
      3.87208 Cos[(\[Pi] x)/200] Cos[14 \[Theta]] Sin[(\[Pi] x)/100] Sin[
      14 \[Theta]] A[1, 0][t] A[1, 14][t] B[1, 14][t] +
      0.266991 Sin[(\[Pi] x)/200] Sin[28 \[Theta]] A[1, 0][t] A[1, 14][
      t] B[1, 14][t] +
      0.266991 Cos[14 \[Theta]] Sin[(\[Pi] x)/200] Sin[7 \[Theta]] A[1, 7][
     t] A[1, 14][t] B[1, 14][t] -
     28.3008 Cos[(\[Pi] x)/100] Cos[14 \[Theta]] Sin[(\[Pi] x)/200] Sin[
     7 \[Theta]] A[1, 7][t] A[1, 14][t] B[1, 14][t] +
     13.318 Cos[(\[Pi] x)/200] Cos[14 \[Theta]] Sin[(\[Pi] x)/100] Sin[
      7 \[Theta]] A[1, 7][t] A[1, 14][t] B[1, 14][t] +
     0.266991 Cos[7 \[Theta]] Sin[(\[Pi] x)/200] Sin[14 \[Theta]] A[1, 7][
     t] A[1, 14][t] B[1, 14][t] -
    28.3008 Cos[(\[Pi] x)/100] Cos[7 \[Theta]] Sin[(\[Pi] x)/200] Sin[
     14 \[Theta]] A[1, 7][t] A[1, 14][t] B[1, 14][t] +
    0.266991 Cos[21 \[Theta]] Sin[(\[Pi] x)/200] Sin[
     14 \[Theta]] A[1, 7][t] A[1, 14][t] B[1, 14][t] -
    0.0788365 Cos[(\[Pi] x)/100] Cos[21 \[Theta]] Sin[(\[Pi] x)/200] Sin[
    14 \[Theta]] A[1, 7][t] A[1, 14][t] B[1, 14][t] +
    13.318 Cos[(\[Pi] x)/200] Cos[7 \[Theta]] Sin[(\[Pi] x)/100] Sin[
    14 \[Theta]] A[1, 7][t] A[1, 14][t] B[1, 14][t] +
    0.075683 Cos[(\[Pi] x)/200] Cos[21 \[Theta]] Sin[(\[Pi] x)/100] Sin[
    14 \[Theta]] A[1, 7][t] A[1, 14][t] B[1, 14][t] +
    0.266991 Cos[14 \[Theta]] Sin[(\[Pi] x)/200] Sin[
     21 \[Theta]] A[1, 7][t] A[1, 14][t] B[1, 14][t] -
     0.0788365 Cos[(\[Pi] x)/100] Cos[14 \[Theta]] Sin[(\[Pi] x)/200] Sin[
     21 \[Theta]] A[1, 7][t] A[1, 14][t] B[1, 14][t] +
     0.075683 Cos[(\[Pi] x)/200] Cos[14 \[Theta]] Sin[(\[Pi] x)/100] Sin[
       21 \[Theta]] A[1, 7][t] A[1, 14][t] B[1, 14][t] +
     0.266991 Cos[7 \[Theta]] Sin[(\[Pi] x)/200] Sin[28 \[Theta]] A[1, 7][
      t] A[1, 14][t] B[1, 14][t] +
     842.364 Sin[(\[Pi] x)/200] Sin[14 \[Theta]] A[1, 14][t]^2 B[1, 14][
     t] - 842.364 Cos[(\[Pi] x)/100] Sin[(\[Pi] x)/200] Sin[
      14 \[Theta]] A[1, 14][t]^2 B[1, 14][t] +
      0.133496 Cos[28 \[Theta]] Sin[(\[Pi] x)/200] Sin[
      14 \[Theta]] A[1, 14][t]^2 B[1, 14][t] +
      0.266991 Cos[14 \[Theta]] Sin[(\[Pi] x)/200] Sin[
      28 \[Theta]] A[1, 14][t]^2 B[1, 14][t] +
      13.5898 Cos[(\[Pi] x)/100] Cos[7 \[Theta]] B[1, 7][t] B[1, 14][t] +
      8.43363 Cos[(\[Pi] x)/200]^2 Cos[7 \[Theta]] Cos[
      14 \[Theta]] B[1, 7][t] B[1, 14][t] -
      0.0257425 Cos[(\[Pi] x)/100] Cos[21 \[Theta]] B[1, 7][t] B[1, 14][
      t] - 10.542 Sin[(\[Pi] x)/200]^2 Sin[7 \[Theta]] Sin[
       14 \[Theta]] B[1, 7][t] B[1, 14][t] +
      0.266991 Cos[7 \[Theta]] Sin[(\[Pi] x)/200] A[1, 0][t] B[1, 7][
      t] B[1, 14][t] -
       1.66475 Cos[(\[Pi] x)/100] Cos[7 \[Theta]] Sin[(\[Pi] x)/
      200] A[1, 0][t] B[1, 7][t] B[1, 14][t] -
      0.266991 Cos[21 \[Theta]] Sin[(\[Pi] x)/200] A[1, 0][t] B[1, 7][
       t] B[1, 14][t] +
       0.0283811 Cos[(\[Pi] x)/100] Cos[21 \[Theta]] Sin[(\[Pi] x)/
       200] A[1, 0][t] B[1, 7][t] B[1, 14][t] -
      3.92758 Cos[(\[Pi] x)/200] Cos[7 \[Theta]] Cos[
      14 \[Theta]] Sin[(\[Pi] x)/100] A[1, 0][t] B[1, 7][t] B[1, 14][
     t] + 1.06797 Sin[(\[Pi] x)/200] Sin[7 \[Theta]] Sin[
       14 \[Theta]] A[1, 0][t] B[1, 7][t] B[1, 14][t] -
     7.25708 Cos[(\[Pi] x)/100] Sin[(\[Pi] x)/200] Sin[7 \[Theta]] Sin[
      14 \[Theta]] A[1, 0][t] B[1, 7][t] B[1, 14][t] +
      0.266991 Cos[7 \[Theta]]^2 Sin[(\[Pi] x)/200] A[1, 7][t] B[1, 7][
        t] B[1, 14][t] -
        8.32376 Cos[(\[Pi] x)/100] Cos[7 \[Theta]]^2 Sin[(\[Pi] x)/
        200] A[1, 7][t] B[1, 7][t] B[1, 14][t] -
         0.266991 Cos[7 \[Theta]] Cos[21 \[Theta]] Sin[(\[Pi] x)/200] A[1, 7][
         t] B[1, 7][t] B[1, 14][t] +
        0.040995 Cos[(\[Pi] x)/100] Cos[7 \[Theta]] Cos[
           21 \[Theta]] Sin[(\[Pi] x)/200] A[1, 7][t] B[1, 7][t] B[1, 14][
           t] - 6.65901 Cos[(\[Pi] x)/200] Cos[7 \[Theta]]^2 Sin[(\[Pi] x)/
          100] A[1, 7][t] B[1, 7][t] B[1, 14][t] -
        0.0378415 Cos[(\[Pi] x)/200] Cos[7 \[Theta]] Cos[
       21 \[Theta]] Sin[(\[Pi] x)/100] A[1, 7][t] B[1, 7][t] B[1, 14][
          t] + 0.266991 Sin[(\[Pi] x)/200] Sin[7 \[Theta]]^2 A[1, 7][
        t] B[1, 7][t] B[1, 14][t] -
       8.32376 Cos[(\[Pi] x)/100] Sin[(\[Pi] x)/200] Sin[
     7 \[Theta]]^2 A[1, 7][t] B[1, 7][t] B[1, 14][t] -
     6.65901 Cos[(\[Pi] x)/200] Sin[(\[Pi] x)/100] Sin[
      7 \[Theta]]^2 A[1, 7][t] B[1, 7][t] B[1, 14][t] +
     0.266991 Sin[(\[Pi] x)/200] Sin[14 \[Theta]]^2 A[1, 7][t] B[1, 7][
     t] B[1, 14][t] +
   0.266991 Sin[(\[Pi] x)/200] Sin[7 \[Theta]] Sin[21 \[Theta]] A[1, 7][
    t] B[1, 7][t] B[1, 14][t] -
   0.040995 Cos[(\[Pi] x)/100] Sin[(\[Pi] x)/200] Sin[7 \[Theta]] Sin[
         21 \[Theta]] A[1, 7][t] B[1, 7][t] B[1, 14][t] +
      0.0378415 Cos[(\[Pi] x)/200] Sin[(\[Pi] x)/100] Sin[7 \[Theta]] Sin[
     21 \[Theta]] A[1, 7][t] B[1, 7][t] B[1, 14][t] +
    0.266991 Cos[7 \[Theta]] Cos[14 \[Theta]] Sin[(\[Pi] x)/
     200] A[1, 14][t] B[1, 7][t] B[1, 14][t] -
      28.3008 Cos[(\[Pi] x)/100] Cos[7 \[Theta]] Cos[
      14 \[Theta]] Sin[(\[Pi] x)/200] A[1, 14][t] B[1, 7][t] B[1, 14][
    t] - 0.266991 Cos[14 \[Theta]] Cos[21 \[Theta]] Sin[(\[Pi] x)/
        200] A[1, 14][t] B[1, 7][t] B[1, 14][t] +
      0.0788365 Cos[(\[Pi] x)/100] Cos[14 \[Theta]] Cos[
     21 \[Theta]] Sin[(\[Pi] x)/200] A[1, 14][t] B[1, 7][t] B[1, 14][
     t] + 13.318 Cos[(\[Pi] x)/200] Cos[7 \[Theta]] Cos[
     14 \[Theta]] Sin[(\[Pi] x)/100] A[1, 14][t] B[1, 7][t] B[1, 14][
      t] - 0.075683 Cos[(\[Pi] x)/200] Cos[14 \[Theta]] Cos[
       21 \[Theta]] Sin[(\[Pi] x)/100] A[1, 14][t] B[1, 7][t] B[1, 14][
       t] - 0.266991 Sin[(\[Pi] x)/200] Sin[7 \[Theta]] Sin[
     14 \[Theta]] A[1, 14][t] B[1, 7][t] B[1, 14][t] +
    28.3008 Cos[(\[Pi] x)/100] Sin[(\[Pi] x)/200] Sin[7 \[Theta]] Sin[
              14 \[Theta]] A[1, 14][t] B[1, 7][t] B[1, 14][t] -
    13.318 Cos[(\[Pi] x)/200] Sin[(\[Pi] x)/100] Sin[7 \[Theta]] Sin[
    14 \[Theta]] A[1, 14][t] B[1, 7][t] B[1, 14][t] +
  0.266991 Sin[(\[Pi] x)/200] Sin[14 \[Theta]] Sin[
   21 \[Theta]] A[1, 14][t] B[1, 7][t] B[1, 14][t] -
   0.0788365 Cos[(\[Pi] x)/100] Sin[(\[Pi] x)/200] Sin[14 \[Theta]] Sin[
     21 \[Theta]] A[1, 14][t] B[1, 7][t] B[1, 14][t] +
  0.075683 Cos[(\[Pi] x)/200] Sin[(\[Pi] x)/100] Sin[14 \[Theta]] Sin[
    21 \[Theta]] A[1, 14][t] B[1, 7][t] B[1, 14][t] +
   0.266991 Sin[(\[Pi] x)/200] Sin[7 \[Theta]] Sin[
    28 \[Theta]] A[1, 14][t] B[1, 7][t] B[1, 14][t] +
    0.266991 Cos[7 \[Theta]] Sin[(\[Pi] x)/200] Sin[7 \[Theta]] B[1, 7][
    t]^2 B[1, 14][t] -
   8.32376 Cos[(\[Pi] x)/100] Cos[7 \[Theta]] Sin[(\[Pi] x)/200] Sin[
   7 \[Theta]] B[1, 7][t]^2 B[1, 14][t] -
   0.266991 Cos[21 \[Theta]] Sin[(\[Pi] x)/200] Sin[7 \[Theta]] B[1, 7][
     t]^2 B[1, 14][t] +
    0.040995 Cos[(\[Pi] x)/100] Cos[21 \[Theta]] Sin[(\[Pi] x)/200] Sin[
      7 \[Theta]] B[1, 7][t]^2 B[1, 14][t] +
    6.65901 Cos[(\[Pi] x)/200] Cos[7 \[Theta]] Sin[(\[Pi] x)/100] Sin[
     7 \[Theta]] B[1, 7][t]^2 B[1, 14][t] +
   210.591 Sin[(\[Pi] x)/200] Sin[14 \[Theta]] B[1, 7][t]^2 B[1, 14][
    t] - 210.591 Cos[(\[Pi] x)/100] Sin[(\[Pi] x)/200] Sin[
    14 \[Theta]] B[1, 7][t]^2 B[1, 14][t] -
   0.133496 Cos[14 \[Theta]] Sin[(\[Pi] x)/200] Sin[
     14 \[Theta]] B[1, 7][t]^2 B[1, 14][t] -
     0.0378415 Cos[(\[Pi] x)/200] Cos[7 \[Theta]] Sin[(\[Pi] x)/100] Sin[
    21 \[Theta]] B[1, 7][t]^2 B[1, 14][t] - 429.778 B[1, 14][t]^2 +
   429.778 Cos[(\[Pi] x)/100] B[1, 14][t]^2 +
   1.06283 Cos[(\[Pi] x)/200]^2 Cos[14 \[Theta]]^2 B[1, 14][t]^2 -
   1.06283 Sin[(\[Pi] x)/200]^2 Sin[14 \[Theta]]^2 B[1, 14][t]^2 -
  0.133496 Cos[28 \[Theta]] Sin[(\[Pi] x)/200] A[1, 0][t] B[1, 14][
t]^2 - 1.93604 Cos[(\[Pi] x)/200] Cos[14 \[Theta]]^2 Sin[(\[Pi] x)/
 100] A[1, 0][t] B[1, 14][t]^2 +
 0.533983 Sin[(\[Pi] x)/200] Sin[14 \[Theta]]^2 A[1, 0][t] B[1, 14][
 t]^2 -
  2.42005 Cos[(\[Pi] x)/100] Sin[(\[Pi] x)/200] Sin[
     14 \[Theta]]^2 A[1, 0][t] B[1, 14][t]^2 +
   210.591 Cos[7 \[Theta]] Sin[(\[Pi] x)/200] A[1, 7][t] B[1, 14][
      t]^2 - 210.591 Cos[(\[Pi] x)/100] Cos[7 \[Theta]] Sin[(\[Pi] x)/
      200] A[1, 7][t] B[1, 14][t]^2 -
     0.133496 Cos[7 \[Theta]] Cos[28 \[Theta]] Sin[(\[Pi] x)/200] A[1, 7][
      t] B[1, 14][t]^2 -
    13.318 Cos[(\[Pi] x)/200] Cos[7 \[Theta]] Cos[
      14 \[Theta]] Sin[(\[Pi] x)/100] A[1, 7][t] B[1, 14][t]^2 -
    0.075683 Cos[(\[Pi] x)/200] Cos[14 \[Theta]] Cos[
     21 \[Theta]] Sin[(\[Pi] x)/100] A[1, 7][t] B[1, 14][t]^2 +
   0.266991 Sin[(\[Pi] x)/200] Sin[7 \[Theta]] Sin[14 \[Theta]] A[1, 7][
  t] B[1, 14][t]^2 -
     28.3008 Cos[(\[Pi] x)/100] Sin[(\[Pi] x)/200] Sin[7 \[Theta]] Sin[
        14 \[Theta]] A[1, 7][t] B[1, 14][t]^2 +
     0.266991 Sin[(\[Pi] x)/200] Sin[14 \[Theta]] Sin[
     21 \[Theta]] A[1, 7][t] B[1, 14][t]^2 -
     0.0788365 Cos[(\[Pi] x)/100] Sin[(\[Pi] x)/200] Sin[14 \[Theta]] Sin[
      21 \[Theta]] A[1, 7][t] B[1, 14][t]^2 +
     842.364 Cos[14 \[Theta]] Sin[(\[Pi] x)/200] A[1, 14][t] B[1, 14][
     t]^2 - 842.364 Cos[(\[Pi] x)/100] Cos[14 \[Theta]] Sin[(\[Pi] x)/
      200] A[1, 14][t] B[1, 14][t]^2 -
    0.133496 Cos[14 \[Theta]] Cos[28 \[Theta]] Sin[(\[Pi] x)/
     200] A[1, 14][t] B[1, 14][t]^2 +
     0.266991 Sin[(\[Pi] x)/200] Sin[14 \[Theta]] Sin[
      28 \[Theta]] A[1, 14][t] B[1, 14][t]^2 +
    210.591 Sin[(\[Pi] x)/200] Sin[7 \[Theta]] B[1, 7][t] B[1, 14][
    t]^2 - 210.591 Cos[(\[Pi] x)/100] Sin[(\[Pi] x)/200] Sin[
     7 \[Theta]] B[1, 7][t] B[1, 14][t]^2 -
     0.133496 Cos[28 \[Theta]] Sin[(\[Pi] x)/200] Sin[7 \[Theta]] B[1, 7][
    t] B[1, 14][t]^2 +
    13.318 Cos[(\[Pi] x)/200] Cos[14 \[Theta]] Sin[(\[Pi] x)/100] Sin[
      7 \[Theta]] B[1, 7][t] B[1, 14][t]^2 +
    0.266991 Cos[7 \[Theta]] Sin[(\[Pi] x)/200] Sin[14 \[Theta]] B[1, 7][
      t] B[1, 14][t]^2 -
     28.3008 Cos[(\[Pi] x)/100] Cos[7 \[Theta]] Sin[(\[Pi] x)/200] Sin[
    14 \[Theta]] B[1, 7][t] B[1, 14][t]^2 -
    0.266991 Cos[21 \[Theta]] Sin[(\[Pi] x)/200] Sin[
    14 \[Theta]] B[1, 7][t] B[1, 14][t]^2 +
    0.0788365 Cos[(\[Pi] x)/100] Cos[21 \[Theta]] Sin[(\[Pi] x)/200] Sin[
      14 \[Theta]] B[1, 7][t] B[1, 14][t]^2 -
    0.075683 Cos[(\[Pi] x)/200] Cos[14 \[Theta]] Sin[(\[Pi] x)/100] Sin[
    21 \[Theta]] B[1, 7][t] B[1, 14][t]^2 +
   842.364 Sin[(\[Pi] x)/200] Sin[14 \[Theta]] B[1, 14][t]^3 -
      842.364 Cos[(\[Pi] x)/100] Sin[(\[Pi] x)/200] Sin[
   14 \[Theta]] B[1, 14][t]^3 -
   0.133496 Cos[28 \[Theta]] Sin[(\[Pi] x)/200] Sin[
     14 \[Theta]] B[1, 14][t]^3 + 6.90612*10^-7 Sin[(\[Pi] x)/200]
 \!\(\*SuperscriptBox[
  RowBox[{"A", "[",
  RowBox[{"1", ",", "0"}], "]"}], "\[Prime]\[Prime]",
    MultilineFunction->None]\)[t] +
      6.90612*10^-7 Cos[7 \[Theta]] Sin[(\[Pi] x)/200]
    \!\(\*SuperscriptBox[
      RowBox[{"A", "[",
           RowBox[{"1", ",", "7"}], "]"}], "\[Prime]\[Prime]",
       MultilineFunction->None]\)[t] +
        6.90612*10^-7 Cos[14 \[Theta]] Sin[(\[Pi] x)/200]
      \!\(\*SuperscriptBox[
       RowBox[{"A", "[",
      RowBox[{"1", ",", "14"}], "]"}], "\[Prime]\[Prime]",
    MultilineFunction->None]\)[t] +
       6.90612*10^-7 Sin[(\[Pi] x)/200] Sin[7 \[Theta]]
       \!\(\*SuperscriptBox[
        RowBox[{"B", "[",
      RowBox[{"1", ",", "7"}], "]"}], "\[Prime]\[Prime]",
    MultilineFunction->None]\)[t] +
        6.90612*10^-7 Sin[(\[Pi] x)/200] Sin[14 \[Theta]]
    \!\(\*SuperscriptBox[
      RowBox[{"B", "[",
    RowBox[{"1", ",", "14"}], "]"}], "\[Prime]\[Prime]",
      MultilineFunction->None]\)[t]

A: Mathematica 8 works just fine here.
Suppose I interprete Resi as follows (no idea if it is correct, but maybe):
  Resi = 1754.2*Sin[(Pi*x)/200]*A[1, 0][t] + 6.64531*Cos[7*\[Theta]]*
     Sin[(Pi*x)/200]*A[1, 7][t] + 3.01996*Cos[(Pi*x)/100]*Cos[7*\[Theta]]*
     A[1, 0][t]*A[1, 7][t] - 861.531*Cos[7*\[Theta]]*Sin[(Pi*x)/200]^2*
     A[1, 0][t]*A[1, 7][t] + 0.533983*Cos[7*\[Theta]]*Sin[(Pi*x)/200]*
     A[1, 0][t]^2*A[1, 7][t] - 0.369945*Cos[(Pi*x)/100]*Cos[7*\[Theta]]*
     Sin[(Pi*x)/200]*A[1, 0][t]^2*A[1, 7][t] - 107.444*A[1, 7][t]^2 +
    107.444*Cos[(Pi*x)/100]*A[1, 7][t]^2 - 3.95111*Cos[7*\[Theta]]^2*
     Sin[(Pi*x)/200]^2*A[1, 7][t]^2 + 3.95111*Cos[(Pi*x)/200]^2*
     Sin[7*\[Theta]]^2*A[1, 7][t]^2 + 0.533983*Cos[7*\[Theta]]^2*Sin[(Pi*x)/200]*
     A[1, 0][t]*A[1, 7][t]^2 - 1.84972*Cos[(Pi*x)/100]*Cos[7*\[Theta]]^2*
     Sin[(Pi*x)/200]*A[1, 0][t]*A[1, 7][t]^2 + 0.133496*Cos[14*\[Theta]]*
     Sin[(Pi*x)/200]*A[1, 0][t]*A[1, 7][t]^2 - 1.47978*Cos[(Pi*x)/200]*
     Sin[(Pi*x)/100]*Sin[7*\[Theta]]^2*A[1, 0][t]*A[1, 7][t]^2 +
    52.6477*Cos[7*\[Theta]]*Sin[(Pi*x)/200]*A[1, 7][t]^3 -
    52.6477*Cos[(Pi*x)/100]*Cos[7*\[Theta]]*Sin[(Pi*x)/200]*A[1, 7][t]^3 +
    0.133496*Cos[7*\[Theta]]*Cos[14*\[Theta]]*Sin[(Pi*x)/200]*A[1, 7][t]^3 +
    39.1352*Cos[14*\[Theta]]*Sin[(Pi*x)/200]*A[1, 14][t] +
    0.987777*Cos[(Pi*x)/100]*Cos[14*\[Theta]]*A[1, 0][t]*A[1, 14][t] -
    3438.75*Cos[14*\[Theta]]*Sin[(Pi*x)/200]^2*A[1, 0][t]*A[1, 14][t] +
    0.533983*Cos[14*\[Theta]]*Sin[(Pi*x)/200]*A[1, 0][t]^2*A[1, 14][t] -
    0.484011*Cos[(Pi*x)/100]*Cos[14*\[Theta]]*Sin[(Pi*x)/200]*A[1, 0][t]^2*
     A[1, 14][t] + 13.5898*Cos[(Pi*x)/100]*Cos[7*\[Theta]]*A[1, 7][t]*
     A[1, 14][t] + 0.0257425*Cos[(Pi*x)/100]*Cos[21*\[Theta]]*A[1, 7][t]*
     A[1, 14][t] - 10.542*Cos[7*\[Theta]]*Cos[14*\[Theta]]*Sin[(Pi*x)/200]^2*
     A[1, 7][t]*A[1, 14][t] + 8.43363*Cos[(Pi*x)/200]^2*Sin[7*\[Theta]]*
     Sin[14*\[Theta]]*A[1, 7][t]*A[1, 14][t] + 0.266991*Cos[7*\[Theta]]*
     Sin[(Pi*x)/200]*A[1, 0][t]*A[1, 7][t]*A[1, 14][t] -
    1.66475*Cos[(Pi*x)/100]*Cos[7*\[Theta]]*Sin[(Pi*x)/200]*A[1, 0][t]*
     A[1, 7][t]*A[1, 14][t] + 1.06797*Cos[7*\[Theta]]*Cos[14*\[Theta]]*
     Sin[(Pi*x)/200]*A[1, 0][t]*A[1, 7][t]*A[1, 14][t] -
    7.25708*Cos[(Pi*x)/100]*Cos[7*\[Theta]]*Cos[14*\[Theta]]*Sin[(Pi*x)/200]*
     A[1, 0][t]*A[1, 7][t]*A[1, 14][t] + 0.266991*Cos[21*\[Theta]]*
     Sin[(Pi*x)/200]*A[1, 0][t]*A[1, 7][t]*A[1, 14][t] -
    0.0283811*Cos[(Pi*x)/100]*Cos[21*\[Theta]]*Sin[(Pi*x)/200]*A[1, 0][t]*
     A[1, 7][t]*A[1, 14][t] - 3.92758*Cos[(Pi*x)/200]*Sin[(Pi*x)/100]*
     Sin[7*\[Theta]]*Sin[14*\[Theta]]*A[1, 0][t]*A[1, 7][t]*A[1, 14][t] +
    0.266991*Cos[7*\[Theta]]^2*Sin[(Pi*x)/200]*A[1, 7][t]^2*A[1, 14][t] -
    8.32376*Cos[(Pi*x)/100]*Cos[7*\[Theta]]^2*Sin[(Pi*x)/200]*A[1, 7][t]^2*
     A[1, 14][t] + 210.591*Cos[14*\[Theta]]*Sin[(Pi*x)/200]*A[1, 7][t]^2*
     A[1, 14][t] - 210.591*Cos[(Pi*x)/100]*Cos[14*\[Theta]]*Sin[(Pi*x)/200]*
     A[1, 7][t]^2*A[1, 14][t] + 0.133496*Cos[14*\[Theta]]^2*Sin[(Pi*x)/200]*
     A[1, 7][t]^2*A[1, 14][t] + 0.266991*Cos[7*\[Theta]]*Cos[21*\[Theta]]*
     Sin[(Pi*x)/200]*A[1, 7][t]^2*A[1, 14][t] -
    0.040995*Cos[(Pi*x)/100]*Cos[7*\[Theta]]*Cos[21*\[Theta]]*Sin[(Pi*x)/200]*
     A[1, 7][t]^2*A[1, 14][t] - 6.65901*Cos[(Pi*x)/200]*Sin[(Pi*x)/100]*
     Sin[7*\[Theta]]^2*A[1, 7][t]^2*A[1, 14][t] - 0.0378415*Cos[(Pi*x)/200]*
     Sin[(Pi*x)/100]*Sin[7*\[Theta]]*Sin[21*\[Theta]]*A[1, 7][t]^2*A[1, 14][t] -
    429.778*A[1, 14][t]^2 + 429.778*Cos[(Pi*x)/100]*A[1, 14][t]^2 -
    1.06283*Cos[14*\[Theta]]^2*Sin[(Pi*x)/200]^2*A[1, 14][t]^2 +
    1.06283*Cos[(Pi*x)/200]^2*Sin[14*\[Theta]]^2*A[1, 14][t]^2 +
    0.533983*Cos[14*\[Theta]]^2*Sin[(Pi*x)/200]*A[1, 0][t]*A[1, 14][t]^2 -
    2.42005*Cos[(Pi*x)/100]*Cos[14*\[Theta]]^2*Sin[(Pi*x)/200]*A[1, 0][t]*
     A[1, 14][t]^2 + 0.133496*Cos[28*\[Theta]]*Sin[(Pi*x)/200]*A[1, 0][t]*
     A[1, 14][t]^2 - 1.93604*Cos[(Pi*x)/200]*Sin[(Pi*x)/100]*
     Sin[14*\[Theta]]^2*A[1, 0][t]*A[1, 14][t]^2 + 210.591*Cos[7*\[Theta]]*
     Sin[(Pi*x)/200]*A[1, 7][t]*A[1, 14][t]^2 -
    210.591*Cos[(Pi*x)/100]*Cos[7*\[Theta]]*Sin[(Pi*x)/200]*A[1, 7][t]*
     A[1, 14][t]^2 + 0.266991*Cos[7*\[Theta]]*Cos[14*\[Theta]]*Sin[(Pi*x)/200]*
     A[1, 7][t]*A[1, 14][t]^2 - 28.3008*Cos[(Pi*x)/100]*Cos[7*\[Theta]]*
     Cos[14*\[Theta]]*Sin[(Pi*x)/200]*A[1, 7][t]*A[1, 14][t]^2 +
    0.266991*Cos[14*\[Theta]]*Cos[21*\[Theta]]*Sin[(Pi*x)/200]*A[1, 7][t]*
     A[1, 14][t]^2 - 0.0788365*Cos[(Pi*x)/100]*Cos[14*\[Theta]]*Cos[21*\[Theta]]*
     Sin[(Pi*x)/200]*A[1, 7][t]*A[1, 14][t]^2 +
    0.133496*Cos[7*\[Theta]]*Cos[28*\[Theta]]*Sin[(Pi*x)/200]*A[1, 7][t]*
     A[1, 14][t]^2 - 13.318*Cos[(Pi*x)/200]*Sin[(Pi*x)/100]*Sin[7*\[Theta]]*
     Sin[14*\[Theta]]*A[1, 7][t]*A[1, 14][t]^2 - 0.075683*Cos[(Pi*x)/200]*
     Sin[(Pi*x)/100]*Sin[14*\[Theta]]*Sin[21*\[Theta]]*A[1, 7][t]*A[1, 14][t]^2 +
    842.364*Cos[14*\[Theta]]*Sin[(Pi*x)/200]*A[1, 14][t]^3 -
    842.364*Cos[(Pi*x)/100]*Cos[14*\[Theta]]*Sin[(Pi*x)/200]*A[1, 14][t]^3 +
    0.133496*Cos[14*\[Theta]]*Cos[28*\[Theta]]*Sin[(Pi*x)/200]*A[1, 14][t]^3 +
    6.64531*Sin[(Pi*x)/200]*Sin[7*\[Theta]]*B[1, 7][t] +
    3.01996*Cos[(Pi*x)/100]*Sin[7*\[Theta]]*A[1, 0][t]*B[1, 7][t] -
    861.531*Sin[(Pi*x)/200]^2*Sin[7*\[Theta]]*A[1, 0][t]*B[1, 7][t] +
    0.533983*Sin[(Pi*x)/200]*Sin[7*\[Theta]]*A[1, 0][t]^2*B[1, 7][t] -
    0.369945*Cos[(Pi*x)/100]*Sin[(Pi*x)/200]*Sin[7*\[Theta]]*A[1, 0][t]^2*
     B[1, 7][t] - 7.90221*Cos[(Pi*x)/200]^2*Cos[7*\[Theta]]*Sin[7*\[Theta]]*
     A[1, 7][t]*B[1, 7][t] - 7.90221*Cos[7*\[Theta]]*Sin[(Pi*x)/200]^2*
     Sin[7*\[Theta]]*A[1, 7][t]*B[1, 7][t] + 1.06797*Cos[7*\[Theta]]*
     Sin[(Pi*x)/200]*Sin[7*\[Theta]]*A[1, 0][t]*A[1, 7][t]*B[1, 7][t] -
    3.69945*Cos[(Pi*x)/100]*Cos[7*\[Theta]]*Sin[(Pi*x)/200]*Sin[7*\[Theta]]*
     A[1, 0][t]*A[1, 7][t]*B[1, 7][t] + 2.95956*Cos[(Pi*x)/200]*
     Cos[7*\[Theta]]*Sin[(Pi*x)/100]*Sin[7*\[Theta]]*A[1, 0][t]*A[1, 7][t]*
     B[1, 7][t] + 0.266991*Sin[(Pi*x)/200]*Sin[14*\[Theta]]*A[1, 0][t]*
     A[1, 7][t]*B[1, 7][t] + 52.6477*Sin[(Pi*x)/200]*Sin[7*\[Theta]]*
     A[1, 7][t]^2*B[1, 7][t] - 52.6477*Cos[(Pi*x)/100]*Sin[(Pi*x)/200]*
     Sin[7*\[Theta]]*A[1, 7][t]^2*B[1, 7][t] + 0.133496*Cos[14*\[Theta]]*
     Sin[(Pi*x)/200]*Sin[7*\[Theta]]*A[1, 7][t]^2*B[1, 7][t] +
    0.266991*Cos[7*\[Theta]]*Sin[(Pi*x)/200]*Sin[14*\[Theta]]*A[1, 7][t]^2*
     B[1, 7][t] - 13.5898*Cos[(Pi*x)/100]*Sin[7*\[Theta]]*A[1, 14][t]*
     B[1, 7][t] - 10.542*Cos[14*\[Theta]]*Sin[(Pi*x)/200]^2*Sin[7*\[Theta]]*
     A[1, 14][t]*B[1, 7][t] - 8.43363*Cos[(Pi*x)/200]^2*Cos[7*\[Theta]]*
     Sin[14*\[Theta]]*A[1, 14][t]*B[1, 7][t] + 0.0257425*Cos[(Pi*x)/100]*
     Sin[21*\[Theta]]*A[1, 14][t]*B[1, 7][t] - 0.266991*Sin[(Pi*x)/200]*
     Sin[7*\[Theta]]*A[1, 0][t]*A[1, 14][t]*B[1, 7][t] +
    1.66475*Cos[(Pi*x)/100]*Sin[(Pi*x)/200]*Sin[7*\[Theta]]*A[1, 0][t]*
     A[1, 14][t]*B[1, 7][t] + 1.06797*Cos[14*\[Theta]]*Sin[(Pi*x)/200]*
     Sin[7*\[Theta]]*A[1, 0][t]*A[1, 14][t]*B[1, 7][t] -
    7.25708*Cos[(Pi*x)/100]*Cos[14*\[Theta]]*Sin[(Pi*x)/200]*Sin[7*\[Theta]]*
     A[1, 0][t]*A[1, 14][t]*B[1, 7][t] + 3.92758*Cos[(Pi*x)/200]*
     Cos[7*\[Theta]]*Sin[(Pi*x)/100]*Sin[14*\[Theta]]*A[1, 0][t]*A[1, 14][t]*
     B[1, 7][t] + 0.266991*Sin[(Pi*x)/200]*Sin[21*\[Theta]]*A[1, 0][t]*
     A[1, 14][t]*B[1, 7][t] - 0.0283811*Cos[(Pi*x)/100]*Sin[(Pi*x)/200]*
     Sin[21*\[Theta]]*A[1, 0][t]*A[1, 14][t]*B[1, 7][t] +
    0.*Cos[7*\[Theta]]*Sin[(Pi*x)/200]*Sin[7*\[Theta]]*A[1, 7][t]*A[1, 14][t]*
     B[1, 7][t] + 0.*Cos[(Pi*x)/100]*Cos[7*\[Theta]]*Sin[(Pi*x)/200]*
     Sin[7*\[Theta]]*A[1, 7][t]*A[1, 14][t]*B[1, 7][t] +
    0.266991*Cos[21*\[Theta]]*Sin[(Pi*x)/200]*Sin[7*\[Theta]]*A[1, 7][t]*
     A[1, 14][t]*B[1, 7][t] - 0.040995*Cos[(Pi*x)/100]*Cos[21*\[Theta]]*
     Sin[(Pi*x)/200]*Sin[7*\[Theta]]*A[1, 7][t]*A[1, 14][t]*B[1, 7][t] +
    0.*Cos[(Pi*x)/200]*Cos[7*\[Theta]]*Sin[(Pi*x)/100]*Sin[7*\[Theta]]*A[1, 7][t]*
     A[1, 14][t]*B[1, 7][t] + 0.0378415*Cos[(Pi*x)/200]*Cos[21*\[Theta]]*
     Sin[(Pi*x)/100]*Sin[7*\[Theta]]*A[1, 7][t]*A[1, 14][t]*B[1, 7][t] +
    0.266991*Cos[14*\[Theta]]*Sin[(Pi*x)/200]*Sin[14*\[Theta]]*A[1, 7][t]*
     A[1, 14][t]*B[1, 7][t] + 0.266991*Cos[7*\[Theta]]*Sin[(Pi*x)/200]*
     Sin[21*\[Theta]]*A[1, 7][t]*A[1, 14][t]*B[1, 7][t] -
    0.040995*Cos[(Pi*x)/100]*Cos[7*\[Theta]]*Sin[(Pi*x)/200]*Sin[21*\[Theta]]*
     A[1, 7][t]*A[1, 14][t]*B[1, 7][t] + 0.0378415*Cos[(Pi*x)/200]*
     Cos[7*\[Theta]]*Sin[(Pi*x)/100]*Sin[21*\[Theta]]*A[1, 7][t]*A[1, 14][t]*
     B[1, 7][t] + 210.591*Sin[(Pi*x)/200]*Sin[7*\[Theta]]*A[1, 14][t]^2*
     B[1, 7][t] - 210.591*Cos[(Pi*x)/100]*Sin[(Pi*x)/200]*Sin[7*\[Theta]]*
     A[1, 14][t]^2*B[1, 7][t] - 0.266991*Cos[14*\[Theta]]*Sin[(Pi*x)/200]*
     Sin[7*\[Theta]]*A[1, 14][t]^2*B[1, 7][t] + 28.3008*Cos[(Pi*x)/100]*
     Cos[14*\[Theta]]*Sin[(Pi*x)/200]*Sin[7*\[Theta]]*A[1, 14][t]^2*B[1, 7][t] +
    0.133496*Cos[28*\[Theta]]*Sin[(Pi*x)/200]*Sin[7*\[Theta]]*A[1, 14][t]^2*
     B[1, 7][t] - 13.318*Cos[(Pi*x)/200]*Cos[7*\[Theta]]*Sin[(Pi*x)/100]*
     Sin[14*\[Theta]]*A[1, 14][t]^2*B[1, 7][t] + 0.075683*Cos[(Pi*x)/200]*
     Cos[21*\[Theta]]*Sin[(Pi*x)/100]*Sin[14*\[Theta]]*A[1, 14][t]^2*B[1, 7][t] +
    0.266991*Cos[14*\[Theta]]*Sin[(Pi*x)/200]*Sin[21*\[Theta]]*A[1, 14][t]^2*
     B[1, 7][t] - 0.0788365*Cos[(Pi*x)/100]*Cos[14*\[Theta]]*Sin[(Pi*x)/200]*
     Sin[21*\[Theta]]*A[1, 14][t]^2*B[1, 7][t] - 107.444*B[1, 7][t]^2 +
    107.444*Cos[(Pi*x)/100]*B[1, 7][t]^2 + 3.95111*Cos[(Pi*x)/200]^2*
     Cos[7*\[Theta]]^2*B[1, 7][t]^2 - 3.95111*Sin[(Pi*x)/200]^2*Sin[7*\[Theta]]^2*
     B[1, 7][t]^2 - 0.133496*Cos[14*\[Theta]]*Sin[(Pi*x)/200]*A[1, 0][t]*
     B[1, 7][t]^2 - 1.47978*Cos[(Pi*x)/200]*Cos[7*\[Theta]]^2*Sin[(Pi*x)/100]*
     A[1, 0][t]*B[1, 7][t]^2 + 0.533983*Sin[(Pi*x)/200]*Sin[7*\[Theta]]^2*
     A[1, 0][t]*B[1, 7][t]^2 - 1.84972*Cos[(Pi*x)/100]*Sin[(Pi*x)/200]*
     Sin[7*\[Theta]]^2*A[1, 0][t]*B[1, 7][t]^2 + 52.6477*Cos[7*\[Theta]]*
     Sin[(Pi*x)/200]*A[1, 7][t]*B[1, 7][t]^2 - 52.6477*Cos[(Pi*x)/100]*
     Cos[7*\[Theta]]*Sin[(Pi*x)/200]*A[1, 7][t]*B[1, 7][t]^2 -
    0.133496*Cos[7*\[Theta]]*Cos[14*\[Theta]]*Sin[(Pi*x)/200]*A[1, 7][t]*
     B[1, 7][t]^2 + 0.266991*Sin[(Pi*x)/200]*Sin[7*\[Theta]]*Sin[14*\[Theta]]*
     A[1, 7][t]*B[1, 7][t]^2 + 210.591*Cos[14*\[Theta]]*Sin[(Pi*x)/200]*
     A[1, 14][t]*B[1, 7][t]^2 - 210.591*Cos[(Pi*x)/100]*Cos[14*\[Theta]]*
     Sin[(Pi*x)/200]*A[1, 14][t]*B[1, 7][t]^2 -
    0.133496*Cos[14*\[Theta]]^2*Sin[(Pi*x)/200]*A[1, 14][t]*B[1, 7][t]^2 +
    6.65901*Cos[(Pi*x)/200]*Cos[7*\[Theta]]^2*Sin[(Pi*x)/100]*A[1, 14][t]*
     B[1, 7][t]^2 - 0.0378415*Cos[(Pi*x)/200]*Cos[7*\[Theta]]*Cos[21*\[Theta]]*
     Sin[(Pi*x)/100]*A[1, 14][t]*B[1, 7][t]^2 -
    0.266991*Sin[(Pi*x)/200]*Sin[7*\[Theta]]^2*A[1, 14][t]*B[1, 7][t]^2 +
    8.32376*Cos[(Pi*x)/100]*Sin[(Pi*x)/200]*Sin[7*\[Theta]]^2*A[1, 14][t]*
     B[1, 7][t]^2 + 0.266991*Sin[(Pi*x)/200]*Sin[7*\[Theta]]*Sin[21*\[Theta]]*
     A[1, 14][t]*B[1, 7][t]^2 - 0.040995*Cos[(Pi*x)/100]*Sin[(Pi*x)/200]*
     Sin[7*\[Theta]]*Sin[21*\[Theta]]*A[1, 14][t]*B[1, 7][t]^2 +
    52.6477*Sin[(Pi*x)/200]*Sin[7*\[Theta]]*B[1, 7][t]^3 -
    52.6477*Cos[(Pi*x)/100]*Sin[(Pi*x)/200]*Sin[7*\[Theta]]*B[1, 7][t]^3 -
    0.133496*Cos[14*\[Theta]]*Sin[(Pi*x)/200]*Sin[7*\[Theta]]*B[1, 7][t]^3 +
    39.1352*Sin[(Pi*x)/200]*Sin[14*\[Theta]]*B[1, 14][t] +
    0.987777*Cos[(Pi*x)/100]*Sin[14*\[Theta]]*A[1, 0][t]*B[1, 14][t] -
    3438.75*Sin[(Pi*x)/200]^2*Sin[14*\[Theta]]*A[1, 0][t]*B[1, 14][t] +
    0.533983*Sin[(Pi*x)/200]*Sin[14*\[Theta]]*A[1, 0][t]^2*B[1, 14][t] -
    0.484011*Cos[(Pi*x)/100]*Sin[(Pi*x)/200]*Sin[14*\[Theta]]*A[1, 0][t]^2*
     B[1, 14][t] + 13.5898*Cos[(Pi*x)/100]*Sin[7*\[Theta]]*A[1, 7][t]*
     B[1, 14][t] - 8.43363*Cos[(Pi*x)/200]^2*Cos[14*\[Theta]]*Sin[7*\[Theta]]*
     A[1, 7][t]*B[1, 14][t] - 10.542*Cos[7*\[Theta]]*Sin[(Pi*x)/200]^2*
     Sin[14*\[Theta]]*A[1, 7][t]*B[1, 14][t] + 0.0257425*Cos[(Pi*x)/100]*
     Sin[21*\[Theta]]*A[1, 7][t]*B[1, 14][t] + 0.266991*Sin[(Pi*x)/200]*
     Sin[7*\[Theta]]*A[1, 0][t]*A[1, 7][t]*B[1, 14][t] -
    1.66475*Cos[(Pi*x)/100]*Sin[(Pi*x)/200]*Sin[7*\[Theta]]*A[1, 0][t]*
     A[1, 7][t]*B[1, 14][t] + 3.92758*Cos[(Pi*x)/200]*Cos[14*\[Theta]]*
     Sin[(Pi*x)/100]*Sin[7*\[Theta]]*A[1, 0][t]*A[1, 7][t]*B[1, 14][t] +
    1.06797*Cos[7*\[Theta]]*Sin[(Pi*x)/200]*Sin[14*\[Theta]]*A[1, 0][t]*A[1, 7][t]*
     B[1, 14][t] - 7.25708*Cos[(Pi*x)/100]*Cos[7*\[Theta]]*Sin[(Pi*x)/200]*
     Sin[14*\[Theta]]*A[1, 0][t]*A[1, 7][t]*B[1, 14][t] +
    0.266991*Sin[(Pi*x)/200]*Sin[21*\[Theta]]*A[1, 0][t]*A[1, 7][t]*
     B[1, 14][t] - 0.0283811*Cos[(Pi*x)/100]*Sin[(Pi*x)/200]*Sin[21*\[Theta]]*
     A[1, 0][t]*A[1, 7][t]*B[1, 14][t] + 0.266991*Cos[7*\[Theta]]*
     Sin[(Pi*x)/200]*Sin[7*\[Theta]]*A[1, 7][t]^2*B[1, 14][t] -
    8.32376*Cos[(Pi*x)/100]*Cos[7*\[Theta]]*Sin[(Pi*x)/200]*Sin[7*\[Theta]]*
     A[1, 7][t]^2*B[1, 14][t] + 6.65901*Cos[(Pi*x)/200]*Cos[7*\[Theta]]*
     Sin[(Pi*x)/100]*Sin[7*\[Theta]]*A[1, 7][t]^2*B[1, 14][t] +
    0.0378415*Cos[(Pi*x)/200]*Cos[21*\[Theta]]*Sin[(Pi*x)/100]*Sin[7*\[Theta]]*
     A[1, 7][t]^2*B[1, 14][t] + 210.591*Sin[(Pi*x)/200]*Sin[14*\[Theta]]*
     A[1, 7][t]^2*B[1, 14][t] - 210.591*Cos[(Pi*x)/100]*Sin[(Pi*x)/200]*
     Sin[14*\[Theta]]*A[1, 7][t]^2*B[1, 14][t] + 0.133496*Cos[14*\[Theta]]*
     Sin[(Pi*x)/200]*Sin[14*\[Theta]]*A[1, 7][t]^2*B[1, 14][t] +
    0.266991*Cos[7*\[Theta]]*Sin[(Pi*x)/200]*Sin[21*\[Theta]]*A[1, 7][t]^2*
     B[1, 14][t] - 0.040995*Cos[(Pi*x)/100]*Cos[7*\[Theta]]*Sin[(Pi*x)/200]*
     Sin[21*\[Theta]]*A[1, 7][t]^2*B[1, 14][t] - 2.12567*Cos[(Pi*x)/200]^2*
     Cos[14*\[Theta]]*Sin[14*\[Theta]]*A[1, 14][t]*B[1, 14][t] -
    2.12567*Cos[14*\[Theta]]*Sin[(Pi*x)/200]^2*Sin[14*\[Theta]]*A[1, 14][t]*
     B[1, 14][t] + 1.06797*Cos[14*\[Theta]]*Sin[(Pi*x)/200]*Sin[14*\[Theta]]*
     A[1, 0][t]*A[1, 14][t]*B[1, 14][t] - 4.84011*Cos[(Pi*x)/100]*
     Cos[14*\[Theta]]*Sin[(Pi*x)/200]*Sin[14*\[Theta]]*A[1, 0][t]*A[1, 14][t]*
     B[1, 14][t] + 3.87208*Cos[(Pi*x)/200]*Cos[14*\[Theta]]*Sin[(Pi*x)/100]*
     Sin[14*\[Theta]]*A[1, 0][t]*A[1, 14][t]*B[1, 14][t] +
    0.266991*Sin[(Pi*x)/200]*Sin[28*\[Theta]]*A[1, 0][t]*A[1, 14][t]*
     B[1, 14][t] + 0.266991*Cos[14*\[Theta]]*Sin[(Pi*x)/200]*Sin[7*\[Theta]]*
     A[1, 7][t]*A[1, 14][t]*B[1, 14][t] - 28.3008*Cos[(Pi*x)/100]*
     Cos[14*\[Theta]]*Sin[(Pi*x)/200]*Sin[7*\[Theta]]*A[1, 7][t]*A[1, 14][t]*
     B[1, 14][t] + 13.318*Cos[(Pi*x)/200]*Cos[14*\[Theta]]*Sin[(Pi*x)/100]*
     Sin[7*\[Theta]]*A[1, 7][t]*A[1, 14][t]*B[1, 14][t] +
    0.266991*Cos[7*\[Theta]]*Sin[(Pi*x)/200]*Sin[14*\[Theta]]*A[1, 7][t]*
     A[1, 14][t]*B[1, 14][t] - 28.3008*Cos[(Pi*x)/100]*Cos[7*\[Theta]]*
     Sin[(Pi*x)/200]*Sin[14*\[Theta]]*A[1, 7][t]*A[1, 14][t]*B[1, 14][t] +
    0.266991*Cos[21*\[Theta]]*Sin[(Pi*x)/200]*Sin[14*\[Theta]]*A[1, 7][t]*
     A[1, 14][t]*B[1, 14][t] - 0.0788365*Cos[(Pi*x)/100]*Cos[21*\[Theta]]*
     Sin[(Pi*x)/200]*Sin[14*\[Theta]]*A[1, 7][t]*A[1, 14][t]*B[1, 14][t] +
    13.318*Cos[(Pi*x)/200]*Cos[7*\[Theta]]*Sin[(Pi*x)/100]*Sin[14*\[Theta]]*
     A[1, 7][t]*A[1, 14][t]*B[1, 14][t] + 0.075683*Cos[(Pi*x)/200]*
     Cos[21*\[Theta]]*Sin[(Pi*x)/100]*Sin[14*\[Theta]]*A[1, 7][t]*A[1, 14][t]*
     B[1, 14][t] + 0.266991*Cos[14*\[Theta]]*Sin[(Pi*x)/200]*Sin[21*\[Theta]]*
     A[1, 7][t]*A[1, 14][t]*B[1, 14][t] - 0.0788365*Cos[(Pi*x)/100]*
     Cos[14*\[Theta]]*Sin[(Pi*x)/200]*Sin[21*\[Theta]]*A[1, 7][t]*A[1, 14][t]*
     B[1, 14][t] + 0.075683*Cos[(Pi*x)/200]*Cos[14*\[Theta]]*Sin[(Pi*x)/100]*
     Sin[21*\[Theta]]*A[1, 7][t]*A[1, 14][t]*B[1, 14][t] +
    0.266991*Cos[7*\[Theta]]*Sin[(Pi*x)/200]*Sin[28*\[Theta]]*A[1, 7][t]*
     A[1, 14][t]*B[1, 14][t] + 842.364*Sin[(Pi*x)/200]*Sin[14*\[Theta]]*
     A[1, 14][t]^2*B[1, 14][t] - 842.364*Cos[(Pi*x)/100]*Sin[(Pi*x)/200]*
     Sin[14*\[Theta]]*A[1, 14][t]^2*B[1, 14][t] + 0.133496*Cos[28*\[Theta]]*
     Sin[(Pi*x)/200]*Sin[14*\[Theta]]*A[1, 14][t]^2*B[1, 14][t] +
    0.266991*Cos[14*\[Theta]]*Sin[(Pi*x)/200]*Sin[28*\[Theta]]*A[1, 14][t]^2*
     B[1, 14][t] + 13.5898*Cos[(Pi*x)/100]*Cos[7*\[Theta]]*B[1, 7][t]*
     B[1, 14][t] + 8.43363*Cos[(Pi*x)/200]^2*Cos[7*\[Theta]]*Cos[14*\[Theta]]*
     B[1, 7][t]*B[1, 14][t] - 0.0257425*Cos[(Pi*x)/100]*Cos[21*\[Theta]]*
     B[1, 7][t]*B[1, 14][t] - 10.542*Sin[(Pi*x)/200]^2*Sin[7*\[Theta]]*
     Sin[14*\[Theta]]*B[1, 7][t]*B[1, 14][t] + 0.266991*Cos[7*\[Theta]]*
     Sin[(Pi*x)/200]*A[1, 0][t]*B[1, 7][t]*B[1, 14][t] -
    1.66475*Cos[(Pi*x)/100]*Cos[7*\[Theta]]*Sin[(Pi*x)/200]*A[1, 0][t]*
     B[1, 7][t]*B[1, 14][t] - 0.266991*Cos[21*\[Theta]]*Sin[(Pi*x)/200]*
     A[1, 0][t]*B[1, 7][t]*B[1, 14][t] + 0.0283811*Cos[(Pi*x)/100]*
     Cos[21*\[Theta]]*Sin[(Pi*x)/200]*A[1, 0][t]*B[1, 7][t]*B[1, 14][t] -
    3.92758*Cos[(Pi*x)/200]*Cos[7*\[Theta]]*Cos[14*\[Theta]]*Sin[(Pi*x)/100]*
     A[1, 0][t]*B[1, 7][t]*B[1, 14][t] + 1.06797*Sin[(Pi*x)/200]*
     Sin[7*\[Theta]]*Sin[14*\[Theta]]*A[1, 0][t]*B[1, 7][t]*B[1, 14][t] -
    7.25708*Cos[(Pi*x)/100]*Sin[(Pi*x)/200]*Sin[7*\[Theta]]*Sin[14*\[Theta]]*
     A[1, 0][t]*B[1, 7][t]*B[1, 14][t] + 0.266991*Cos[7*\[Theta]]^2*
     Sin[(Pi*x)/200]*A[1, 7][t]*B[1, 7][t]*B[1, 14][t] -
    8.32376*Cos[(Pi*x)/100]*Cos[7*\[Theta]]^2*Sin[(Pi*x)/200]*A[1, 7][t]*
     B[1, 7][t]*B[1, 14][t] - 0.266991*Cos[7*\[Theta]]*Cos[21*\[Theta]]*
     Sin[(Pi*x)/200]*A[1, 7][t]*B[1, 7][t]*B[1, 14][t] +
    0.040995*Cos[(Pi*x)/100]*Cos[7*\[Theta]]*Cos[21*\[Theta]]*Sin[(Pi*x)/200]*
     A[1, 7][t]*B[1, 7][t]*B[1, 14][t] - 6.65901*Cos[(Pi*x)/200]*
     Cos[7*\[Theta]]^2*Sin[(Pi*x)/100]*A[1, 7][t]*B[1, 7][t]*B[1, 14][t] -
    0.0378415*Cos[(Pi*x)/200]*Cos[7*\[Theta]]*Cos[21*\[Theta]]*Sin[(Pi*x)/100]*
     A[1, 7][t]*B[1, 7][t]*B[1, 14][t] + 0.266991*Sin[(Pi*x)/200]*
     Sin[7*\[Theta]]^2*A[1, 7][t]*B[1, 7][t]*B[1, 14][t] -
    8.32376*Cos[(Pi*x)/100]*Sin[(Pi*x)/200]*Sin[7*\[Theta]]^2*A[1, 7][t]*
     B[1, 7][t]*B[1, 14][t] - 6.65901*Cos[(Pi*x)/200]*Sin[(Pi*x)/100]*
     Sin[7*\[Theta]]^2*A[1, 7][t]*B[1, 7][t]*B[1, 14][t] +
    0.266991*Sin[(Pi*x)/200]*Sin[14*\[Theta]]^2*A[1, 7][t]*B[1, 7][t]*
     B[1, 14][t] + 0.266991*Sin[(Pi*x)/200]*Sin[7*\[Theta]]*Sin[21*\[Theta]]*
     A[1, 7][t]*B[1, 7][t]*B[1, 14][t] - 0.040995*Cos[(Pi*x)/100]*
     Sin[(Pi*x)/200]*Sin[7*\[Theta]]*Sin[21*\[Theta]]*A[1, 7][t]*B[1, 7][t]*
     B[1, 14][t] + 0.0378415*Cos[(Pi*x)/200]*Sin[(Pi*x)/100]*Sin[7*\[Theta]]*
     Sin[21*\[Theta]]*A[1, 7][t]*B[1, 7][t]*B[1, 14][t] +
    0.266991*Cos[7*\[Theta]]*Cos[14*\[Theta]]*Sin[(Pi*x)/200]*A[1, 14][t]*
     B[1, 7][t]*B[1, 14][t] - 28.3008*Cos[(Pi*x)/100]*Cos[7*\[Theta]]*
     Cos[14*\[Theta]]*Sin[(Pi*x)/200]*A[1, 14][t]*B[1, 7][t]*B[1, 14][t] -
    0.266991*Cos[14*\[Theta]]*Cos[21*\[Theta]]*Sin[(Pi*x)/200]*A[1, 14][t]*
     B[1, 7][t]*B[1, 14][t] + 0.0788365*Cos[(Pi*x)/100]*Cos[14*\[Theta]]*
     Cos[21*\[Theta]]*Sin[(Pi*x)/200]*A[1, 14][t]*B[1, 7][t]*B[1, 14][t] +
    13.318*Cos[(Pi*x)/200]*Cos[7*\[Theta]]*Cos[14*\[Theta]]*Sin[(Pi*x)/100]*
     A[1, 14][t]*B[1, 7][t]*B[1, 14][t] - 0.075683*Cos[(Pi*x)/200]*
     Cos[14*\[Theta]]*Cos[21*\[Theta]]*Sin[(Pi*x)/100]*A[1, 14][t]*B[1, 7][t]*
     B[1, 14][t] - 0.266991*Sin[(Pi*x)/200]*Sin[7*\[Theta]]*Sin[14*\[Theta]]*
     A[1, 14][t]*B[1, 7][t]*B[1, 14][t] + 28.3008*Cos[(Pi*x)/100]*
     Sin[(Pi*x)/200]*Sin[7*\[Theta]]*Sin[14*\[Theta]]*A[1, 14][t]*B[1, 7][t]*
     B[1, 14][t] - 13.318*Cos[(Pi*x)/200]*Sin[(Pi*x)/100]*Sin[7*\[Theta]]*
     Sin[14*\[Theta]]*A[1, 14][t]*B[1, 7][t]*B[1, 14][t] +
    0.266991*Sin[(Pi*x)/200]*Sin[14*\[Theta]]*Sin[21*\[Theta]]*A[1, 14][t]*
     B[1, 7][t]*B[1, 14][t] - 0.0788365*Cos[(Pi*x)/100]*Sin[(Pi*x)/200]*
     Sin[14*\[Theta]]*Sin[21*\[Theta]]*A[1, 14][t]*B[1, 7][t]*B[1, 14][t] +
    0.075683*Cos[(Pi*x)/200]*Sin[(Pi*x)/100]*Sin[14*\[Theta]]*Sin[21*\[Theta]]*
     A[1, 14][t]*B[1, 7][t]*B[1, 14][t] + 0.266991*Sin[(Pi*x)/200]*
     Sin[7*\[Theta]]*Sin[28*\[Theta]]*A[1, 14][t]*B[1, 7][t]*B[1, 14][t] +
    0.266991*Cos[7*\[Theta]]*Sin[(Pi*x)/200]*Sin[7*\[Theta]]*B[1, 7][t]^2*
     B[1, 14][t] - 8.32376*Cos[(Pi*x)/100]*Cos[7*\[Theta]]*Sin[(Pi*x)/200]*
     Sin[7*\[Theta]]*B[1, 7][t]^2*B[1, 14][t] - 0.266991*Cos[21*\[Theta]]*
     Sin[(Pi*x)/200]*Sin[7*\[Theta]]*B[1, 7][t]^2*B[1, 14][t] +
    0.040995*Cos[(Pi*x)/100]*Cos[21*\[Theta]]*Sin[(Pi*x)/200]*Sin[7*\[Theta]]*
     B[1, 7][t]^2*B[1, 14][t] + 6.65901*Cos[(Pi*x)/200]*Cos[7*\[Theta]]*
     Sin[(Pi*x)/100]*Sin[7*\[Theta]]*B[1, 7][t]^2*B[1, 14][t] +
    210.591*Sin[(Pi*x)/200]*Sin[14*\[Theta]]*B[1, 7][t]^2*B[1, 14][t] -
    210.591*Cos[(Pi*x)/100]*Sin[(Pi*x)/200]*Sin[14*\[Theta]]*B[1, 7][t]^2*
     B[1, 14][t] - 0.133496*Cos[14*\[Theta]]*Sin[(Pi*x)/200]*Sin[14*\[Theta]]*
     B[1, 7][t]^2*B[1, 14][t] - 0.0378415*Cos[(Pi*x)/200]*Cos[7*\[Theta]]*
     Sin[(Pi*x)/100]*Sin[21*\[Theta]]*B[1, 7][t]^2*B[1, 14][t] -
    429.778*B[1, 14][t]^2 + 429.778*Cos[(Pi*x)/100]*B[1, 14][t]^2 +
    1.06283*Cos[(Pi*x)/200]^2*Cos[14*\[Theta]]^2*B[1, 14][t]^2 -
    1.06283*Sin[(Pi*x)/200]^2*Sin[14*\[Theta]]^2*B[1, 14][t]^2 -
    0.133496*Cos[28*\[Theta]]*Sin[(Pi*x)/200]*A[1, 0][t]*B[1, 14][t]^2 -
    1.93604*Cos[(Pi*x)/200]*Cos[14*\[Theta]]^2*Sin[(Pi*x)/100]*A[1, 0][t]*
     B[1, 14][t]^2 + 0.533983*Sin[(Pi*x)/200]*Sin[14*\[Theta]]^2*A[1, 0][t]*
     B[1, 14][t]^2 - 2.42005*Cos[(Pi*x)/100]*Sin[(Pi*x)/200]*
     Sin[14*\[Theta]]^2*A[1, 0][t]*B[1, 14][t]^2 + 210.591*Cos[7*\[Theta]]*
     Sin[(Pi*x)/200]*A[1, 7][t]*B[1, 14][t]^2 -
    210.591*Cos[(Pi*x)/100]*Cos[7*\[Theta]]*Sin[(Pi*x)/200]*A[1, 7][t]*
     B[1, 14][t]^2 - 0.133496*Cos[7*\[Theta]]*Cos[28*\[Theta]]*Sin[(Pi*x)/200]*
     A[1, 7][t]*B[1, 14][t]^2 - 13.318*Cos[(Pi*x)/200]*Cos[7*\[Theta]]*
     Cos[14*\[Theta]]*Sin[(Pi*x)/100]*A[1, 7][t]*B[1, 14][t]^2 -
    0.075683*Cos[(Pi*x)/200]*Cos[14*\[Theta]]*Cos[21*\[Theta]]*Sin[(Pi*x)/100]*
     A[1, 7][t]*B[1, 14][t]^2 + 0.266991*Sin[(Pi*x)/200]*Sin[7*\[Theta]]*
     Sin[14*\[Theta]]*A[1, 7][t]*B[1, 14][t]^2 - 28.3008*Cos[(Pi*x)/100]*
     Sin[(Pi*x)/200]*Sin[7*\[Theta]]*Sin[14*\[Theta]]*A[1, 7][t]*B[1, 14][t]^2 +
    0.266991*Sin[(Pi*x)/200]*Sin[14*\[Theta]]*Sin[21*\[Theta]]*A[1, 7][t]*
     B[1, 14][t]^2 - 0.0788365*Cos[(Pi*x)/100]*Sin[(Pi*x)/200]*
     Sin[14*\[Theta]]*Sin[21*\[Theta]]*A[1, 7][t]*B[1, 14][t]^2 +
    842.364*Cos[14*\[Theta]]*Sin[(Pi*x)/200]*A[1, 14][t]*B[1, 14][t]^2 -
    842.364*Cos[(Pi*x)/100]*Cos[14*\[Theta]]*Sin[(Pi*x)/200]*A[1, 14][t]*
     B[1, 14][t]^2 - 0.133496*Cos[14*\[Theta]]*Cos[28*\[Theta]]*Sin[(Pi*x)/200]*
     A[1, 14][t]*B[1, 14][t]^2 + 0.266991*Sin[(Pi*x)/200]*Sin[14*\[Theta]]*
     Sin[28*\[Theta]]*A[1, 14][t]*B[1, 14][t]^2 + 210.591*Sin[(Pi*x)/200]*
     Sin[7*\[Theta]]*B[1, 7][t]*B[1, 14][t]^2 - 210.591*Cos[(Pi*x)/100]*
     Sin[(Pi*x)/200]*Sin[7*\[Theta]]*B[1, 7][t]*B[1, 14][t]^2 -
    0.133496*Cos[28*\[Theta]]*Sin[(Pi*x)/200]*Sin[7*\[Theta]]*B[1, 7][t]*
     B[1, 14][t]^2 + 13.318*Cos[(Pi*x)/200]*Cos[14*\[Theta]]*Sin[(Pi*x)/100]*
     Sin[7*\[Theta]]*B[1, 7][t]*B[1, 14][t]^2 + 0.266991*Cos[7*\[Theta]]*
     Sin[(Pi*x)/200]*Sin[14*\[Theta]]*B[1, 7][t]*B[1, 14][t]^2 -
    28.3008*Cos[(Pi*x)/100]*Cos[7*\[Theta]]*Sin[(Pi*x)/200]*Sin[14*\[Theta]]*
     B[1, 7][t]*B[1, 14][t]^2 - 0.266991*Cos[21*\[Theta]]*Sin[(Pi*x)/200]*
     Sin[14*\[Theta]]*B[1, 7][t]*B[1, 14][t]^2 + 0.0788365*Cos[(Pi*x)/100]*
     Cos[21*\[Theta]]*Sin[(Pi*x)/200]*Sin[14*\[Theta]]*B[1, 7][t]*B[1, 14][t]^2 -
    0.075683*Cos[(Pi*x)/200]*Cos[14*\[Theta]]*Sin[(Pi*x)/100]*Sin[21*\[Theta]]*
     B[1, 7][t]*B[1, 14][t]^2 + 842.364*Sin[(Pi*x)/200]*Sin[14*\[Theta]]*
     B[1, 14][t]^3 - 842.364*Cos[(Pi*x)/100]*Sin[(Pi*x)/200]*Sin[14*\[Theta]]*
     B[1, 14][t]^3 - 0.133496*Cos[28*\[Theta]]*Sin[(Pi*x)/200]*Sin[14*\[Theta]]*
     B[1, 14][t]^3 + ((6.90612*Sin[(Pi*x)/200])/10^7)*
     Derivative[2][A[1, 0]][t] + ((6.90612*Cos[7*\[Theta]]*Sin[(Pi*x)/200])/
      10^7)*Derivative[2][A[1, 7]][t] +
    ((6.90612*Cos[14*\[Theta]]*Sin[(Pi*x)/200])/10^7)*Derivative[2][A[1, 14]][
      t] + ((6.90612*Sin[(Pi*x)/200]*Sin[7*\[Theta]])/10^7)*
     Derivative[2][B[1, 7]][t] + ((6.90612*Sin[(Pi*x)/200]*Sin[14*\[Theta]])/
      10^7)*Derivative[2][B[1, 14]][t];

Then:
    With[{L = 200},
  Print[AbsoluteTiming[r1 = ExpandAll[Chop[Integrate[Resi*Cos[7*1*\[Theta]]*Sin[(1*Pi*x)/L], {\[Theta], 0, 2*Pi},
         {x, 0, L}], 10^(-6)]]]];
   Print[AbsoluteTiming[r2 = ExpandAll[Chop[Integrate[Resi*Cos[7*1*\[Theta]]*Sin[(1*Pi*x)/L], {x, 0, L},
         {\[Theta], 0, 2*Pi}], 10^(-6)]]]]; r1 === r2]

gives, confirming yoda, :
    {36.7641028,
 2087.69 A[1, 7][t] - 230144. A[1, 0][t] A[1, 7][t] +
  225.867 A[1, 0][t]^2 A[1, 7][t] + 24830.6 A[1, 7][t]^3 -
  2655.33 A[1, 7][t] A[1, 14][t] +
  774.631 A[1, 0][t] A[1, 7][t] A[1, 14][t] +
  100500. A[1, 7][t] A[1, 14][t]^2 +
  24830.6 A[1, 7][t] B[1, 7][t]^2 - 2655.33 B[1, 7][t] B[1, 14][t] +
  774.631 A[1, 0][t] B[1, 7][t] B[1, 14][t] +
  100500. A[1, 7][t] B[1, 14][t]^2 +
  0.000216962 (A[1, 7]^\[Prime]\[Prime])[t]}

{23.8343632,
 2087.69 A[1, 7][t] - 230144. A[1, 0][t] A[1, 7][t] +
  225.867 A[1, 0][t]^2 A[1, 7][t] + 24830.6 A[1, 7][t]^3 -
  2655.33 A[1, 7][t] A[1, 14][t] +
  774.631 A[1, 0][t] A[1, 7][t] A[1, 14][t] +
  100500. A[1, 7][t] A[1, 14][t]^2 +
  24830.6 A[1, 7][t] B[1, 7][t]^2 - 2655.33 B[1, 7][t] B[1, 14][t] +
  774.631 A[1, 0][t] B[1, 7][t] B[1, 14][t] +
  100500. A[1, 7][t] B[1, 14][t]^2 +
  0.000216962 (A[1, 7]^\[Prime]\[Prime])[t]}

Of course, this really looks too slow. So if you help Integrate by rearranging the integrand a little bit,
you can speed up things considerably:
    With[{L = 200},
  Print[AbsoluteTiming[rint0 = Expand[Collect[Expand[Resi*Cos[7*\[Theta]]*Sin[(Pi*x)/L], x] /.
           p_Times /;  !FreeQ[p, x] :> Hold[Integrate][Select[p,  !FreeQ[#1, x] & ], {x, 0, L}]*
             Select[p, FreeQ[#1, x] & ], Hold[Integrate][_, _]] /. Hold[Integrate] -> Integrate, \[Theta]];
      rint1 = Chop[Expand[Collect[rint0 /. p_Times /;  !FreeQ[p, \[Theta]] :> Hold[Integrate][Select[p,
                 !FreeQ[#1, \[Theta]] & ], {\[Theta], 0, 2*Pi}]*Select[p, FreeQ[#1, \[Theta]] & ],
           Hold[Integrate][_, _]] /. Hold[Integrate] -> Integrate], 1/10^6]]];
   Print[AbsoluteTiming[tint1 = Expand[Collect[Expand[Resi*Cos[7*\[Theta]]*Sin[(Pi*x)/L], \[Theta]] /.
           p_Times /;  !FreeQ[p, \[Theta]] :> Hold[Integrate][Select[p,  !FreeQ[#1, \[Theta]] & ], {\[Theta], 0, 2*Pi}]*
             Select[p, FreeQ[#1, \[Theta]] & ], Hold[Integrate][_, _]] /. Hold[Integrate] -> Integrate];
      tint2 = Chop[Expand[Collect[tint1 /. p_Times /;  !FreeQ[p, x] :> Hold[Integrate][Select[p,
                 !FreeQ[#1, x] & ], {x, 0, L}]*Select[p, FreeQ[#1, x] & ], Hold[Integrate][_, _]] /.
          Hold[Integrate] -> Integrate], 1/10^6]]]; Chop[rint1 - tint2, 1/10^6]]

Resulting in
    {1.5800904,2087.69 A[1,7][t]-230144. A[1,0][t] A[1,7][t]+225.867 A[1,0][t]^2 A[1,7][t]+24830.6 A[1,7][t]^3-2655.33 A[1,7][t] A[1,14][t]+774.631 A[1,0][t] A[1,7][t] A[1,14][t]+100500. A[1,7][t] A[1,14][t]^2+24830.6 A[1,7][t] B[1,7][t]^2-2655.33 B[1,7][t] B[1,14][t]+774.631 A[1,0][t] B[1,7][t] B[1,14][t]+100500. A[1,7][t] B[1,14][t]^2+0.000216962 (A[1,7]^\[Prime]\[Prime])[t]}

{1.5820904,2087.69 A[1,7][t]-230144. A[1,0][t] A[1,7][t]+225.867 A[1,0][t]^2 A[1,7][t]+24830.6 A[1,7][t]^3-2655.33 A[1,7][t] A[1,14][t]+774.631 A[1,0][t] A[1,7][t] A[1,14][t]+100500. A[1,7][t] A[1,14][t]^2+24830.6 A[1,7][t] B[1,7][t]^2-2655.33 B[1,7][t] B[1,14][t]+774.631 A[1,0][t] B[1,7][t] B[1,14][t]+100500. A[1,7][t] B[1,14][t]^2+0.000216962 (A[1,7]^\[Prime]\[Prime])[t]}


text:
Q: How to use getResources.getString(R.string) in an Interface? I have an interface that has a static key. And I wanted to retrieve this key from a string file, but if I just put R.string.key, it shows incompatible types, because it retrieves the integer value, and if I put R.string.key + "", it becomes a string but retrieves the String file id, it would be best to use getResources.getString (R.string.key), but there is no way to use the getResources.getString method in the Interface.
Working:
public interface NotificacaoService {
    @Headers({"34853485734",
            "Content-Type:application/json"}) @POST("send")
    Call<NotificacaoDados> salvarNotificacao(@Body NotificacaoDados notificacaoDados);
}

I want to leave it like this:
public interface NotificacaoService {
    @Headers({getResources.getString(R.string.key),
            "Content-Type:application/json"}) @POST("send")
    Call<NotificacaoDados> salvarNotificacao(@Body NotificacaoDados notificacaoDados);
}

A: Sorry, what you want is not possible. Annotation parameters need to be constants.
One solution is to switch from string resources to BuildConfig. Use buildConfigField in your Gradle script to define your key (buildConfigField "String", "API_KEY", "\"34853485734\""). Then, you can reference that generated constant in your interface (e.g.,BuildConfig.API_KEY`).
Alternatively — if this interface is for Retrofit — you could add your headers via an OkHttp interceptor, instead of via a @Headers annotation.

redpajama_set_name: RedPajamaStackExchange


text:
Q: I'm trying to run a program in Java and I don't understand why it's not working I am trying to run this program in Java:
import java.awt.*;

import javax.swing.*;

public class PanelTest extends JPanel

{public void paintComponent(Graphics g)

  {g.setColor(Color.green);

  g.drawString("Hello World",30,100);

  }

}

When I run it shows a box in which it's written:

No main methods,applets or MIDlets found in file.

I don't understand what do I have to do.
Can someone explain this to me. Any help would be appreciated.Thank you!

A: Every Java program requires a public static void main (String[] args) as main method. This method is the program's entry point. Everything starts from there.
You can then instantiate the Panel in that main method.
Something like this:
public static void main (String[] args) {

    JFrame frame = new JFrame();
    frame.setContentPane(new PanelTest());
    frame.setVisible();

}

A: As specified in the error text, the problem is that you do not have a main method for your program. All Java programs must have a main method, since that is the starting point for Java Applications.
A typical main class for your simple application would be:
public class Main {

   public static void main(String args[]){
      PanelTest pt = new PanelTest();

      pt.paintComponent(..);
   }

}

In the above, replace the '..' with the actual method arguments. I would definitely going through the basic concepts of Java. There are some great tutorials out there.

A: Every Java program should be started with a main method:-
public static void main(String[] args) {
    // Starting code here
}


text:
Q: DownloadStringAsync doesn't return complete string I download a bunch of strings from different addresses and I need to download them as quick as possible. So I use 10 DownloadStringAsync and 1 DownloadString.
Simplified code looks like this:
    ...
    foreach(...)
    {
        using (WebClient client = new WebClient())
        {
            if (asyncworkers < 10)
            {
                client.DownloadStringCompleted += Done;
                client.DownloadStringAsync(uri);
                asyncworkers++;
            }else{
                string data = client.DownloadString(uri);
                ProcessData(data);
            }
        }
    }
    ...

private void Done(...)
{
    ProcessData(e.Result);
    asyncworkers--;
}

The issue is that from time to time e.Result in Done is not complete. When I use either only DownloadString or DownloadStringAsync then it is most likely allways complete.
Is it normal and shall I just redownload it when it isn't complete or is the way I wrote it wrong? And in case it is wrong how would I force it to wait untill one of 10 DownloadStringAsync finishes its work?
Thanks.


text:
Q: Using sed to replace a part of a string that is unknown I have a text file:
example.txt
UserName = JIU62H123;
USER_NAME = JIU62H123;

I need to change JIU62H123 to A5B4C6DF9. Obviously, for this file I could just do:
//bash
sed -i '' 's/JIU62H123/A5B4C6DF9/g' example.txt

This works for this file as you can see from the result:
example.txt
UserName = A5B4C6DF9;
USER_NAME = A5B4C6DF9;

However, in actuality, I won't know if the username is actually ahead of time. All I know is that the file is in this shape:
example.txt
UserName = <some_letters_and_numbers>;
USER_NAME = <some_letters_and_numbers>;

I basically need to change <some_letters_and_numbers> to A5B4C6DF9. Can this be done with one or more sed commands?

A: How about using a regex?
sed -ir 's/^(USER_NAME|UserName) = [A-Za-z0-9]+;$/\1 = A5B4C6DF9;/g' example.txt

A: In real words:

*

*on lines  begining by UserName or USER_NAME, followed by equal sign =,

*replace right hand side by ...

In sed syntax:
Using variable for adaptability
newId=A5B4C6DF9
sed -e '/^U\(serName\|\SER_NAME) *=/s/= .*$/'$newId/ -i example.txt

Nota The quoted part end just before the variable!
This work until $newId don't contain special chars. If variable could contain spaces or other non alphanumeric characters, use double-quotes:
sed -e '/^U\(serName\|\SER_NAME) *=/s/= .*$/'"$newId"/ -i example.txt

A: With awk you could:
$ awk '{$3="A5B4C6DF9;"}1' file
UserName = A5B4C6DF9;
USER_NAME = A5B4C6DF9;

ie. replace the 3rd space separated field. With a recent enough GNU awk you could do an inplace edit:
$ awk -i inplace '{$3="A5B4C6DF9;"}1' file

A: To change <some_letters_and_numbers> to A5B4C6DF9 and assuming you meant to add on the right side of "= " with a sed that has -E for EREs is:
$ sed -E 's/= [[:alnum:]]+/= A5B4C6DF9/' file
UserName = A5B4C6DF9;
USER_NAME = A5B4C6DF9;

and with any POSIX sed:
$ sed 's/= [[:alnum:]][[:alnum:]]*/= A5B4C6DF9/' file
UserName = A5B4C6DF9;
USER_NAME = A5B4C6DF9;

A: thanks very much for the answers, upvoted each one. I ended up doing a solution like so:
sed -i '' -E 's/(DEVELOPMENT_TEAM|DevelopmentTeam)( = )(.*)/\1\2A5B4C6DF9;/' example.txt

Most of the answers given here seemed to be matching for a pattern of letters/numbers, but I think it might be better to match against anything and replace it with the desired content.


text:
Q: Unordered List (UL) expands layout when text breaks in multiple lines My UL expands my fixed-width layout when text breaks into multiple lines, in Chrome and Firefox. I've tried to resolve this through CSS, I've tried the INSIDE option, also constrained the WIDTH of both UL and LI, but it didn't work. My layout is 600px, but width: 600px; will still expand my layout if text breaks. Also width: 500px; still expands my layout. Only if I reduce to width: 300px; the layout is not expanded, but I can't work with such narrow width. Is this a bug of some browsers or anything else I can try?

A: It may be a simple CSS fix, could you please post your code to have a look at?


text:
Q: store and restore struct in file in C I need to store a struct in a file and read it back to return it then.
I would try to write it to the file like this:
void lld_tpWriteCalibration(struct cal cal) {
    FIL fdst;      /* file objects */
   UINT bw;        /* File write count */

    /* Create destination file on the drive 0 */
    wf_open(&fdst, "0:calibration.txt", FA_CREATE_ALWAYS | FA_WRITE);
    wf_write(&fdst, cal, sizeof(cal), &bw);

    wf_close(&fdst);
}

Would that work?
And how can I read it back and return it from this function?
struct cal lld_tpReadCalibration(void) {

}

The struct is:
   struct cal {
       float xm;
       float ym;
       float xn;
       float yn;
   };

Thanks for your help.

A: You can retrieve your structure the same way you stored it.
read(&fdst, &cal, sizeof(cal));

But you got to be careful, you won't be able to do this on every architecture because of endianess problem.

A: You'll be OK with that structure and that writing/reading technique if you only try to read the file on the same type of machine as you write it on. The data written like that is not reliably portable across different types of machines.


text:
Q: Load New Cards/Information without Resetting View DraggableViewBackground is essentially a deck of cards. In it, there is a method to remove and load new cards (which involves calling the foursquare API). The call to the foursquare API happens in my ViewController.m file. The code posted below is from the call to foursquare method, specifically for updating.
This is the current transition in my ViewController.m file:
                    draggableBackground = [[DraggableViewBackground alloc]initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height) :venueList];
                    draggableBackground.tag=1;
                    if(obj.tutorial) {
                        [self.view sendSubviewToBack:[self.view viewWithTag:1]];
                    }
                    else{
                        [self.view addSubview:draggableBackground];
                    }
                }
                if (obj.firstGeoLoc){
                    draggableBackground.firstThree.hidden=NO;
                }else{
                    [draggableBackground.firstThree removeFromSuperview];
                }

I want while I'm in the middle of a deck, for the next deck to load. However, I don't want to reset the view until I have finished going through my original deck. However, as it originally existed, it calls the API and then resets DraggableViewBackground, so the user is looking at a new set of cards. Now, I want it to call foursquare and thus "load the deck", without showing the new cards until the end of the first deck is reached

A: Ok ... so based on your clarification in the comments, it sounds to me like you need to separate the concept of "getting the data", from adding the view to the UI.
You need to organize the code so that you make the API call in the background to retrieve data; then a separate routine to load the UI. This makes it a simple task then to execute the following steps:

*

*Load the initial deck

*Display the UI once the data is returned

*Immediately kick off the retrieval of the next deck to a local cache.

Since the data is loading on a background thread, the user is free to continue operating ... and then when they move to the next one, you can pull the locally cached data and show them immediately.
It's kind of hard to be specific without seeing more of your code, but in general (and of course YMMV), this is probably how you want to structure things :)


text:
Q: Wide html responsive html table My datatable has 30 - 40 columns. I need responsive table solution without horizontal scrollbar, where weighting of each columns is the same. Hiding last columns is OK.
Responsive datatables extension is good, but problem is, one of group data looks different as another. First are in one cell as list and another in common cells.
I think one solution is integration colvis extension with swipe table.
Next is scroll-horizontal, but responsiveness is worse.
Any other ideas?
Thanks.

A: Maybe Automatic column hiding can help you:

*

*https://datatables.net/extensions/responsive/examples/column-control/auto.html

*https://datatables.net/extensions/rowreorder/examples/initialisation/responsive.html
There are samples in documentation. You have to use dataTables.responsive.min.js and responsive.dataTables.min.css
Also you can define column priority
$('#myTable').DataTable( {
    responsive: true,
    columnDefs: [
        { responsivePriority: 1, targets: 0 },
        { responsivePriority: 2, targets: -1 }
    ]
} );

or add data-priority attribute html column header First name

$(document).ready(function() {
    $('#example').DataTable( {

        "columns": [
         { "data": "seq" },
            { "data": "name" },
            { "data": "position" },
            { "data": "office" },
            { "data": "start_date" },
            { "data": "salary" }

        ]
    } );
} );
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.21/css/jquery.dataTables.min.css">
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/responsive/2.2.4/css/responsive.dataTables.min.css">

                Seq.
                Name
                Position
                Office
                Start date
                Salary

                2
                Tiger Nixon
                System Architect
                Edinburgh
                2011/04/25
                $320,800

                22
                Garrett Winters
                Accountant
                Tokyo
                2011/07/25
                $170,750

                6
                Ashton Cox
                Junior Technical Author
                San Francisco
                2009/01/12
                $86,000

                41
                Cedric Kelly
                Senior Javascript Developer
                Edinburgh
                2012/03/29
                $433,060

                55
                Airi Satou
                Accountant
                Tokyo
                2008/11/28
                $162,700

                21
                Brielle Williamson
                Integration Specialist
                New York
                2012/12/02
                $372,000

                46
                Herrod Chandler
                Sales Assistant
                San Francisco
                2012/08/06
                $137,500

                50
                Rhona Davidson
                Integration Specialist
                Tokyo
                2010/10/14
                $327,900

                26
                Colleen Hurst
                Javascript Developer
                San Francisco
                2009/09/15
                $205,500

                18
                Sonya Frost
                Software Engineer
                Edinburgh
                2008/12/13
                $103,600

                13
                Jena Gaines
                Office Manager
                London
                2008/12/19
                $90,560

                23
                Quinn Flynn
                Support Lead
                Edinburgh
                2013/03/03
                $342,000

                14
                Charde Marshall
                Regional Director
                San Francisco
                2008/10/16
                $470,600

                12
                Haley Kennedy
                Senior Marketing Designer
                London
                2012/12/18
                $313,500

                54
                Tatyana Fitzpatrick
                Regional Director
                London
                2010/03/17
                $385,750

                37
                Michael Silva
                Marketing Designer
                London
                2012/11/27
                $198,500

                32
                Paul Byrd
                Chief Financial Officer (CFO)
                New York
                2010/06/09
                $725,000

                Name
                Position
                Office
                Start date
                Salary
                Extn.

Another way hiding column you can manage by class control with html column header or javascript. You can tell Responsive what columns should be visible on different devices through the use of class names on the columns.

$(document).ready(function() {
    $('#example').DataTable( {
        "columns": [
         { "data": "seq" },
            { "data": "name" },
            { "data": "position" },
            { "data": "office" },
            { "data": "start_date" },
            { "data": "salary" }

        ]
    } );
} );
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.21/css/jquery.dataTables.min.css">
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/responsive/2.2.4/css/responsive.dataTables.min.css">

                Seq.
                Name
                Position
                Office
                Start date
                Salary

                2
                Tiger Nixon
                System Architect
                Edinburgh
                2011/04/25
                $320,800

                22
                Garrett Winters
                Accountant
                Tokyo
                2011/07/25
                $170,750

                6
                Ashton Cox
                Junior Technical Author
                San Francisco
                2009/01/12
                $86,000

                41
                Cedric Kelly
                Senior Javascript Developer
                Edinburgh
                2012/03/29
                $433,060

                55
                Airi Satou
                Accountant
                Tokyo
                2008/11/28
                $162,700

                21
                Brielle Williamson
                Integration Specialist
                New York
                2012/12/02
                $372,000

                46
                Herrod Chandler
                Sales Assistant
                San Francisco
                2012/08/06
                $137,500

                50
                Rhona Davidson
                Integration Specialist
                Tokyo
                2010/10/14
                $327,900

                26
                Colleen Hurst
                Javascript Developer
                San Francisco
                2009/09/15
                $205,500

                18
                Sonya Frost
                Software Engineer
                Edinburgh
                2008/12/13
                $103,600

                13
                Jena Gaines
                Office Manager
                London
                2008/12/19
                $90,560

                23
                Quinn Flynn
                Support Lead
                Edinburgh
                2013/03/03
                $342,000

                14
                Charde Marshall
                Regional Director
                San Francisco
                2008/10/16
                $470,600

                12
                Haley Kennedy
                Senior Marketing Designer
                London
                2012/12/18
                $313,500

                54
                Tatyana Fitzpatrick
                Regional Director
                London
                2010/03/17
                $385,750

                37
                Michael Silva
                Marketing Designer
                London
                2012/11/27
                $198,500

                32
                Paul Byrd
                Chief Financial Officer (CFO)
                New York
                2010/06/09
                $725,000

                35
                Gloria Little
                Systems Administrator
                New York
                2009/04/10
                $237,500

                48
                Bradley Greer
                Software Engineer
                London
                2012/10/13
                $132,000

                45
                Dai Rios
                Personnel Lead
                Edinburgh
                2012/09/26
                $217,500

                17
                Jenette Caldwell
                Development Lead
                New York
                2011/09/03
                $345,000

                57
                Yuri Berry
                Chief Marketing Officer (CMO)
                New York
                2009/06/25
                $675,000

                29
                Caesar Vance
                Pre-Sales Support
                New York
                2011/12/12
                $106,450

                56
                Doris Wilder
                Sales Assistant
                Sydney
                2010/09/20
                $85,600

                36
                Angelica Ramos
                Chief Executive Officer (CEO)
                London
                2009/10/09
                $1,200,000

                5
                Gavin Joyce
                Developer
                Edinburgh
                2010/12/22
                $92,575

                51
                Jennifer Chang
                Regional Director
                Singapore
                2010/11/14
                $357,650

                20
                Brenden Wagner
                Software Engineer
                San Francisco
                2011/06/07
                $206,850

                7
                Fiona Green
                Chief Operating Officer (COO)
                San Francisco
                2010/03/11
                $850,000

                1
                Shou Itou
                Regional Marketing
                Tokyo
                2011/08/14
                $163,000

                Name
                Position
                Office
                Start date
                Salary
                Extn.

A: You can make any table scrollable purely with CSS.
table {
    overflow: auto;
    display: block;
    width: 100%;
}


text:
Q: .htaccess Rewrite without changing URL I have a site that's coded mainly in PHP, but I'm trying to rewrite my dynamic php URL's into static HTML URL's.
But I want the address bar to still remain as the static HTML link.
I'm trying to accomplish this through .htaccess (I have no access to httpd.conf as I'm hosted on a shared account). Here is what's written in my .httaccess file:
Options +FollowSymLinks
RewriteEngine on
RewriteBase /
RewriteRule ^inventory-search-([^.]+)-by-([^.]+).html$ http://www.pianostudiosandshowcase.com/inventory.php?search=$1&by=$2 [R]

But I can't get the address bar to remain as the static HTML link.
Here is a link to show you what I mean:
http://www.pianostudiosandshowcase.com/inventory.php?search=manufacturer&by=1

What am I missing?

A: You need to remove both the R flag in your rewrite rule as well as the protocol/domain name:
RewriteRule ^inventory-search-([^.]+)-by-([^.]+).html$ /inventory.php?search=$1&by=$2 [L]

Both will cause the server to externally redirect the browser, telling it "what you were looking for is not at that URL, you need to go to this entirely different URL". The forces the browser to display the new location in its address bar.
If you internally rewrite it, the browser has no idea the URI that it sent as a request had been changed, therefore the address bar remains unchanged.


text:
Q: How to move files and folder from a batch file command by just changing the directory structure just like it does from drag-n-drop of windows explorer When we move a large file or folder using drag and drop inside the windows explorer (within the same drive) it happens very fast. This is because, i believe the files or folders are not actually moved on the hard disk but just the folder path is changed inside the directory structure of the drive.
So is there a way to do the same from a batch file command.
I tried robocopy /e /move myFolder
but this takes a long time to move as probably it is copying the file first on the hard disk and then deleting.
Any way of doing this?


text:
Q: Using document.image to print JSON image element to browser I have a JSON that I have loaded string and images into but can't work out how to print the images to the browser.
If "document.write(diary_1938[pageRef].date_1);" prints the strings to browser, what is the equivalent code for the image?  Thanks.

A: What are you actually trying to do?   There are many JavaScript libraries that make this thing much, much easier client-side, as they allow direct DOM manipulation with ease.  I use Dojo; jQuery is very popular.
It sounds like what you want to do is generate an image tag to reference the image.
For example, something similar to
document.write("<img src='img.png' height='10' width='20'>");

Of course, document.write is not a robust practice--direct DOM manipulation with or without the utility  library of your choice is usually a better method.


text:
Q: Generate Word (docx) Files with from Templates (dotx) on Server Application I'm currently working on a project where I have to transfer an existing VB program into a Server Application using ASP.NET.
While I had success doing that there's one thing that I'm struggeling with:
The VB Program was using Microsoft Word Interop to generate Excel files and fill Word Templates with data. While i managed to be able to generate the files locally with Interop I can't get it to work for somebody that is accessing the Application from a client.
I also tried using OpenXML to solve my problem but somehow it always said that the file is corrupt after I tried to fill the bookmarks.
In the end the user shoud be able to download the Word document filled with the necessary data.
What would be the best solution for this problem?

A: If you have mostly the same document structure, you can prepare the whole document in Word. Set placeholders in the document like {Placeholder1} {Placeholder2}, parse the XML and Replace the Placeholders with your text, so you must not generate the whole document structure. Only Replace the Placeholders with your text.


text:
Q: abelian extension of local fields tamely ramified iff 1+m killed by Artin map In Milne's notes on Class Field Theory, I.1.9, there is the following claim stated without proof:

Suppose $L/K$ is a finite abelian extension of local fields, and let
  $\phi_K:K^\times\to Gal(L/K)$ be the local artin map, which is
  surjective with kernel $Nm(L^\times)$. Then $L/K$ is tamely ramified
  iff $1+\mathfrak{m}_K\subset Nm(L^\times)$.

I can prove one direction: consider the composition $K^\times/Nm(L^\times)\to Gal(L/K)\to Gal(l/k)$, where $l,k$ are the residue fields; let $p$ be the residue characteristic. The first map is an isomorphism, and if $L/K$ is tamely ramified then the second map is surjective with kernel having order prime to $p$. Now if $\alpha\in 1+\mathfrak{m}_K$, then $\alpha^{p^n}\in 1+\mathfrak{m}_K^{n+1}$ (prove by induction on $n$), and so for large $n$ we have $\alpha^{p^n}=1$ in $K^\times/Nm(L^\times)$. On the other hand, $\alpha$ is a unit, so it maps to 1 in $Gal(l/k)$, and hence by hypothesis the order of $\alpha$ is prime to $p$. It follows that in fact $\alpha=1$, so $1+\mathfrak{m}_K\in Nm(L^\times)$.
However, I don't know how to prove the other direction (except when $k=\mathbb{F}_p$ and thus $u^{p-1}\in 1+\mathfrak{m}_K$ for any unit $u$ of $K$). Can someone suggest a proof?
Follow-up: is it true more generally that the conductor of $L/K$ (i.e. smallest $f$ for which $1+\mathfrak{m}_K^f$ is killed by $\phi_K$) is equal to the smallest $f$ for which the higher ramification group $G_f=0$ (where $G_f$ is the subgroup of $\sigma\in Gal(L/K)$ satisfying $|\sigma(\pi_L)-\pi_L|<|\pi_L|^f$)?


text:
Q: Stackoverflow Login is not working on FF 15 When I click Login from OPENID on FireFox 15. It shows me that you are logged in. Refresh the Browser. When I do this. I am still not Logged-in. Any one has this same issue?
I am asking this question on Chrome.
Update: Here is the screen cast, http://www.youtube.com/watch?v=pt2-vE0DfHA
Update: It Starts working now. Now there is popup for refresh which I was seeing from couple of years.


text:
Q: How to limit the buffer size of a pipe (windows)? I am trying to control and read the output of a 3rd party console application, of which source code I cannot change.
I want to use QProcess for this, but this should not matter, as the issue is the same when just using cmd:
The 3rd party app seems to never call flush().
Therefore, directly calling it in cmd.exe works fine(Output appears in cmd window), but when calling e.g.
3rdPartyApp.exe > Output.txt

Output.txt stays empty until 3rdPartyApp.exe terminates or quits.
After 3rdPartyApp.exe quits or is terminated, all stdout can be found in Output.txt .
Question:
What can I do to create an environment where the buffer size of the pipe is limited, like when calling directly in cmd.exe, which seems to limit the buffer size to one line?

A: What you can do is create your own Console type application that will run 3rd party process and "handle" buffering of it.
Then instead redirecting output of 3rd party application, you simply redirect output of proxy console app.
How to do it? You can read it here: https://www.codeproject.com/Articles/16163/Real-Time-Console-Output-Redirection
The author provides explaination and ready to use Console app called RTConsole.exe.
I had big time issue to get unbuffered output from 3rd party pyhton executable spawned from my .NET app and this RTConsole.exe saved me.


text:
Q: How to pass BOOLEAN to Oracle 12c procedure? How to pass BOOLEAN to Oracle procedure in 12c?
I heard that it wasn't possible prior to 12c, but I still can't do it in 12c.
// https://docs.oracle.com/cd/A91202_01/901_doc/appdev.901/a89852/d_metad8.htm
// PROCEDURE set_transform_param (
//     transform_handle        IN  NUMBER,
//     name                    IN  VARCHAR2,
//     value                   IN  BOOLEAN DEFAULT TRUE,
//     object_type             IN  VARCHAR2 DEFAULT NULL);
var cmd = new OracleCommand();
cmd.Connection = new OracleConnection(this.scon);
cmd.CommandType = CommandType.StoredProcedure;
cmd.CommandText = "DBMS_METADATA.SET_TRANSFORM_PARAM";
cmd.BindByName = true;
cmd.Parameters.Add("transform_handle", OracleDbType.Int64).Value = -1;
cmd.Parameters.Add("name", OracleDbType.Varchar2).Value = "STORAGE";
cmd.Parameters.Add("value", "N");
cmd.Connection.Open();
cmd.ExecuteNonQuery();

I have tried the followings but getting an error.
"0", "F", "N", '0', 'F', 'N'

Error:
ORA-31600: invalid input value "0" for parameter STORAGE in function SET_TRANSFORM_PARAM
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
ORA-06512: at "SYS.DBMS_METADATA_INT", line 8680
ORA-06512: at "SYS.DBMS_METADATA_INT", line 10027
ORA-06512: at "SYS.DBMS_METADATA", line 7458
ORA-06512: at line 1

A: I have same problem.
I solved the problem with a workaround.
1) create a wrapped stored procedure, then you can use boolean or other parameter like pl-sql;
2) call the wrapped stored procedure in the same session ( same OracleConnection);
3) call SELECT DBMS_METADATA.GET_DDL in the same session;
...
OracleCommand command = null;
string storedprc = "CREATE OR REPLACE PROCEDURE MY_SCHEMA.SET_FK_FALSE AS BEGIN DBMS_METADATA.SET_TRANSFORM_PARAM(DBMS_METADATA.SESSION_TRANSFORM, 'REF_CONSTRAINTS',false); END;";
command = new OracleCommand(storedprc, this.Conn);
command.CommandType = CommandType.Text;
command.ExecuteNonQuery();
//
command = new OracleCommand();
command.Connection = this.Conn;
command.CommandType = CommandType.StoredProcedure;
command.CommandText = "MY_SCHEMA.SET_FK_FALSE";
command.ExecuteNonQuery();
//
string queryString = "SELECT DBMS_METADATA.GET_DDL( 'TABLE','MY_TABLE_NAME','MY_SCHEMA') FROM DUAL;";
command = new OracleCommand(queryString, this.Conn);
command.CommandType = CommandType.Text;
reader = command.ExecuteReader();
string ddlScript = null;
if (reader.Read())
{
    ddlScript = reader[0].ToString();
}
reader.Close();
...

Hope it can help someone, because i get all tips from internet.


text:
Q: How to retrieve Hibernate 4 session factory if connection data is set in JPA's persistence.xml? Is it possible to create or retrieve an Hibernate 4 session factory if the database connection is defined in JPA's persistence.xml rather than in hibernate.cfg.xml? If yes, how?

A: There are a lot of info of this, for example you can use this:
org.hibernate.Session session = (Session)entityManager.getDelegate();

Source:
source


text:
Q: Connect arrays of buttons in QT Designer so I have a mass of buttons on a QT Designer GUI application all named LED_i where i ranges from 0-191, ie: LED_0, LED_1, ..., LED_191. I would like basically the same thing to happen when clicked except changing the input i. So LED_0 when clicked would call the function OnClick(0), LED_75 would call OnClick(75) etc etc.
I am connecting my buttons with
ui.LED_0.clicked.connect(OnClick0)

usually using a separate function for each button. However this would require 191 functions, and 191 lines like the above connecting my buttons to their functions. I'm sure I could edit it s.t. I can use the same function by passing the button name that was clicked and getting the number from it but that would still require the 191 lines of button.clicked.connect. Is there any way to do this more efficiently?
TIA

A: It's not impossible with PyQt5. This is a good fit for a QButtonGroup. And there are a few ways to approach it.
QButtonGroup using Designer
To set up a QButtonGroup in Designer, do the following:

*

*select two or more buttons, radioboxes, or checkboxes

*right click on one of the buttons and you'll get a context menu item, Assign to button group --> New button group
After this, you'll see buttonGroup (the default name) show up in the Object Inspector.
To run code when one of your buttons is clicked, you can use the buttonClicked signal of QButtonGroup. It will give you a reference to the button that was clicked, and from the objectName, you can figure out what to do.
ui.buttonGroup.buttonClicked.connect(self.OnClicked)

then
def OnClicked(self, button):
     # button objectName follows pattern LED_<number>
     button_number = int(button.objectName()[4:])
     ... do stuff here with button_number

QButtonGroup in code
In the original post, there were 191 buttons in Designer. That is a lot of buttons to arrange. If for some reason, you wanted to do it in code instead, you could assign each button an id as it is added to the group and then you could use the idClicked signal:
grid = QGridLayout()
buttonGroup = QButtonGroup()
buttonGroup.idClicked.connect(OnClick)
buttonList = []
for row in range(14):
    rowList = []
    for col in range(14):
        button_number = 14*row + col
        button = QPushButton(f'{button_number}', objectName=f'LED_{button_number}')
        rowList.append(button)
        buttonGroup.addButton(button, button_number)
        grid.addWidget(button, row, col)

then
def OnClick(self, idClicked):
    ... do something with idClicked here


text:
Q: update script results in errors when I try converting it from **Access** to **Oracle** I am trying to convert some queries to work with Oracle instead of Access but have been unsuccessful.  Am I just getting the order wrong? or using an incorrect statement.
This is the script:
Error starting at line : 142 in command -
UPDATE CONTROL_RECORDS
SET EXTRACT_WORK_001.BAY_CASEFLOW_SKU_COUNT =
DECODE(-1,
SIGN(0 - COMBINED_LAYER_QTY), 0,
DECODE(-1,
SIGN(0 - BAY_ACTIVITY),
(DECODE(ADJUSTED_BAY_USPD*DAY_COUNT/BAY_ACTIVITY<=CASEFLOW_USPD_MAX,1,0)),
0),
EXTRACT_WORK_001.BULK_CASEFLOW_SKU_COUNT =
DECODE(-1,
SIGN(0 - COMBINED_LAYER_QTY), 0,
DECODE(-1,
SIGN(0 - BULK_ACTIVITY),
DECODE(ADJUSTED_BULK_USPD*DAY_COUNT/BULK_ACTIVITY<=CASEFLOW_USPD_MAX,1,0)),
0),
EXTRACT_WORK_001.COMBINED_CASEFLOW_SKU_COUNT =
DECODE(-1,
SIGN(0 - COMBINED_LAYER_QTY), 0,
DECODE(ADJUSTED_COMBINED_USPD<=CASEFLOW_USPD_MAX,1,0))
FROM CONTROL_RECORDS, EXTRACT_WORK_001
WHERE (CONTROL_RECORDS.LOC_ID = EXTRACT_WORK_001.LOC_ID)
AND   ((EXTRACT_WORK_001.COMBINED_LAYER_QTY)=0)
Error at Command Line : 148 Column : 81 Error report -
SQL Error: ORA-00907: missing right parenthesis
00907. 00000 -  "missing right parenthesis"

and this is the original Access query:
UPDATE CONTROL_RECORDS INNER JOIN EXTRACT_WORK_001
    ON CONTROL_RECORDS.LOC_ID = EXTRACT_WORK_001.LOC_ID
SET
    EXTRACT_WORK_001.BAY_CASEFLOW_SKU_COUNT = IIf(combined_layer_qty>0,0,IIf(bay_activity>0,IIf(adjusted_BAY_USPD*day_count/bay_activity<=caseflow_uspd_max,1,0),0)),
    EXTRACT_WORK_001.BULK_CASEFLOW_SKU_COUNT = IIf(combined_layer_qty>0,0,IIf(bulk_activity>0,IIf(adjusted_BULK_USPD*day_count/bulk_activity<=caseflow_uspd_max,1,0),0)),
    EXTRACT_WORK_001.COMBINED_CASEFLOW_SKU_COUNT = IIf(combined_layer_qty>0,0,IIf(adjusted_COMBINED_USPD<=caseflow_uspd_max,1,0))
WHERE (((EXTRACT_WORK_001.COMBINED_LAYER_QTY)=0));

Please help.  I have no preference of what method or anything... just as long as it works.

A: Using case is more akin to iif than decode. Many of your expressions can be simplified. Also, I don't think there's a straightforward syntax to update across a join in Oracle.
However, assuming that the tables have sensible primary and foreign keys defined, the following may work. If you get errors about key preserved tables, then you'll need to supply more information about your tables and relationships:
update (
    select
        w.bay_caseflow_sku_count,
        case when
            combined_layer_qty <= 0 and
            bay_activity > 0 and
            adjusted_bay_USPD * day_count <= bay_activity * caseflow_uspd_max
          then 1
          else 0
        end as new_bay,
        w.bulk_caseflow_sku_count,
        case when
            combined_layer_qty <= 0 and
            bulk_activity > 0 and
            adjusted_bulk_USPD * day_count <= bulk_activity * caseflow_uspd_max
          then 1
          else 0
        end as new_bulk,
        w.combined_caseflow_sku_count,
        case when
            combined_layer_qty <= 0 and
            adjusted_combined_USPD <= caseflow_uspd_max
          then 1
          else 0
        end as new_combined
    from
        extract_work_001 w
            inner join
        control_records c
            on c.loc_id = w.loc_id
    where
        w.combined_layer_qty = 0
) t
set
    bay_caseflow_sku_count = new_bay,
    bulk_caseflow_sku_count = new_bulk,
    combined_caseflow_sku_count = new_combined;

Example SQLFiddle


text:
Q: TFS administrator task logging Is there a way to track who (among the project administrators) has removed a user or added a user in a Team project.
So the scenario is like this:
i have a team project where there is 2 project admins, admin1 and admin2. Now i want to find out who among the admin1 and admin2 has added a new user userN to the contributor of the team project.

A: TFS doesn't provide such a traciking log by default. But you can check web-based administration interface http://your-server:8080/tfs/_oi/ for some things inside of TFS.
I just added a user, then I can see there is a ApiIdentity.AddIdentities command executed under my Identity.