Message Boards Message Boards

0
|
5243 Views
|
5 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Not able to calculate determinant

Posted 11 years ago
Hi,
I am trying to calculate the determinant of a 27*27 matrix which has 7 unvalued symbols. I was expecting from Mathematica to provide me a symbolic result so that I can solve that equation corresponding to some ranges of those unknown symbols/variables. But Mathematica has failed to return to me the symbolic solution for that. What is the limit for Mathematica to compute the determinant? If you want, I can share the values or entries of that matrix. most of them are zeroes. But neither all entries in a same row or column are zeros and matrix is not singular. Can someone help me? I can provide entries for the matrix. Please copy paste it and check it doesn't give any error but its not providing the results.

Thanks.
   ClearAll;
   Ke := Table[ke[i], {i, 1, 27}, {j, 1, 27}];
   Kg := Table[kg[i], {i, 1, 27}, {j, 1, 27}];
   K := Table[k[i], {i, 1, 27}, {j, 1, 27}];
   M := Table[m[i], {i, 1, 27}, {j, 1, 27}];
   final1 :=
     Table[l[i] == 0 , {i, 1,
       729}]; (*as metrices are 27*27 so final solution will be exactly \
   729*)
  Freq := Table[F[i], {i, 1, 18}];
  W := Table[w[i], {i, 1, 18}];
  
  m[1][1] = 1.1629464285714284;
  m[1][2] = 0;
  m[1][3] = 0;
  m[1][4] = 0;
  m[1][5] = 0;
  m[1][6] = 0;
  m[1][7] = 0;
  m[1][8] = 0;
  m[1][9] = 0;
  m[1][10] = 0;
  m[1][11] = 0;
  m[1][12] = 0;
  m[1][13] = 0;
  m[1][14] = 0;
  m[1][15] = 0;
  m[1][16] = 0;
  m[1][17] = 0;
  m[1][18] = 0;
  m[1][19] = 0;
  m[1][20] = 0;
  m[1][21] = 0;
  m[1][22] = 0;
  m[1][23] = 0;
  m[1][24] = 0;
  m[1][25] = 0;
  m[1][26] = 0;
  m[1][27] = 0;
  m[2][1] = 0;
  m[2][2] = 1.1629464285714284;
  m[2][3] = 0;
  m[2][4] = 0;
  m[2][5] = 0;
  m[2][6] = 0;
  m[2][7] = 0;
  m[2][8] = 0;
  m[2][9] = 0;
  m[2][10] = 0;
  m[2][11] = 0;
  m[2][12] = 0;
  m[2][13] = 0;
  m[2][14] = 0;
  m[2][15] = 0;
  m[2][16] = 0;
  m[2][17] = 0;
  m[2][18] = 0;
  m[2][19] = 0;
  m[2][20] = 0;
  m[2][21] = 0;
  m[2][22] = 0;
  m[2][23] = 0;
  m[2][24] = 0;
  m[2][25] = 0;
  m[2][26] = 0;
  m[2][27] = 0;
  m[3][1] = 0;
  m[3][2] = 0;
  m[3][3] = 2.2204460492503131*10^(-16);
  m[3][4] = 0;
  m[3][5] = 0;
  m[3][6] = 0;
  m[3][7] = 0;
  m[3][8] = 0;
  m[3][9] = 0;
  m[3][10] = 0;
  m[3][11] = 0;
  m[3][12] = 0;
  m[3][13] = 0;
  m[3][14] = 0;
  m[3][15] = 0;
  m[3][16] = 0;
  m[3][17] = 0;
  m[3][18] = 0;
  m[3][19] = 0;
  m[3][20] = 0;
  m[3][21] = 0;
  m[3][22] = 0;
  m[3][23] = 0;
  m[3][24] = 0;
  m[3][25] = 0;
  m[3][26] = 0;
  m[3][27] = 0;
  m[4][1] = 0;
  m[4][2] = 0;
  m[4][3] = 0;
  m[4][4] = 2.3258928571428568;
  m[4][5] = 0;
  m[4][6] = 0;
 m[4][7] = 0;
 m[4][8] = 0;
 m[4][9] = 0;
 m[4][10] = 0;
 m[4][11] = 0;
 m[4][12] = 0;
 m[4][13] = 0;
 m[4][14] = 0;
 m[4][15] = 0;
 m[4][16] = 0;
 m[4][17] = 0;
 m[4][18] = 0;
 m[4][19] = 0;
 m[4][20] = 0;
 m[4][21] = 0;
 m[4][22] = 0;
 m[4][23] = 0;
 m[4][24] = 0;
 m[4][25] = 0;
 m[4][26] = 0;
 m[4][27] = 0;
 m[5][1] = 0;
 m[5][2] = 0;
 m[5][3] = 0;
 m[5][4] = 0;
 m[5][5] = 2.3258928571428568;
 m[5][6] = 0;
 m[5][7] = 0;
 m[5][8] = 0;
 m[5][9] = 0;
 m[5][10] = 0;
 m[5][11] = 0;
 m[5][12] = 0;
 m[5][13] = 0;
 m[5][14] = 0;
 m[5][15] = 0;
 m[5][16] = 0;
 m[5][17] = 0;
 m[5][18] = 0;
 m[5][19] = 0;
 m[5][20] = 0;
 m[5][21] = 0;
 m[5][22] = 0;
 m[5][23] = 0;
 m[5][24] = 0;
 m[5][25] = 0;
 m[5][26] = 0;
 m[5][27] = 0;
 m[6][1] = 0;
 m[6][2] = 0;
 m[6][3] = 0;
 m[6][4] = 0;
 m[6][5] = 0;
 m[6][6] = 2.2204460492503131*10^(-16);
 m[6][7] = 0;
 m[6][8] = 0;
 m[6][9] = 0;
 m[6][10] = 0;
 m[6][11] = 0;
 m[6][12] = 0;
 m[6][13] = 0;
 m[6][14] = 0;
 m[6][15] = 0;
 m[6][16] = 0;
 m[6][17] = 0;
 m[6][18] = 0;
 m[6][19] = 0;
 m[6][20] = 0;
 m[6][21] = 0;
 m[6][22] = 0;
 m[6][23] = 0;
 m[6][24] = 0;
 m[6][25] = 0;
 m[6][26] = 0;
 m[6][27] = 0;
 m[7][1] = 0;
 m[7][2] = 0;
 m[7][3] = 0;
 m[7][4] = 0;
 m[7][5] = 0;
 m[7][6] = 0;
 m[7][7] = 2.3258928571428568;
 m[7][8] = 0;
 m[7][9] = 0;
 m[7][10] = 0;
 m[7][11] = 0;
 m[7][12] = 0;
 m[7][13] = 0;
 m[7][14] = 0;
 m[7][15] = 0;
 m[7][16] = 0;
 m[7][17] = 0;
 m[7][18] = 0;
 m[7][19] = 0;
 m[7][20] = 0;
 m[7][21] = 0;
 m[7][22] = 0;
 m[7][23] = 0;
 m[7][24] = 0;
 m[7][25] = 0;
 m[7][26] = 0;
 m[7][27] = 0;
 m[8][1] = 0;
 m[8][2] = 0;
 m[8][3] = 0;
 m[8][4] = 0;
 m[8][5] = 0;
 m[8][6] = 0;
 m[8][7] = 0;
 m[8][8] = 2.3258928571428568;
 m[8][9] = 0;
 m[8][10] = 0;
 m[8][11] = 0;
 m[8][12] = 0;
 m[8][13] = 0;
 m[8][14] = 0;
 m[8][15] = 0;
 m[8][16] = 0;
 m[8][17] = 0;
 m[8][18] = 0;
 m[8][19] = 0;
 m[8][20] = 0;
 m[8][21] = 0;
 m[8][22] = 0;
 m[8][23] = 0;
 m[8][24] = 0;
 m[8][25] = 0;
 m[8][26] = 0;
 m[8][27] = 0;
 m[9][1] = 0;
 m[9][2] = 0;
 m[9][3] = 0;
 m[9][4] = 0;
 m[9][5] = 0;
 m[9][6] = 0;
 m[9][7] = 0;
 m[9][8] = 0;
 m[9][9] = 2.2204460492503131*10^(-16);
 m[9][10] = 0;
 m[9][11] = 0;
 m[9][12] = 0;
 m[9][13] = 0;
 m[9][14] = 0;
 m[9][15] = 0;
 m[9][16] = 0;
 m[9][17] = 0;
 m[9][18] = 0;
 m[9][19] = 0;
 m[9][20] = 0;
 m[9][21] = 0;
 m[9][22] = 0;
 m[9][23] = 0;
 m[9][24] = 0;
 m[9][25] = 0;
 m[9][26] = 0;
 m[9][27] = 0;
 m[10][1] = 0;
 m[10][2] = 0;
 m[10][3] = 0;
 m[10][4] = 0;
 m[10][5] = 0;
 m[10][6] = 0;
 m[10][7] = 0;
 m[10][8] = 0;
 m[10][9] = 0;
 m[10][10] = 2.3258928571428568;
 m[10][11] = 0;
 m[10][12] = 0;
 m[10][13] = 0;
 m[10][14] = 0;
 m[10][15] = 0;
 m[10][16] = 0;
 m[10][17] = 0;
 m[10][18] = 0;
 m[10][19] = 0;
 m[10][20] = 0;
 m[10][21] = 0;
 m[10][22] = 0;
 m[10][23] = 0;
 m[10][24] = 0;
 m[10][25] = 0;
 m[10][26] = 0;
 m[10][27] = 0;
 m[11][1] = 0;
 m[11][2] = 0;
 m[11][3] = 0;
 m[11][4] = 0;
 m[11][5] = 0;
 m[11][6] = 0;
 m[11][7] = 0;
 m[11][8] = 0;
 m[11][9] = 0;
 m[11][10] = 0;
 m[11][11] = 2.3258928571428568;
 m[11][12] = 0;
 m[11][13] = 0;
 m[11][14] = 0;
 m[11][15] = 0;
 m[11][16] = 0;
 m[11][17] = 0;
 m[11][18] = 0;
 m[11][19] = 0;
 m[11][20] = 0;
 m[11][21] = 0;
 m[11][22] = 0;
 m[11][23] = 0;
 m[11][24] = 0;
 m[11][25] = 0;
 m[11][26] = 0;
 m[11][27] = 0;
 m[12][1] = 0;
 m[12][2] = 0;
 m[12][3] = 0;
 m[12][4] = 0;
 m[12][5] = 0;
 m[12][6] = 0;
 m[12][7] = 0;
 m[12][8] = 0;
 m[12][9] = 0;
 m[12][10] = 0;
 m[12][11] = 0;
 m[12][12] = 2.2204460492503131*10^(-16);
 m[12][13] = 0;
 m[12][14] = 0;
 m[12][15] = 0;
 m[12][16] = 0;
 m[12][17] = 0;
 m[12][18] = 0;
 m[12][19] = 0;
 m[12][20] = 0;
 m[12][21] = 0;
 m[12][22] = 0;
 m[12][23] = 0;
 m[12][24] = 0;
 m[12][25] = 0;
 m[12][26] = 0;
 m[12][27] = 0;
 m[13][1] = 0;
 m[13][2] = 0;
 m[13][3] = 0;
 m[13][4] = 0;
 m[13][5] = 0;
 m[13][6] = 0;
 m[13][7] = 0;
 m[13][8] = 0;
 m[13][9] = 0;
 m[13][10] = 0;
 m[13][11] = 0;
 m[13][12] = 0;
 m[13][13] = 2.3258928571428568;
 m[13][14] = 0;
 m[13][15] = 0;
 m[13][16] = 0;
 m[13][17] = 0;
 m[13][18] = 0;
 m[13][19] = 0;
 m[13][20] = 0;
 m[13][21] = 0;
 m[13][22] = 0;
 m[13][23] = 0;
 m[13][24] = 0;
 m[13][25] = 0;
 m[13][26] = 0;
 m[13][27] = 0;
 m[14][1] = 0;
 m[14][2] = 0;
 m[14][3] = 0;
 m[14][4] = 0;
 m[14][5] = 0;
 m[14][6] = 0;
 m[14][7] = 0;
 m[14][8] = 0;
 m[14][9] = 0;
 m[14][10] = 0;
 m[14][11] = 0;
 m[14][12] = 0;
 m[14][13] = 0;
 m[14][14] = 2.3258928571428568;
 m[14][15] = 0;
 m[14][16] = 0;
 m[14][17] = 0;
 m[14][18] = 0;
 m[14][19] = 0;
 m[14][20] = 0;
 m[14][21] = 0;
 m[14][22] = 0;
 m[14][23] = 0;
 m[14][24] = 0;
 m[14][25] = 0;
 m[14][26] = 0;
 m[14][27] = 0;
 m[15][1] = 0;
 m[15][2] = 0;
 m[15][3] = 0;
 m[15][4] = 0;
 m[15][5] = 0;
 m[15][6] = 0;
 m[15][7] = 0;
 m[15][8] = 0;
 m[15][9] = 0;
 m[15][10] = 0;
 m[15][11] = 0;
 m[15][12] = 0;
 m[15][13] = 0;
 m[15][14] = 0;
 m[15][15] = 2.2204460492503131*10^(-16);
 m[15][16] = 0;
 m[15][17] = 0;
 m[15][18] = 0;
 m[15][19] = 0;
 m[15][20] = 0;
 m[15][21] = 0;
 m[15][22] = 0;
 m[15][23] = 0;
 m[15][24] = 0;
 m[15][25] = 0;
 m[15][26] = 0;
 m[15][27] = 0;
 m[16][1] = 0;
 m[16][2] = 0;
 m[16][3] = 0;
 m[16][4] = 0;
 m[16][5] = 0;
 m[16][6] = 0;
 m[16][7] = 0;
 m[16][8] = 0;
 m[16][9] = 0;
 m[16][10] = 0;
 m[16][11] = 0;
 m[16][12] = 0;
 m[16][13] = 0;
 m[16][14] = 0;
 m[16][15] = 0;
 m[16][16] = 2.3258928571428568;
 m[16][17] = 0;
 m[16][18] = 0;
 m[16][19] = 0;
 m[16][20] = 0;
 m[16][21] = 0;
 m[16][22] = 0;
 m[16][23] = 0;
 m[16][24] = 0;
 m[16][25] = 0;
 m[16][26] = 0;
 m[16][27] = 0;
 m[17][1] = 0;
 m[17][2] = 0;
 m[17][3] = 0;
 m[17][4] = 0;
 m[17][5] = 0;
 m[17][6] = 0;
 m[17][7] = 0;
 m[17][8] = 0;
 m[17][9] = 0;
 m[17][10] = 0;
 m[17][11] = 0;
 m[17][12] = 0;
 m[17][13] = 0;
 m[17][14] = 0;
 m[17][15] = 0;
 m[17][16] = 0;
 m[17][17] = 2.3258928571428568;
 m[17][18] = 0;
 m[17][19] = 0;
 m[17][20] = 0;
 m[17][21] = 0;
 m[17][22] = 0;
 m[17][23] = 0;
 m[17][24] = 0;
 m[17][25] = 0;
 m[17][26] = 0;
 m[17][27] = 0;
 m[18][1] = 0;
 m[18][2] = 0;
 m[18][3] = 0;
 m[18][4] = 0;
 m[18][5] = 0;
 m[18][6] = 0;
 m[18][7] = 0;
 m[18][8] = 0;
 m[18][9] = 0;
 m[18][10] = 0;
 m[18][11] = 0;
 m[18][12] = 0;
 m[18][13] = 0;
 m[18][14] = 0;
 m[18][15] = 0;
 m[18][16] = 0;
 m[18][17] = 0;
 m[18][18] = 2.2204460492503131*10^(-16);
 m[18][19] = 0;
 m[18][20] = 0;
 m[18][21] = 0;
 m[18][22] = 0;
 m[18][23] = 0;
 m[18][24] = 0;
 m[18][25] = 0;
 m[18][26] = 0;
 m[18][27] = 0;
 m[19][1] = 0;
 m[19][2] = 0;
 m[19][3] = 0;
 m[19][4] = 0;
 m[19][5] = 0;
 m[19][6] = 0;
 m[19][7] = 0;
 m[19][8] = 0;
 m[19][9] = 0;
 m[19][10] = 0;
 m[19][11] = 0;
 m[19][12] = 0;
 m[19][13] = 0;
 m[19][14] = 0;
 m[19][15] = 0;
 m[19][16] = 0;
 m[19][17] = 0;
 m[19][18] = 0;
 m[19][19] = 2.3258928571428568;
 m[19][20] = 0;
 m[19][21] = 0;
 m[19][22] = 0;
 m[19][23] = 0;
 m[19][24] = 0;
 m[19][25] = 0;
 m[19][26] = 0;
 m[19][27] = 0;
 m[20][1] = 0;
 m[20][2] = 0;
 m[20][3] = 0;
 m[20][4] = 0;
 m[20][5] = 0;
 m[20][6] = 0;
 m[20][7] = 0;
 m[20][8] = 0;
 m[20][9] = 0;
 m[20][10] = 0;
 m[20][11] = 0;
 m[20][12] = 0;
 m[20][13] = 0;
 m[20][14] = 0;
 m[20][15] = 0;
 m[20][16] = 0;
 m[20][17] = 0;
 m[20][18] = 0;
 m[20][19] = 0;
 m[20][20] = 2.3258928571428568;
 m[20][21] = 0;
 m[20][22] = 0;
 m[20][23] = 0;
 m[20][24] = 0;
 m[20][25] = 0;
 m[20][26] = 0;
 m[20][27] = 0;
 m[21][1] = 0;
 m[21][2] = 0;
 m[21][3] = 0;
 m[21][4] = 0;
 m[21][5] = 0;
 m[21][6] = 0;
 m[21][7] = 0;
 m[21][8] = 0;
 m[21][9] = 0;
 m[21][10] = 0;
 m[21][11] = 0;
 m[21][12] = 0;
 m[21][13] = 0;
 m[21][14] = 0;
 m[21][15] = 0;
 m[21][16] = 0;
 m[21][17] = 0;
 m[21][18] = 0;
 m[21][19] = 0;
 m[21][20] = 0;
 m[21][21] = 2.2204460492503131*10^(-16);
 m[21][22] = 0;
 m[21][23] = 0;
 m[21][24] = 0;
 m[21][25] = 0;
 m[21][26] = 0;
 m[21][27] = 0;
 m[22][1] = 0;
 m[22][2] = 0;
 m[22][3] = 0;
 m[22][4] = 0;
 m[22][5] = 0;
 m[22][6] = 0;
 m[22][7] = 0;
 m[22][8] = 0;
 m[22][9] = 0;
 m[22][10] = 0;
 m[22][11] = 0;
 m[22][12] = 0;
 m[22][13] = 0;
 m[22][14] = 0;
 m[22][15] = 0;
 m[22][16] = 0;
 m[22][17] = 0;
 m[22][18] = 0;
 m[22][19] = 0;
 m[22][20] = 0;
 m[22][21] = 0;
 m[22][22] = 2.3258928571428568;
 m[22][23] = 0;
 m[22][24] = 0;
 m[22][25] = 0;
 m[22][26] = 0;
 m[22][27] = 0;
 m[23][1] = 0;
 m[23][2] = 0;
 m[23][3] = 0;
 m[23][4] = 0;
 m[23][5] = 0;
 m[23][6] = 0;
 m[23][7] = 0;
 m[23][8] = 0;
 m[23][9] = 0;
 m[23][10] = 0;
 m[23][11] = 0;
 m[23][12] = 0;
 m[23][13] = 0;
 m[23][14] = 0;
 m[23][15] = 0;
 m[23][16] = 0;
 m[23][17] = 0;
 m[23][18] = 0;
 m[23][19] = 0;
 m[23][20] = 0;
 m[23][21] = 0;
 m[23][22] = 0;
 m[23][23] = 2.3258928571428568;
 m[23][24] = 0;
 m[23][25] = 0;
 m[23][26] = 0;
 m[23][27] = 0;
 m[24][1] = 0;
 m[24][2] = 0;
 m[24][3] = 0;
 m[24][4] = 0;
 m[24][5] = 0;
 m[24][6] = 0;
 m[24][7] = 0;
 m[24][8] = 0;
 m[24][9] = 0;
 m[24][10] = 0;
 m[24][11] = 0;
 m[24][12] = 0;
 m[24][13] = 0;
 m[24][14] = 0;
 m[24][15] = 0;
 m[24][16] = 0;
 m[24][17] = 0;
 m[24][18] = 0;
 m[24][19] = 0;
 m[24][20] = 0;
 m[24][21] = 0;
 m[24][22] = 0;
 m[24][23] = 0;
 m[24][24] = 2.2204460492503131*10^(-16);
 m[24][25] = 0;
 m[24][26] = 0;
 m[24][27] = 0;
 m[25][1] = 0;
 m[25][2] = 0;
 m[25][3] = 0;
 m[25][4] = 0;
 m[25][5] = 0;
 m[25][6] = 0;
 m[25][7] = 0;
 m[25][8] = 0;
 m[25][9] = 0;
 m[25][10] = 0;
 m[25][11] = 0;
 m[25][12] = 0;
 m[25][13] = 0;
 m[25][14] = 0;
 m[25][15] = 0;
 m[25][16] = 0;
 m[25][17] = 0;
 m[25][18] = 0;
 m[25][19] = 0;
 m[25][20] = 0;
 m[25][21] = 0;
 m[25][22] = 0;
 m[25][23] = 0;
 m[25][24] = 0;
 m[25][25] = 1.1629464285714284;
 m[25][26] = 0;
 m[25][27] = 0;
 m[26][1] = 0;
 m[26][2] = 0;
 m[26][3] = 0;
 m[26][4] = 0;
 m[26][5] = 0;
 m[26][6] = 0;
 m[26][7] = 0;
 m[26][8] = 0;
 m[26][9] = 0;
 m[26][10] = 0;
 m[26][11] = 0;
 m[26][12] = 0;
 m[26][13] = 0;
 m[26][14] = 0;
 m[26][15] = 0;
 m[26][16] = 0;
 m[26][17] = 0;
 m[26][18] = 0;
 m[26][19] = 0;
 m[26][20] = 0;
 m[26][21] = 0;
 m[26][22] = 0;
 m[26][23] = 0;
 m[26][24] = 0;
 m[26][25] = 0;
 m[26][26] = 1.1629464285714284;
 m[26][27] = 0;
 m[27][1] = 0;
 m[27][2] = 0;
 m[27][3] = 0;
 m[27][4] = 0;
 m[27][5] = 0;
 m[27][6] = 0;
 m[27][7] = 0;
 m[27][8] = 0;
 m[27][9] = 0;
 m[27][10] = 0;
 m[27][11] = 0;
 m[27][12] = 0;
 m[27][13] = 0;
 m[27][14] = 0;
 m[27][15] = 0;
 m[27][16] = 0;
 m[27][17] = 0;
 m[27][18] = 0;
 m[27][19] = 0;
 m[27][20] = 0;
 m[27][21] = 0;
 m[27][22] = 0;
 m[27][23] = 0;
 m[27][24] = 0;
 m[27][25] = 0;
 m[27][26] = 0;
 m[27][27] = 2.2204460492503131*10^(-16);
 
 ke[1][1] = a;
 ke[1][2] = 0;
 ke[1][3] = 0;
 ke[1][4] = -1754472.1689059502;
 ke[1][5] = 0;
 ke[1][6] = 0;
 ke[1][7] = 0;
 ke[1][8] = 0;
 ke[1][9] = 0;
 ke[1][10] = 0;
 ke[1][11] = 0;
 ke[1][12] = 0;
 ke[1][13] = 0;
 ke[1][14] = 0;
 ke[1][15] = 0;
 ke[1][16] = 0;
 ke[1][17] = 0;
 ke[1][18] = 0;
 ke[1][19] = 0;
 ke[1][20] = 0;
 ke[1][21] = 0;
 ke[1][22] = 0;
 ke[1][23] = 0;
 ke[1][24] = 0;
 ke[1][25] = 0;
 ke[1][26] = 0;
 ke[1][27] = 0;
 ke[2][1] = 0;
 ke[2][2] = b;
 ke[2][3] = 86831.960212348175;
 ke[2][4] = 0;
 ke[2][5] = -31999.493974608162;
 ke[2][6] = 86831.960212348175;
 ke[2][7] = 0;
 ke[2][8] = 0;
 ke[2][9] = 0;
 ke[2][10] = 0;
 ke[2][11] = 0;
 ke[2][12] = 0;
 ke[2][13] = 0;
 ke[2][14] = 0;
 ke[2][15] = 0;
 ke[2][16] = 0;
 ke[2][17] = 0;
 ke[2][18] = 0;
 ke[2][19] = 0;
 ke[2][20] = 0;
 ke[2][21] = 0;
 ke[2][22] = 0;
 ke[2][23] = 0;
 ke[2][24] = 0;
 ke[2][25] = 0;
 ke[2][26] = 0;
 ke[2][27] = 0;
 ke[3][1] = 0;
 ke[3][2] = 86831.960212348175;
 ke[3][3] = c;
 ke[3][4] = 0;
 ke[3][5] = -86831.960212348175;
 ke[3][6] = 157081.42802303264;
 ke[3][7] = 0;
 ke[3][8] = 0;
 ke[3][9] = 0;
 ke[3][10] = 0;
 ke[3][11] = 0;
 ke[3][12] = 0;
 ke[3][13] = 0;
 ke[3][14] = 0;
 ke[3][15] = 0;
 ke[3][16] = 0;
 ke[3][17] = 0;
 ke[3][18] = 0;
 ke[3][19] = 0;
 ke[3][20] = 0;
 ke[3][21] = 0;
 ke[3][22] = 0;
 ke[3][23] = 0;
 ke[3][24] = 0;
 ke[3][25] = 0;
 ke[3][26] = 0;
 ke[3][27] = 0;
 ke[4][1] = -1754472.1689059502;
 ke[4][2] = 0;
 ke[4][3] = 0;
 ke[4][4] = 3508944.3378119003;
 ke[4][5] = 0;
 ke[4][6] = 0;
 ke[4][7] = -1754472.1689059502;
 ke[4][8] = 0;
 ke[4][9] = 0;
 ke[4][10] = 0;
 ke[4][11] = 0;
 ke[4][12] = 0;
 ke[4][13] = 0;
 ke[4][14] = 0;
 ke[4][15] = 0;
 ke[4][16] = 0;
 ke[4][17] = 0;
 ke[4][18] = 0;
 ke[4][19] = 0;
 ke[4][20] = 0;
 ke[4][21] = 0;
 ke[4][22] = 0;
 ke[4][23] = 0;
 ke[4][24] = 0;
 ke[4][25] = 0;
 ke[4][26] = 0;
 ke[4][27] = 0;
 ke[5][1] = 0;
 ke[5][2] = -31999.493974608162;
 ke[5][3] = -86831.960212348175;
 ke[5][4] = 0;
 ke[5][5] = 63998.987949216324;
 ke[5][6] = 0;
 ke[5][7] = 0;
 ke[5][8] = -31999.493974608162;
 ke[5][9] = 86831.960212348175;
 ke[5][10] = 0;
 ke[5][11] = 0;
 ke[5][12] = 0;
 ke[5][13] = 0;
 ke[5][14] = 0;
 ke[5][15] = 0;
 ke[5][16] = 0;
 ke[5][17] = 0;
 ke[5][18] = 0;
 ke[5][19] = 0;
 ke[5][20] = 0;
 ke[5][21] = 0;
 ke[5][22] = 0;
 ke[5][23] = 0;
 ke[5][24] = 0;
 ke[5][25] = 0;
 ke[5][26] = 0;
 ke[5][27] = 0;
 ke[6][1] = 0;
 ke[6][2] = 86831.960212348175;
 ke[6][3] = 157081.42802303264;
 ke[6][4] = 0;
 ke[6][5] = 0;
 ke[6][6] = 628325.71209213056;
 ke[6][7] = 0;
 ke[6][8] = -86831.960212348175;
 ke[6][9] = 157081.42802303264;
 ke[6][10] = 0;
 ke[6][11] = 0;
 ke[6][12] = 0;
 ke[6][13] = 0;
 ke[6][14] = 0;
 ke[6][15] = 0;
 ke[6][16] = 0;
 ke[6][17] = 0;
 ke[6][18] = 0;
 ke[6][19] = 0;
 ke[6][20] = 0;
 ke[6][21] = 0;
 ke[6][22] = 0;
 ke[6][23] = 0;
 ke[6][24] = 0;
 ke[6][25] = 0;
 ke[6][26] = 0;
 ke[6][27] = 0;
 ke[7][1] = 0;
 ke[7][2] = 0;
 ke[7][3] = 0;
 ke[7][4] = -1754472.1689059502;
 ke[7][5] = 0;
 ke[7][6] = 0;
 ke[7][7] = 3508944.3378119003;
 ke[7][8] = 0;
 ke[7][9] = 0;
 ke[7][10] = -1754472.1689059502;
 ke[7][11] = 0;
 ke[7][12] = 0;
 ke[7][13] = 0;
 ke[7][14] = 0;
 ke[7][15] = 0;
 ke[7][16] = 0;
 ke[7][17] = 0;
 ke[7][18] = 0;
 ke[7][19] = 0;
 ke[7][20] = 0;
 ke[7][21] = 0;
 ke[7][22] = 0;
 ke[7][23] = 0;
 ke[7][24] = 0;
 ke[7][25] = 0;
 ke[7][26] = 0;
 ke[7][27] = 0;
 ke[8][1] = 0;
 ke[8][2] = 0;
 ke[8][3] = 0;
 ke[8][4] = 0;
 ke[8][5] = -31999.493974608162;
 ke[8][6] = -86831.960212348175;
 ke[8][7] = 0;
 ke[8][8] = 63998.987949216324;
 ke[8][9] = 0;
 ke[8][10] = 0;
 ke[8][11] = -31999.493974608162;
 ke[8][12] = 86831.960212348175;
 ke[8][13] = 0;
 ke[8][14] = 0;
 ke[8][15] = 0;
 ke[8][16] = 0;
 ke[8][17] = 0;
 ke[8][18] = 0;
 ke[8][19] = 0;
 ke[8][20] = 0;
 ke[8][21] = 0;
 ke[8][22] = 0;
 ke[8][23] = 0;
 ke[8][24] = 0;
 ke[8][25] = 0;
 ke[8][26] = 0;
 ke[8][27] = 0;
 ke[9][1] = 0;
 ke[9][2] = 0;
 ke[9][3] = 0;
 ke[9][4] = 0;
 ke[9][5] = 86831.960212348175;
 ke[9][6] = 157081.42802303264;
 ke[9][7] = 0;
 ke[9][8] = 0;
 ke[9][9] = 628325.71209213056;
 ke[9][10] = 0;
 ke[9][11] = -86831.960212348175;
 ke[9][12] = 157081.42802303264;
 ke[9][13] = 0;
 ke[9][14] = 0;
 ke[9][15] = 0;
 ke[9][16] = 0;
 ke[9][17] = 0;
 ke[9][18] = 0;
 ke[9][19] = 0;
 ke[9][20] = 0;
 ke[9][21] = 0;
 ke[9][22] = 0;
 ke[9][23] = 0;
 ke[9][24] = 0;
 ke[9][25] = 0;
 ke[9][26] = 0;
 ke[9][27] = 0;
 ke[10][1] = 0;
 ke[10][2] = 0;
 ke[10][3] = 0;
 ke[10][4] = 0;
 ke[10][5] = 0;
 ke[10][6] = 0;
 ke[10][7] = -1754472.1689059502;
 ke[10][8] = 0;
 ke[10][9] = 0;
 ke[10][10] = 3508944.3378119003;
 ke[10][11] = 0;
 ke[10][12] = 0;
 ke[10][13] = -1754472.1689059502;
 ke[10][14] = 0;
ke[10][15] = 0;
ke[10][16] = 0;
ke[10][17] = 0;
ke[10][18] = 0;
ke[10][19] = 0;
ke[10][20] = 0;
ke[10][21] = 0;
ke[10][22] = 0;
ke[10][23] = 0;
ke[10][24] = 0;
ke[10][25] = 0;
ke[10][26] = 0;
ke[10][27] = 0;
ke[11][1] = 0;
ke[11][2] = 0;
ke[11][3] = 0;
ke[11][4] = 0;
ke[11][5] = 0;
ke[11][6] = 0;
ke[11][7] = 0;
ke[11][8] = -31999.493974608162;
ke[11][9] = -86831.960212348175;
ke[11][10] = 0;
ke[11][11] = 63998.987949216324;
ke[11][12] = 0;
ke[11][13] = 0;
ke[11][14] = -31999.493974608162;
ke[11][15] = 86831.960212348175;
ke[11][16] = 0;
ke[11][17] = 0;
ke[11][18] = 0;
ke[11][19] = 0;
ke[11][20] = 0;
ke[11][21] = 0;
ke[11][22] = 0;
ke[11][23] = 0;
ke[11][24] = 0;
ke[11][25] = 0;
ke[11][26] = 0;
ke[11][27] = 0;
ke[12][1] = 0;
ke[12][2] = 0;
ke[12][3] = 0;
ke[12][4] = 0;
ke[12][5] = 0;
ke[12][6] = 0;
ke[12][7] = 0;
ke[12][8] = 86831.960212348175;
ke[12][9] = 157081.42802303264;
ke[12][10] = 0;
ke[12][11] = 0;
ke[12][12] = 628325.71209213056;
ke[12][13] = 0;
ke[12][14] = -86831.960212348175;
ke[12][15] = 157081.42802303264;
ke[12][16] = 0;
ke[12][17] = 0;
ke[12][18] = 0;
ke[12][19] = 0;
ke[12][20] = 0;
ke[12][21] = 0;
ke[12][22] = 0;
ke[12][23] = 0;
ke[12][24] = 0;
ke[12][25] = 0;
ke[12][26] = 0;
ke[12][27] = 0;
ke[13][1] = 0;
ke[13][2] = 0;
ke[13][3] = 0;
ke[13][4] = 0;
ke[13][5] = 0;
ke[13][6] = 0;
ke[13][7] = 0;
ke[13][8] = 0;
ke[13][9] = 0;
ke[13][10] = -1754472.1689059502;
ke[13][11] = 0;
ke[13][12] = 0;
ke[13][13] = 3508944.3378119003;
ke[13][14] = 0;
ke[13][15] = 0;
ke[13][16] = -1754472.1689059502;
ke[13][17] = 0;
ke[13][18] = 0;
ke[13][19] = 0;
ke[13][20] = 0;
ke[13][21] = 0;
ke[13][22] = 0;
ke[13][23] = 0;
ke[13][24] = 0;
ke[13][25] = 0;
ke[13][26] = 0;
ke[13][27] = 0;
ke[14][1] = 0;
ke[14][2] = 0;
ke[14][3] = 0;
ke[14][4] = 0;
ke[14][5] = 0;
ke[14][6] = 0;
ke[14][7] = 0;
ke[14][8] = 0;
ke[14][9] = 0;
ke[14][10] = 0;
ke[14][11] = -31999.493974608162;
ke[14][12] = -86831.960212348175;
ke[14][13] = 0;
ke[14][14] = 63998.987949216324;
ke[14][15] = 0;
ke[14][16] = 0;
ke[14][17] = -31999.493974608162;
ke[14][18] = 86831.960212348175;
ke[14][19] = 0;
ke[14][20] = 0;
ke[14][21] = 0;
ke[14][22] = 0;
ke[14][23] = 0;
ke[14][24] = 0;
ke[14][25] = 0;
ke[14][26] = 0;
ke[14][27] = 0;
ke[15][1] = 0;
ke[15][2] = 0;
ke[15][3] = 0;
ke[15][4] = 0;
ke[15][5] = 0;
ke[15][6] = 0;
ke[15][7] = 0;
ke[15][8] = 0;
ke[15][9] = 0;
ke[15][10] = 0;
ke[15][11] = 86831.960212348175;
ke[15][12] = 157081.42802303264;
ke[15][13] = 0;
ke[15][14] = 0;
ke[15][15] = 628325.71209213056;
ke[15][16] = 0;
ke[15][17] = -86831.960212348175;
ke[15][18] = 157081.42802303264;
ke[15][19] = 0;
ke[15][20] = 0;
ke[15][21] = 0;
ke[15][22] = 0;
ke[15][23] = 0;
ke[15][24] = 0;
ke[15][25] = 0;
ke[15][26] = 0;
ke[15][27] = 0;
ke[16][1] = 0;
ke[16][2] = 0;
ke[16][3] = 0;
ke[16][4] = 0;
ke[16][5] = 0;
ke[16][6] = 0;
ke[16][7] = 0;
ke[16][8] = 0;
ke[16][9] = 0;
ke[16][10] = 0;
ke[16][11] = 0;
ke[16][12] = 0;
ke[16][13] = -1754472.1689059502;
ke[16][14] = 0;
ke[16][15] = 0;
ke[16][16] = 3508944.3378119003;
ke[16][17] = 0;
ke[16][18] = 0;
ke[16][19] = -1754472.1689059502;
ke[16][20] = 0;
ke[16][21] = 0;
ke[16][22] = 0;
ke[16][23] = 0;
ke[16][24] = 0;
ke[16][25] = 0;
ke[16][26] = 0;
ke[16][27] = 0;
ke[17][1] = 0;
ke[17][2] = 0;
ke[17][3] = 0;
ke[17][4] = 0;
ke[17][5] = 0;
ke[17][6] = 0;
ke[17][7] = 0;
ke[17][8] = 0;
ke[17][9] = 0;
ke[17][10] = 0;
ke[17][11] = 0;
ke[17][12] = 0;
ke[17][13] = 0;
ke[17][14] = -31999.493974608162;
ke[17][15] = -86831.960212348175;
ke[17][16] = 0;
ke[17][17] = 63998.987949216324;
ke[17][18] = 0;
ke[17][19] = 0;
ke[17][20] = -31999.493974608162;
ke[17][21] = 86831.960212348175;
ke[17][22] = 0;
ke[17][23] = 0;
ke[17][24] = 0;
ke[17][25] = 0;
ke[17][26] = 0;
ke[17][27] = 0;
ke[18][1] = 0;
ke[18][2] = 0;
ke[18][3] = 0;
ke[18][4] = 0;
ke[18][5] = 0;
ke[18][6] = 0;
ke[18][7] = 0;
ke[18][8] = 0;
ke[18][9] = 0;
ke[18][10] = 0;
ke[18][11] = 0;
ke[18][12] = 0;
ke[18][13] = 0;
ke[18][14] = 86831.960212348175;
ke[18][15] = 157081.42802303264;
ke[18][16] = 0;
ke[18][17] = 0;
ke[18][18] = 628325.71209213056;
ke[18][19] = 0;
ke[18][20] = -86831.960212348175;
ke[18][21] = 157081.42802303264;
ke[18][22] = 0;
ke[18][23] = 0;
ke[18][24] = 0;
ke[18][25] = 0;
ke[18][26] = 0;
ke[18][27] = 0;
ke[19][1] = 0;
ke[19][2] = 0;
ke[19][3] = 0;
ke[19][4] = 0;
ke[19][5] = 0;
ke[19][6] = 0;
ke[19][7] = 0;
ke[19][8] = 0;
ke[19][9] = 0;
ke[19][10] = 0;
ke[19][11] = 0;
ke[19][12] = 0;
ke[19][13] = 0;
ke[19][14] = 0;
ke[19][15] = 0;
ke[19][16] = -1754472.1689059502;
ke[19][17] = 0;
ke[19][18] = 0;
ke[19][19] = 3508944.3378119003;
ke[19][20] = 0;
ke[19][21] = 0;
ke[19][22] = -1754472.1689059502;
ke[19][23] = 0;
ke[19][24] = 0;
ke[19][25] = 0;
ke[19][26] = 0;
ke[19][27] = 0;
ke[20][1] = 0;
ke[20][2] = 0;
ke[20][3] = 0;
ke[20][4] = 0;
ke[20][5] = 0;
ke[20][6] = 0;
ke[20][7] = 0;
ke[20][8] = 0;
ke[20][9] = 0;
ke[20][10] = 0;
ke[20][11] = 0;
ke[20][12] = 0;
ke[20][13] = 0;
ke[20][14] = 0;
ke[20][15] = 0;
ke[20][16] = 0;
ke[20][17] = -31999.493974608162;
ke[20][18] = -86831.960212348175;
ke[20][19] = 0;
ke[20][20] = 63998.987949216324;
ke[20][21] = 0;
ke[20][22] = 0;
ke[20][23] = -31999.493974608162;
ke[20][24] = 86831.960212348175;
ke[20][25] = 0;
ke[20][26] = 0;
ke[20][27] = 0;
ke[21][1] = 0;
ke[21][2] = 0;
ke[21][3] = 0;
ke[21][4] = 0;
ke[21][5] = 0;
ke[21][6] = 0;
ke[21][7] = 0;
ke[21][8] = 0;
ke[21][9] = 0;
ke[21][10] = 0;
ke[21][11] = 0;
ke[21][12] = 0;
ke[21][13] = 0;
ke[21][14] = 0;
ke[21][15] = 0;
ke[21][16] = 0;
ke[21][17] = 86831.960212348175;
ke[21][18] = 157081.42802303264;
ke[21][19] = 0;
ke[21][20] = 0;
ke[21][21] = 628325.71209213056;
ke[21][22] = 0;
ke[21][23] = -86831.960212348175;
ke[21][24] = 157081.42802303264;
ke[21][25] = 0;
ke[21][26] = 0;
ke[21][27] = 0;
ke[22][1] = 0;
ke[22][2] = 0;
ke[22][3] = 0;
ke[22][4] = 0;
ke[22][5] = 0;
ke[22][6] = 0;
ke[22][7] = 0;
ke[22][8] = 0;
ke[22][9] = 0;
ke[22][10] = 0;
ke[22][11] = 0;
ke[22][12] = 0;
ke[22][13] = 0;
ke[22][14] = 0;
ke[22][15] = 0;
ke[22][16] = 0;
ke[22][17] = 0;
ke[22][18] = 0;
ke[22][19] = -1754472.1689059502;
ke[22][20] = 0;
ke[22][21] = 0;
ke[22][22] = 3508944.3378119003;
ke[22][23] = 0;
ke[22][24] = 0;
ke[22][25] = -1754472.1689059502;
ke[22][26] = 0;
ke[22][27] = 0;
ke[23][1] = 0;
ke[23][2] = 0;
ke[23][3] = 0;
ke[23][4] = 0;
ke[23][5] = 0;
ke[23][6] = 0;
ke[23][7] = 0;
ke[23][8] = 0;
ke[23][9] = 0;
ke[23][10] = 0;
ke[23][11] = 0;
ke[23][12] = 0;
ke[23][13] = 0;
ke[23][14] = 0;
ke[23][15] = 0;
ke[23][16] = 0;
ke[23][17] = 0;
ke[23][18] = 0;
ke[23][19] = 0;
ke[23][20] = -31999.493974608162;
ke[23][21] = -86831.960212348175;
ke[23][22] = 0;
ke[23][23] = 63998.987949216324;
ke[23][24] = 0;
ke[23][25] = 0;
ke[23][26] = -31999.493974608162;
ke[23][27] = 86831.960212348175;
ke[24][1] = 0;
ke[24][2] = 0;
ke[24][3] = 0;
ke[24][4] = 0;
ke[24][5] = 0;
ke[24][6] = 0;
ke[24][7] = 0;
ke[24][8] = 0;
ke[24][9] = 0;
ke[24][10] = 0;
ke[24][11] = 0;
ke[24][12] = 0;
ke[24][13] = 0;
ke[24][14] = 0;
ke[24][15] = 0;
ke[24][16] = 0;
ke[24][17] = 0;
ke[24][18] = 0;
ke[24][19] = 0;
ke[24][20] = 86831.960212348175;
ke[24][21] = 157081.42802303264;
ke[24][22] = 0;
ke[24][23] = 0;
ke[24][24] = 628325.71209213056;
ke[24][25] = 0;
ke[24][26] = -86831.960212348175;
ke[24][27] = 157081.42802303264;
ke[25][1] = 0;
ke[25][2] = 0;
ke[25][3] = 0;
ke[25][4] = 0;
ke[25][5] = 0;
ke[25][6] = 0;
ke[25][7] = 0;
ke[25][8] = 0;
ke[25][9] = 0;
ke[25][10] = 0;
ke[25][11] = 0;
ke[25][12] = 0;
ke[25][13] = 0;
ke[25][14] = 0;
ke[25][15] = 0;
ke[25][16] = 0;
ke[25][17] = 0;
ke[25][18] = 0;
ke[25][19] = 0;
ke[25][20] = 0;
ke[25][21] = 0;
ke[25][22] = -1754472.1689059502;
ke[25][23] = 0;
ke[25][24] = 0;
ke[25][25] = d;
ke[25][26] = 0;
ke[25][27] = 0;
ke[26][1] = 0;
ke[26][2] = 0;
ke[26][3] = 0;
ke[26][4] = 0;
ke[26][5] = 0;
ke[26][6] = 0;
ke[26][7] = 0;
ke[26][8] = 0;
ke[26][9] = 0;
ke[26][10] = 0;
ke[26][11] = 0;
ke[26][12] = 0;
ke[26][13] = 0;
ke[26][14] = 0;
ke[26][15] = 0;
ke[26][16] = 0;
ke[26][17] = 0;
ke[26][18] = 0;
ke[26][19] = 0;
ke[26][20] = 0;
ke[26][21] = 0;
ke[26][22] = 0;
ke[26][23] = -31999.493974608162;
ke[26][24] = -86831.960212348175;
ke[26][25] = 0;
ke[26][26] = e;
ke[26][27] = -86831.960212348175;
ke[27][1] = 0;
ke[27][2] = 0;
ke[27][3] = 0;
ke[27][4] = 0;
ke[27][5] = 0;
ke[27][6] = 0;
ke[27][7] = 0;
ke[27][8] = 0;
ke[27][9] = 0;
ke[27][10] = 0;
ke[27][11] = 0;
ke[27][12] = 0;
ke[27][13] = 0;
ke[27][14] = 0;
ke[27][15] = 0;
ke[27][16] = 0;
ke[27][17] = 0;
ke[27][18] = 0;
ke[27][19] = 0;
ke[27][20] = 0;
ke[27][21] = 0;
ke[27][22] = 0;
ke[27][23] = 86831.960212348175;
ke[27][24] = 157081.42802303264;
ke[27][25] = 0;
ke[27][26] = -86831.960212348175;
ke[27][27] = f;
kg[1][1] = 0.27639155470249521;
kg[1][2] = 0;
kg[1][3] = 0;
kg[1][4] = -0.18426103646833014;
kg[1][5] = 0;
kg[1][6] = 0;
kg[1][7] = 0;
kg[1][8] = 0;
kg[1][9] = 0;
kg[1][10] = 0;
kg[1][11] = 0;
kg[1][12] = 0;
kg[1][13] = 0;
kg[1][14] = 0;
kg[1][15] = 0;
kg[1][16] = 0;
kg[1][17] = 0;
kg[1][18] = 0;
kg[1][19] = 0;
kg[1][20] = 0;
kg[1][21] = 0;
kg[1][22] = 0;
kg[1][23] = 0;
kg[1][24] = 0;
kg[1][25] = 0;
kg[1][26] = 0;
kg[1][27] = 0;
kg[2][1] = 0;
kg[2][2] = 0.77389635316698657;
kg[2][3] = 0.10000000000000001;
kg[2][4] = 0;
kg[2][5] = -0.22111324376199618;
kg[2][6] = 0.10000000000000001;
kg[2][7] = 0;
kg[2][8] = 0;
kg[2][9] = 0;
kg[2][10] = 0;
kg[2][11] = 0;
kg[2][12] = 0;
kg[2][13] = 0;
kg[2][14] = 0;
kg[2][15] = 0;
kg[2][16] = 0;
kg[2][17] = 0;
kg[2][18] = 0;
kg[2][19] = 0;
kg[2][20] = 0;
kg[2][21] = 0;
kg[2][22] = 0;
kg[2][23] = 0;
kg[2][24] = 0;
kg[2][25] = 0;
kg[2][26] = 0;
kg[2][27] = 0;
kg[3][1] = 0;
kg[3][2] = 0.10000000000000001;
kg[3][3] = 5.6079861111111118;
kg[3][4] = 0;
kg[3][5] = -0.10000000000000001;
kg[3][6] = -0.18090277777777777;
kg[3][7] = 0;
kg[3][8] = 0;
kg[3][9] = 0;
kg[3][10] = 0;
kg[3][11] = 0;
kg[3][12] = 0;
kg[3][13] = 0;
kg[3][14] = 0;
kg[3][15] = 0;
kg[3][16] = 0;
kg[3][17] = 0;
kg[3][18] = 0;
kg[3][19] = 0;
kg[3][20] = 0;
kg[3][21] = 0;
kg[3][22] = 0;
kg[3][23] = 0;
kg[3][24] = 0;
kg[3][25] = 0;
kg[3][26] = 0;
kg[3][27] = 0;
kg[4][1] = -0.18426103646833014;
kg[4][2] = 0;
kg[4][3] = 0;
kg[4][4] = 0.36852207293666028;
kg[4][5] = 0;
kg[4][6] = 0;
kg[4][7] = -0.18426103646833014;
kg[4][8] = 0;
kg[4][9] = 0;
kg[4][10] = 0;
kg[4][11] = 0;
kg[4][12] = 0;
kg[4][13] = 0;
kg[4][14] = 0;
kg[4][15] = 0;
kg[4][16] = 0;
kg[4][17] = 0;
kg[4][18] = 0;
kg[4][19] = 0;
kg[4][20] = 0;
kg[4][21] = 0;
kg[4][22] = 0;
kg[4][23] = 0;
kg[4][24] = 0;
kg[4][25] = 0;
kg[4][26] = 0;
kg[4][27] = 0;
kg[5][1] = 0;
kg[5][2] = -0.22111324376199618;
kg[5][3] = -0.10000000000000001;
kg[5][4] = 0;
kg[5][5] = 0.44222648752399235;
kg[5][6] = 0;
kg[5][7] = 0;
kg[5][8] = -0.22111324376199618;
kg[5][9] = 0.10000000000000001;
kg[5][10] = 0;
kg[5][11] = 0;
kg[5][12] = 0;
kg[5][13] = 0;
kg[5][14] = 0;
kg[5][15] = 0;
kg[5][16] = 0;
kg[5][17] = 0;
kg[5][18] = 0;
kg[5][19] = 0;
kg[5][20] = 0;
kg[5][21] = 0;
kg[5][22] = 0;
kg[5][23] = 0;
kg[5][24] = 0;
kg[5][25] = 0;
kg[5][26] = 0;
kg[5][27] = 0;
kg[6][1] = 0;
kg[6][2] = 0.10000000000000001;
kg[6][3] = -0.18090277777777777;
kg[6][4] = 0;
kg[6][5] = 0;
kg[6][6] = 1.4472222222222222;
kg[6][7] = 0;
kg[6][8] = -0.10000000000000001;
kg[6][9] = -0.18090277777777777;
kg[6][10] = 0;
kg[6][11] = 0;
kg[6][12] = 0;
kg[6][13] = 0;
kg[6][14] = 0;
kg[6][15] = 0;
kg[6][16] = 0;
kg[6][17] = 0;
kg[6][18] = 0;
kg[6][19] = 0;
kg[6][20] = 0;
kg[6][21] = 0;
kg[6][22] = 0;
kg[6][23] = 0;
kg[6][24] = 0;
kg[6][25] = 0;
kg[6][26] = 0;
kg[6][27] = 0;
kg[7][1] = 0;
kg[7][2] = 0;
kg[7][3] = 0;
kg[7][4] = -0.18426103646833014;
kg[7][5] = 0;
kg[7][6] = 0;
kg[7][7] = 0.36852207293666028;
kg[7][8] = 0;
kg[7][9] = 0;
kg[7][10] = -0.18426103646833014;
kg[7][11] = 0;
kg[7][12] = 0;
kg[7][13] = 0;
kg[7][14] = 0;
kg[7][15] = 0;
kg[7][16] = 0;
kg[7][17] = 0;
kg[7][18] = 0;
kg[7][19] = 0;
kg[7][20] = 0;
kg[7][21] = 0;
kg[7][22] = 0;
kg[7][23] = 0;
kg[7][24] = 0;
kg[7][25] = 0;
kg[7][26] = 0;
kg[7][27] = 0;
kg[8][1] = 0;
kg[8][2] = 0;
kg[8][3] = 0;
kg[8][4] = 0;
kg[8][5] = -0.22111324376199618;
kg[8][6] = -0.10000000000000001;
kg[8][7] = 0;
kg[8][8] = 0.44222648752399235;
kg[8][9] = 0;
kg[8][10] = 0;
kg[8][11] = -0.22111324376199618;
kg[8][12] = 0.10000000000000001;
kg[8][13] = 0;
kg[8][14] = 0;
kg[8][15] = 0;
kg[8][16] = 0;
kg[8][17] = 0;
kg[8][18] = 0;
kg[8][19] = 0;
kg[8][20] = 0;
kg[8][21] = 0;
kg[8][22] = 0;
kg[8][23] = 0;
kg[8][24] = 0;
kg[8][25] = 0;
kg[8][26] = 0;
kg[8][27] = 0;
kg[9][1] = 0;
kg[9][2] = 0;
kg[9][3] = 0;
kg[9][4] = 0;
kg[9][5] = 0.10000000000000001;
kg[9][6] = -0.18090277777777777;
kg[9][7] = 0;
kg[9][8] = 0;
kg[9][9] = 1.4472222222222222;
kg[9][10] = 0;
kg[9][11] = -0.10000000000000001;
kg[9][12] = -0.18090277777777777;
kg[9][13] = 0;
kg[9][14] = 0;
kg[9][15] = 0;
kg[9][16] = 0;
kg[9][17] = 0;
kg[9][18] = 0;
kg[9][19] = 0;
kg[9][20] = 0;
kg[9][21] = 0;
kg[9][22] = 0;
kg[9][23] = 0;
kg[9][24] = 0;
kg[9][25] = 0;
kg[9][26] = 0;
kg[9][27] = 0;
kg[10][1] = 0;
kg[10][2] = 0;
kg[10][3] = 0;
kg[10][4] = 0;
kg[10][5] = 0;
kg[10][6] = 0;
kg[10][7] = -0.18426103646833014;
kg[10][8] = 0;
kg[10][9] = 0;
kg[10][10] = 0.36852207293666028;
kg[10][11] = 0;
kg[10][12] = 0;
kg[10][13] = -0.18426103646833014;
kg[10][14] = 0;
kg[10][15] = 0;
kg[10][16] = 0;
kg[10][17] = 0;
kg[10][18] = 0;
kg[10][19] = 0;
kg[10][20] = 0;
kg[10][21] = 0;
kg[10][22] = 0;
kg[10][23] = 0;
kg[10][24] = 0;
kg[10][25] = 0;
kg[10][26] = 0;
kg[10][27] = 0;
kg[11][1] = 0;
kg[11][2] = 0;
kg[11][3] = 0;
kg[11][4] = 0;
kg[11][5] = 0;
kg[11][6] = 0;
kg[11][7] = 0;
kg[11][8] = -0.22111324376199618;
kg[11][9] = -0.10000000000000001;
kg[11][10] = 0;
kg[11][11] = 0.44222648752399235;
kg[11][12] = 0;
kg[11][13] = 0;
kg[11][14] = -0.22111324376199618;
kg[11][15] = 0.10000000000000001;
kg[11][16] = 0;
kg[11][17] = 0;
kg[11][18] = 0;
kg[11][19] = 0;
kg[11][20] = 0;
kg[11][21] = 0;
kg[11][22] = 0;
kg[11][23] = 0;
kg[11][24] = 0;
kg[11][25] = 0;
kg[11][26] = 0;
kg[11][27] = 0;
kg[12][1] = 0;
kg[12][2] = 0;
kg[12][3] = 0;
kg[12][4] = 0;
kg[12][5] = 0;
kg[12][6] = 0;
kg[12][7] = 0;
kg[12][8] = 0.10000000000000001;
kg[12][9] = -0.18090277777777777;
kg[12][10] = 0;
kg[12][11] = 0;
kg[12][12] = 1.4472222222222222;
kg[12][13] = 0;
kg[12][14] = -0.10000000000000001;
kg[12][15] = -0.18090277777777777;
kg[12][16] = 0;
kg[12][17] = 0;
kg[12][18] = 0;
kg[12][19] = 0;
kg[12][20] = 0;
kg[12][21] = 0;
kg[12][22] = 0;
kg[12][23] = 0;
kg[12][24] = 0;
kg[12][25] = 0;
kg[12][26] = 0;
kg[12][27] = 0;
kg[13][1] = 0;
kg[13][2] = 0;
kg[13][3] = 0;
kg[13][4] = 0;
kg[13][5] = 0;
kg[13][6] = 0;
kg[13][7] = 0;
kg[13][8] = 0;
kg[13][9] = 0;
kg[13][10] = -0.18426103646833014;
kg[13][11] = 0;
kg[13][12] = 0;
kg[13][13] = 0.36852207293666028;
kg[13][14] = 0;
kg[13][15] = 0;
kg[13][16] = -0.18426103646833014;
kg[13][17] = 0;
kg[13][18] = 0;
kg[13][19] = 0;
kg[13][20] = 0;
kg[13][21] = 0;
kg[13][22] = 0;
kg[13][23] = 0;
kg[13][24] = 0;
kg[13][25] = 0;
kg[13][26] = 0;
kg[13][27] = 0;
kg[14][1] = 0;
kg[14][2] = 0;
kg[14][3] = 0;
kg[14][4] = 0;
kg[14][5] = 0;
kg[14][6] = 0;
kg[14][7] = 0;
kg[14][8] = 0;
kg[14][9] = 0;
kg[14][10] = 0;
kg[14][11] = -0.22111324376199618;
kg[14][12] = -0.10000000000000001;
kg[14][13] = 0;
kg[14][14] = 0.44222648752399235;
kg[14][15] = 0;
kg[14][16] = 0;
kg[14][17] = -0.22111324376199618;
kg[14][18] = 0.10000000000000001;
kg[14][19] = 0;
kg[14][20] = 0;
kg[14][21] = 0;
kg[14][22] = 0;
kg[14][23] = 0;
kg[14][24] = 0;
kg[14][25] = 0;
kg[14][26] = 0;
kg[14][27] = 0;
kg[15][1] = 0;
kg[15][2] = 0;
kg[15][3] = 0;
kg[15][4] = 0;
kg[15][5] = 0;
kg[15][6] = 0;
kg[15][7] = 0;
kg[15][8] = 0;
kg[15][9] = 0;
kg[15][10] = 0;
kg[15][11] = 0.10000000000000001;
kg[15][12] = -0.18090277777777777;
kg[15][13] = 0;
kg[15][14] = 0;
kg[15][15] = 1.4472222222222222;
kg[15][16] = 0;
kg[15][17] = -0.10000000000000001;
kg[15][18] = -0.18090277777777777;
kg[15][19] = 0;
kg[15][20] = 0;
kg[15][21] = 0;
kg[15][22] = 0;
kg[15][23] = 0;
kg[15][24] = 0;
kg[15][25] = 0;
kg[15][26] = 0;
kg[15][27] = 0;
kg[16][1] = 0;
kg[16][2] = 0;
kg[16][3] = 0;
kg[16][4] = 0;
kg[16][5] = 0;
kg[16][6] = 0;
kg[16][7] = 0;
kg[16][8] = 0;
kg[16][9] = 0;
kg[16][10] = 0;
kg[16][11] = 0;
kg[16][12] = 0;
kg[16][13] = -0.18426103646833014;
kg[16][14] = 0;
kg[16][15] = 0;
kg[16][16] = 0.36852207293666028;
kg[16][17] = 0;
kg[16][18] = 0;
kg[16][19] = -0.18426103646833014;
kg[16][20] = 0;
kg[16][21] = 0;
kg[16][22] = 0;
kg[16][23] = 0;
kg[16][24] = 0;
kg[16][25] = 0;
kg[16][26] = 0;
kg[16][27] = 0;
kg[17][1] = 0;
kg[17][2] = 0;
kg[17][3] = 0;
kg[17][4] = 0;
kg[17][5] = 0;
kg[17][6] = 0;
kg[17][7] = 0;
kg[17][8] = 0;
kg[17][9] = 0;
kg[17][10] = 0;
kg[17][11] = 0;
kg[17][12] = 0;
kg[17][13] = 0;
kg[17][14] = -0.22111324376199618;
kg[17][15] = -0.10000000000000001;
kg[17][16] = 0;
kg[17][17] = 0.44222648752399235;
kg[17][18] = 0;
kg[17][19] = 0;
kg[17][20] = -0.22111324376199618;
kg[17][21] = 0.10000000000000001;
kg[17][22] = 0;
kg[17][23] = 0;
kg[17][24] = 0;
kg[17][25] = 0;
kg[17][26] = 0;
kg[17][27] = 0;
kg[18][1] = 0;
kg[18][2] = 0;
kg[18][3] = 0;
kg[18][4] = 0;
kg[18][5] = 0;
kg[18][6] = 0;
kg[18][7] = 0;
kg[18][8] = 0;
kg[18][9] = 0;
kg[18][10] = 0;
kg[18][11] = 0;
kg[18][12] = 0;
kg[18][13] = 0;
kg[18][14] = 0.10000000000000001;
kg[18][15] = -0.18090277777777777;
kg[18][16] = 0;
kg[18][17] = 0;
kg[18][18] = 1.4472222222222222;
kg[18][19] = 0;
kg[18][20] = -0.10000000000000001;
kg[18][21] = -0.18090277777777777;
kg[18][22] = 0;
kg[18][23] = 0;
kg[18][24] = 0;
kg[18][25] = 0;
kg[18][26] = 0;
kg[18][27] = 0;
kg[19][1] = 0;
kg[19][2] = 0;
kg[19][3] = 0;
kg[19][4] = 0;
kg[19][5] = 0;
kg[19][6] = 0;
kg[19][7] = 0;
kg[19][8] = 0;
kg[19][9] = 0;
kg[19][10] = 0;
kg[19][11] = 0;
kg[19][12] = 0;
kg[19][13] = 0;
kg[19][14] = 0;
kg[19][15] = 0;
kg[19][16] = -0.18426103646833014;
kg[19][17] = 0;
kg[19][18] = 0;
kg[19][19] = 0.36852207293666028;
kg[19][20] = 0;
kg[19][21] = 0;
kg[19][22] = -0.18426103646833014;
kg[19][23] = 0;
kg[19][24] = 0;
kg[19][25] = 0;
kg[19][26] = 0;
kg[19][27] = 0;
kg[20][1] = 0;
kg[20][2] = 0;
kg[20][3] = 0;
kg[20][4] = 0;
kg[20][5] = 0;
kg[20][6] = 0;
kg[20][7] = 0;
kg[20][8] = 0;
kg[20][9] = 0;
kg[20][10] = 0;
kg[20][11] = 0;
kg[20][12] = 0;
kg[20][13] = 0;
kg[20][14] = 0;
kg[20][15] = 0;
kg[20][16] = 0;
kg[20][17] = -0.22111324376199618;
kg[20][18] = -0.10000000000000001;
kg[20][19] = 0;
kg[20][20] = 0.44222648752399235;
kg[20][21] = 0;
kg[20][22] = 0;
kg[20][23] = -0.22111324376199618;
kg[20][24] = 0.10000000000000001;
kg[20][25] = 0;
kg[20][26] = 0;
kg[20][27] = 0;
kg[21][1] = 0;
kg[21][2] = 0;
kg[21][3] = 0;
kg[21][4] = 0;
kg[21][5] = 0;
kg[21][6] = 0;
kg[21][7] = 0;
kg[21][8] = 0;
kg[21][9] = 0;
kg[21][10] = 0;
kg[21][11] = 0;
kg[21][12] = 0;
kg[21][13] = 0;
kg[21][14] = 0;
kg[21][15] = 0;
kg[21][16] = 0;
kg[21][17] = 0.10000000000000001;
kg[21][18] = -0.18090277777777777;
kg[21][19] = 0;
kg[21][20] = 0;
kg[21][21] = 1.4472222222222222;
kg[21][22] = 0;
kg[21][23] = -0.10000000000000001;
kg[21][24] = -0.18090277777777777;
kg[21][25] = 0;
kg[21][26] = 0;
kg[21][27] = 0;
kg[22][1] = 0;
kg[22][2] = 0;
kg[22][3] = 0;
kg[22][4] = 0;
kg[22][5] = 0;
kg[22][6] = 0;
kg[22][7] = 0;
kg[22][8] = 0;
kg[22][9] = 0;
kg[22][10] = 0;
kg[22][11] = 0;
kg[22][12] = 0;
kg[22][13] = 0;
kg[22][14] = 0;
kg[22][15] = 0;
kg[22][16] = 0;
kg[22][17] = 0;
kg[22][18] = 0;
kg[22][19] = -0.18426103646833014;
kg[22][20] = 0;
kg[22][21] = 0;
kg[22][22] = 0.36852207293666028;
kg[22][23] = 0;
kg[22][24] = 0;
kg[22][25] = -0.18426103646833014;
kg[22][26] = 0;
kg[22][27] = 0;
kg[23][1] = 0;
kg[23][2] = 0;
kg[23][3] = 0;
kg[23][4] = 0;
kg[23][5] = 0;
kg[23][6] = 0;
kg[23][7] = 0;
kg[23][8] = 0;
kg[23][9] = 0;
kg[23][10] = 0;
kg[23][11] = 0;
kg[23][12] = 0;
kg[23][13] = 0;
kg[23][14] = 0;
kg[23][15] = 0;
kg[23][16] = 0;
kg[23][17] = 0;
kg[23][18] = 0;
kg[23][19] = 0;
kg[23][20] = -0.22111324376199618;
kg[23][21] = -0.10000000000000001;
kg[23][22] = 0;
kg[23][23] = 0.44222648752399235;
kg[23][24] = 0;
kg[23][25] = 0;
kg[23][26] = -0.22111324376199618;
kg[23][27] = 0.10000000000000001;
kg[24][1] = 0;
kg[24][2] = 0;
kg[24][3] = 0;
kg[24][4] = 0;
kg[24][5] = 0;
kg[24][6] = 0;
kg[24][7] = 0;
kg[24][8] = 0;
kg[24][9] = 0;
kg[24][10] = 0;
kg[24][11] = 0;
kg[24][12] = 0;
kg[24][13] = 0;
kg[24][14] = 0;
kg[24][15] = 0;
kg[24][16] = 0;
kg[24][17] = 0;
kg[24][18] = 0;
kg[24][19] = 0;
kg[24][20] = 0.10000000000000001;
kg[24][21] = -0.18090277777777777;
kg[24][22] = 0;
kg[24][23] = 0;
kg[24][24] = 1.4472222222222222;
kg[24][25] = 0;
kg[24][26] = -0.10000000000000001;
kg[24][27] = -0.18090277777777777;
kg[25][1] = 0;
kg[25][2] = 0;
kg[25][3] = 0;
kg[25][4] = 0;
kg[25][5] = 0;
kg[25][6] = 0;
kg[25][7] = 0;
kg[25][8] = 0;
kg[25][9] = 0;
kg[25][10] = 0;
kg[25][11] = 0;
kg[25][12] = 0;
kg[25][13] = 0;
kg[25][14] = 0;
kg[25][15] = 0;
kg[25][16] = 0;
kg[25][17] = 0;
kg[25][18] = 0;
kg[25][19] = 0;
kg[25][20] = 0;
kg[25][21] = 0;
kg[25][22] = -0.18426103646833014;
kg[25][23] = 0;
kg[25][24] = 0;
kg[25][25] = 0.66333973128598844;
kg[25][26] = 0;
kg[25][27] = 0;
kg[26][1] = 0;
kg[26][2] = 0;
kg[26][3] = 0;
kg[26][4] = 0;
kg[26][5] = 0;
kg[26][6] = 0;
kg[26][7] = 0;
kg[26][8] = 0;
kg[26][9] = 0;
kg[26][10] = 0;
kg[26][11] = 0;
kg[26][12] = 0;
kg[26][13] = 0;
kg[26][14] = 0;
kg[26][15] = 0;
kg[26][16] = 0;
kg[26][17] = 0;
kg[26][18] = 0;
kg[26][19] = 0;
kg[26][20] = 0;
kg[26][21] = 0;
kg[26][22] = 0;
kg[26][23] = -0.22111324376199618;
kg[26][24] = -0.10000000000000001;
kg[26][25] = 0;
kg[26][26] = 0.90656429942418426;
kg[26][27] = -0.10000000000000001;
kg[27][1] = 0;
kg[27][2] = 0;
kg[27][3] = 0;
kg[27][4] = 0;
kg[27][5] = 0;
kg[27][6] = 0;
kg[27][7] = 0;
kg[27][8] = 0;
kg[27][9] = 0;
kg[27][10] = 0;
kg[27][11] = 0;
kg[27][12] = 0;
kg[27][13] = 0;
kg[27][14] = 0;
kg[27][15] = 0;
kg[27][16] = 0;
kg[27][17] = 0;
kg[27][18] = 0;
kg[27][19] = 0;
kg[27][20] = 0;
kg[27][21] = 0;
kg[27][22] = 0;
kg[27][23] = 0.10000000000000001;
kg[27][24] = -0.18090277777777777;
kg[27][25] = 0;
kg[27][26] = -0.10000000000000001;
kg[27][27] = 5.7888888888888888;

F[1] = 2*Pi*7.9044500376256508;
F[2] = 2*Pi*15.974163372274155;
F[3] = 2*Pi*24.288032059533016;
F[4] = 2*Pi*32.770732855521864;
F[5] = 2*Pi*41.136038911151424;
F[6] = 2*Pi*43.063079263399032;
F[7] = 2*Pi*48.785402523448269;
F[8] = 2*Pi*54.598718766416326;
F[9] = 2*Pi*75.177735684082492;
F[10] = 2*Pi*81.001463008934209;
F[11] = 2*Pi*88.775376098692746;
F[12] = 2*Pi*134.97971202269417;
F[13] = 2*Pi*178.59878617099415;
F[14] = 2*Pi*217.08380692586999;
F[15] = 2*Pi*248.25631868168185;
F[16] = 2*Pi*270.08309952191433;
F[17] = 2*Pi*287.32028931433803;
F[18] = 2*Pi*384.15152467225192;
K = Ke + T*Kg;
sol = K - (((Freq[[2]])^2)*M) // MatrixForm
Det
POSTED BY: Usman Rauf
5 Replies
Posted 11 years ago
sol = K - (((Freq[[2]])^2)*M) // MatrixForm
sol is now a MatrixForm. A MatrixForm is not a Matrix. A MatrixForm does not have a Determinant.

Try this to see
Det[MatrixForm[{{1,2},{3,4}}]]
that Det does not know how to find the determinant of a MatrixForm.

What is T? Is it a matrix? Is it a scalar constant? What is the value of T?

You write T*Kg. Do you mean matrix or vector product? Then use . and not *
If you are only multiplying all entries in Kg by a scalar constant T then use * and not .

Perhaps with the value of T and not using MatrixForm you can get your determinant in a second.
POSTED BY: Bill Simpson
Posted 11 years ago
I got you guys. Thanks,  I appreciate it.
POSTED BY: Usman Rauf
A matrix wrapped in MatrixForm is no longer a matrix.
 In[1]:= MatrixQ[{{1, 2}, {3, 4}}]
 
 Out[1]= True
 
 In[2]:= MatrixQ[{{1, 2}, {3, 4}} // MatrixForm]
 
 Out[2]= False
 
 In[3]:= Det[{{1, 2}, {3, 4}}]

Out[3]= -2

In[4]:= Det[{{1, 2}, {3, 4}} // MatrixForm]

Out[4]= Det[MatrixForm[{{1, 2}, {3, 4}}]]
POSTED BY: Ilian Gachevski
Posted 11 years ago
I am only guessing, but I believe that part of your problem is that you are trying to take the determinant of a desktop published MatrixForm. A MatrixForm is not a matrix and you cannot do any calculations with that, you can only display it.

The last three lines of your post are also unclear exactly what calculation you want to perform.

Can you make any sense out of this reformatted version of your code and describe exactly what calculation you would like to perform?
  In[1]:= ClearAll;
  M = {{1.1629464285714284, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  {0, 1.1629464285714284, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  {0, 0, 2.2204460492503131*10^-16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  {0, 0, 0, 2.3258928571428568, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  {0, 0, 0, 0, 2.3258928571428568, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  {0, 0, 0, 0, 0, 2.2204460492503131*10^-16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  {0, 0, 0, 0, 0, 0, 2.3258928571428568, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  {0, 0, 0, 0, 0, 0, 0, 2.3258928571428568, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  {0, 0, 0, 0, 0, 0, 0, 0, 2.2204460492503131*10^-16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  {0, 0, 0, 0, 0, 0, 0, 0, 0, 2.3258928571428568, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.3258928571428568, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.2204460492503131*10^-16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.3258928571428568, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.3258928571428568, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.2204460492503131*10^-16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.3258928571428568, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.3258928571428568, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.2204460492503131*10^-16, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.3258928571428568, 0, 0, 0, 0, 0, 0, 0, 0},
  {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.3258928571428568, 0, 0, 0, 0, 0, 0, 0},
  {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.2204460492503131*10^-16, 0, 0, 0, 0, 0, 0},
  {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.3258928571428568, 0, 0, 0, 0, 0},
  {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.3258928571428568, 0, 0, 0, 0},
  {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.2204460492503131*10^-16, 0, 0, 0},
  {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.1629464285714284, 0, 0},
  {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.1629464285714284, 0},
  {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.2204460492503131*10^-16}};
 Ke = {{a, 0, 0, -1754472.1689059502, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  {0, b, 86831.960212348175, 0, -31999.493974608162, 86831.960212348175, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  {0, 86831.960212348175, c, 0, -86831.960212348175, 157081.42802303264, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  {-1754472.1689059502, 0, 0, 3508944.3378119003, 0, 0, -1754472.1689059502, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  {0, -31999.493974608162, -86831.960212348175, 0, 63998.987949216324, 0, 0, -31999.493974608162, 86831.960212348175, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  {0, 86831.960212348175, 157081.42802303264, 0, 0, 628325.71209213056, 0, -86831.960212348175, 157081.42802303264, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  {0, 0, 0, -1754472.1689059502, 0, 0, 3508944.3378119003, 0, 0, -1754472.1689059502, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  {0, 0, 0, 0, -31999.493974608162, -86831.960212348175, 0, 63998.987949216324, 0, 0, -31999.493974608162, 86831.960212348175, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  {0, 0, 0, 0, 86831.960212348175, 157081.42802303264, 0, 0, 628325.71209213056, 0, -86831.960212348175, 157081.42802303264, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  {0, 0, 0, 0, 0, 0, -1754472.1689059502, 0, 0, 3508944.3378119003, 0, 0, -1754472.1689059502, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  {0, 0, 0, 0, 0, 0, 0, -31999.493974608162, -86831.960212348175, 0, 63998.987949216324, 0, 0, -31999.493974608162, 86831.960212348175, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  {0, 0, 0, 0, 0, 0, 0, 86831.960212348175, 157081.42802303264, 0, 0, 628325.71209213056, 0, -86831.960212348175, 157081.42802303264, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  {0, 0, 0, 0, 0, 0, 0, 0, 0, -1754472.1689059502, 0, 0, 3508944.3378119003, 0, 0, -1754472.1689059502, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -31999.493974608162, -86831.960212348175, 0, 63998.987949216324, 0, 0, -31999.493974608162, 86831.960212348175, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 86831.960212348175, 157081.42802303264, 0, 0, 628325.71209213056, 0, -86831.960212348175, 157081.42802303264, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1754472.1689059502, 0, 0, 3508944.3378119003, 0, 0, -1754472.1689059502, 0, 0, 0, 0, 0, 0, 0, 0},
  {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -31999.493974608162, -86831.960212348175, 0, 63998.987949216324, 0, 0, -31999.493974608162, 86831.960212348175, 0, 0, 0, 0, 0, 0},
  {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 86831.960212348175, 157081.42802303264, 0, 0, 628325.71209213056, 0, -86831.960212348175, 157081.42802303264, 0, 0, 0, 0, 0, 0},
  {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1754472.1689059502, 0, 0, 3508944.3378119003, 0, 0, -1754472.1689059502, 0, 0, 0, 0, 0},
  {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -31999.493974608162, -86831.960212348175, 0, 63998.987949216324, 0, 0, -31999.493974608162, 86831.960212348175, 0, 0, 0},
  {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 86831.960212348175, 157081.42802303264, 0, 0, 628325.71209213056, 0, -86831.960212348175, 157081.42802303264, 0, 0, 0},
  {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1754472.1689059502, 0, 0, 3508944.3378119003, 0, 0, -1754472.1689059502, 0, 0},
  {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -31999.493974608162, -86831.960212348175, 0, 63998.987949216324, 0, 0, -31999.493974608162, 86831.960212348175},
  {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 86831.960212348175, 157081.42802303264, 0, 0, 628325.71209213056, 0, -86831.960212348175, 157081.42802303264},
  {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1754472.1689059502, 0, 0, d, 0, 0},
  {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -31999.493974608162, -86831.960212348175, 0, e, -86831.960212348175},
  {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 86831.960212348175, 157081.42802303264, 0, -86831.960212348175, f}};
 Kg = {{0.27639155470249521, 0, 0, -0.18426103646833014, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  {0, 0.77389635316698657, 0.10000000000000001, 0, -0.22111324376199618, 0.10000000000000001, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  {0, 0.10000000000000001, 5.6079861111111118, 0, -0.10000000000000001, -0.18090277777777777, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  {-0.18426103646833014, 0, 0, 0.36852207293666028, 0, 0, -0.18426103646833014, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  {0, -0.22111324376199618, -0.10000000000000001, 0, 0.44222648752399235, 0, 0, -0.22111324376199618, 0.10000000000000001, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  {0, 0.10000000000000001, -0.18090277777777777, 0, 0, 1.4472222222222222, 0, -0.10000000000000001, -0.18090277777777777, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  {0, 0, 0, -0.18426103646833014, 0, 0, 0.36852207293666028, 0, 0, -0.18426103646833014, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  {0, 0, 0, 0, -0.22111324376199618, -0.10000000000000001, 0, 0.44222648752399235, 0, 0, -0.22111324376199618, 0.10000000000000001, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  {0, 0, 0, 0, 0.10000000000000001, -0.18090277777777777, 0, 0, 1.4472222222222222, 0, -0.10000000000000001, -0.18090277777777777, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  {0, 0, 0, 0, 0, 0, -0.18426103646833014, 0, 0, 0.36852207293666028, 0, 0, -0.18426103646833014, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  {0, 0, 0, 0, 0, 0, 0, -0.22111324376199618, -0.10000000000000001, 0, 0.44222648752399235, 0, 0, -0.22111324376199618, 0.10000000000000001, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  {0, 0, 0, 0, 0, 0, 0, 0.10000000000000001, -0.18090277777777777, 0, 0, 1.4472222222222222, 0, -0.10000000000000001, -0.18090277777777777, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, -0.18426103646833014, 0, 0, 0.36852207293666028, 0, 0, -0.18426103646833014, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -0.22111324376199618, -0.10000000000000001, 0, 0.44222648752399235, 0, 0, -0.22111324376199618, 0.10000000000000001, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.10000000000000001, -0.18090277777777777, 0, 0, 1.4472222222222222, 0, -0.10000000000000001, -0.18090277777777777, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -0.18426103646833014, 0, 0, 0.36852207293666028, 0, 0, -0.18426103646833014, 0, 0, 0, 0, 0, 0, 0, 0},
  {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -0.22111324376199618, -0.10000000000000001, 0, 0.44222648752399235, 0, 0, -0.22111324376199618, 0.10000000000000001, 0, 0, 0, 0, 0, 0},
  {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.10000000000000001, -0.18090277777777777, 0, 0, 1.4472222222222222, 0, -0.10000000000000001, -0.18090277777777777, 0, 0, 0, 0, 0, 0},
  {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -0.18426103646833014, 0, 0, 0.36852207293666028, 0, 0, -0.18426103646833014, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -0.22111324376199618, -0.10000000000000001, 0, 0.44222648752399235, 0, 0, -0.22111324376199618, 0.10000000000000001, 0, 0, 0},
  {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.10000000000000001, -0.18090277777777777, 0, 0, 1.4472222222222222, 0, -0.10000000000000001, -0.18090277777777777, 0, 0, 0},
  {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -0.18426103646833014, 0, 0, 0.36852207293666028, 0, 0, -0.18426103646833014, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -0.22111324376199618, -0.10000000000000001, 0, 0.44222648752399235, 0, 0, -0.22111324376199618, 0.10000000000000001},
  {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.10000000000000001, -0.18090277777777777, 0, 0, 1.4472222222222222, 0, -0.10000000000000001, -0.18090277777777777},
  {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -0.18426103646833014, 0, 0, 0.66333973128598844, 0, 0},
  {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -0.22111324376199618, -0.10000000000000001, 0, 0.90656429942418426, -0.10000000000000001},
  {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.10000000000000001, -0.18090277777777777, 0, -0.10000000000000001, 5.7888888888888888}};
 Freq = 2*Pi*{7.9044500376256508, 15.974163372274155, 24.288032059533016, 32.770732855521864, 41.136038911151424, 43.063079263399032, 48.785402523448269, 54.598718766416326, 75.177735684082492, 81.001463008934209, 88.775376098692746, 134.97971202269417, 178.59878617099415, 217.08380692586999, 248.25631868168185, 270.08309952191433, 287.32028931433803, 384.15152467225192};
 (*K=Ke+T*Kg;
 sol=K-(((Freq[[2]])^2).M)*)
 
 In[6]:= Det[M]
 
 Out[6]= 3.25429*10^-136
 
 In[7]:= Det[Ke]
 
 Out[7]= -(1/(-7.53979*10^9 + 31999.5 c))
  5.42819*10^-107 (9.45082*10^56 - 6.28449*10^50 a - 6.28449*10^50 d + 4.09369*10^44 a d) (2.76075*10^205 - 8.64833*10^200 b -
     2.18163*10^200 c + 6.8334*10^195 b c + 4.28628*10^194 c^2 - 1.34239*10^190 b c^2 - 8.64833*10^200 e + 2.70916*10^196 b e +
     6.8334*10^195 c e - 2.14038*10^191 b c e - 1.34239*10^190 c^2 e + 4.20414*10^185 b c^2 e - 1.00994*10^200 f + 3.16298*10^195 b f +
     7.96178*10^194 c f - 2.49326*10^190 b c f - 1.55991*10^189 c^2 f + 4.88436*10^184 b c^2 f + 3.16298*10^195 e f - 9.90587*10^190 b e f -
     2.49326*10^190 c e f + 7.80768*10^185 b c e f + 4.88436*10^184 c^2 e f - 1.52937*10^180 b c^2 e f)
 
 In[8]:= Det[Kg]
 
 Out[8]= 7.31144*10^-8
POSTED BY: Bill Simpson
Posted 11 years ago
Determinant of sol variable
Det[Sol]
  is my purpose, which actually is a list of list means Matrix. What do you meant by that it is not a matrix ? It is matrx with ever entity of that matrix is a variable which has been assigned a value.
POSTED BY: Usman Rauf
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract