summaryrefslogtreecommitdiff
path: root/trumpet.nb
blob: f117c9a2012c61d0ad3fec2a200ee192bcef8088 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
(* Content-type: application/mathematica *)

(*** Wolfram Notebook File ***)
(* http://www.wolfram.com/nb *)

(* CreatedBy='Mathematica 7.0' *)

(*CacheID: 234*)
(* Internal cache information:
NotebookFileLineBreakTest
NotebookFileLineBreakTest
NotebookDataPosition[       145,          7]
NotebookDataLength[     58685,       1297]
NotebookOptionsPosition[     57079,       1244]
NotebookOutlinePosition[     57416,       1259]
CellTagsIndexPosition[     57373,       1256]
WindowFrame->Normal*)

(* Beginning of Notebook Content *)
Notebook[{
Cell[BoxData[
 RowBox[{"psi", ":=", 
  RowBox[{"Sqrt", "[", 
   RowBox[{
    RowBox[{"R", "[", "r", "]"}], "/", "r"}], "]"}]}]], "Input"],

Cell[BoxData[
 RowBox[{"beta1", ":=", 
  RowBox[{
   RowBox[{"psi", "^", "4"}], "*", " ", "x", "*", 
   RowBox[{"C", "/", 
    RowBox[{
     RowBox[{"R", "[", "r", "]"}], "^", "3"}]}]}]}]], "Input",
 CellChangeTimes->{{3.541405061030883*^9, 3.541405081211104*^9}, {
   3.541568693038992*^9, 3.54156869591467*^9}, 3.541576353980927*^9, {
   3.541578112640421*^9, 3.541578113917652*^9}, 3.541650183093624*^9}],

Cell[BoxData[
 RowBox[{"beta2", ":=", 
  RowBox[{
   RowBox[{"psi", "^", "4"}], "*", " ", "y", "*", 
   RowBox[{"C", "/", 
    RowBox[{
     RowBox[{"R", "[", "r", "]"}], "^", "3"}]}]}]}]], "Input",
 CellChangeTimes->{{3.541405087435377*^9, 3.541405089672179*^9}, {
   3.5415686986023483`*^9, 3.5415687083941183`*^9}, 3.5415763576834927`*^9, {
   3.5415781173360577`*^9, 3.541578119110003*^9}, {3.541650185131393*^9, 
   3.541650185952448*^9}}],

Cell[BoxData[
 RowBox[{"beta3", ":=", 
  RowBox[{
   RowBox[{"psi", "^", "4"}], " ", "*", "z", "*", 
   RowBox[{"C", "/", 
    RowBox[{
     RowBox[{"R", "[", "r", "]"}], "^", "3"}]}]}]}]], "Input",
 CellChangeTimes->{{3.541405093909099*^9, 3.541405096428109*^9}, {
   3.541568711652349*^9, 3.5415687140903873`*^9}, 3.5415763611864567`*^9, {
   3.541578120891581*^9, 3.541578122699366*^9}, {3.541650188191567*^9, 
   3.541650188911887*^9}}],

Cell[BoxData[
 RowBox[{"alpha", ":=", 
  RowBox[{"Sqrt", "[", 
   RowBox[{"1", "-", 
    RowBox[{"2", "*", 
     RowBox[{"M", "/", 
      RowBox[{"R", "[", "r", "]"}]}]}], "+", 
    RowBox[{
     RowBox[{"C", "^", "2"}], "/", 
     RowBox[{
      RowBox[{"R", "[", "r", "]"}], "^", "4"}]}]}], "]"}]}]], "Input",
 CellChangeTimes->{{3.5414051009800997`*^9, 3.541405117339251*^9}}],

Cell[BoxData[
 RowBox[{"gamma", ":=", 
  RowBox[{"1", "/", 
   RowBox[{"Sqrt", "[", 
    RowBox[{"1", "-", 
     RowBox[{"beta", "^", "2"}]}], "]"}]}]}]], "Input",
 CellChangeTimes->{{3.541405132291383*^9, 3.541405138684085*^9}, 
   3.541568684612611*^9, 3.5415687173641*^9, {3.541573628926816*^9, 
   3.5415736363091927`*^9}}],

Cell[BoxData[
 RowBox[{"gorig", ":=", 
  RowBox[{"{", 
   RowBox[{
    RowBox[{"{", 
     RowBox[{
      RowBox[{
       RowBox[{"-", 
        RowBox[{"alpha", "^", "2"}]}], "+", 
       RowBox[{
        RowBox[{"psi", "^", 
         RowBox[{"(", 
          RowBox[{"-", "4"}], ")"}]}], "*", 
        RowBox[{"(", 
         RowBox[{
          RowBox[{"beta1", "^", "2"}], "+", 
          RowBox[{"beta2", "^", "2"}], "+", 
          RowBox[{"beta3", "^", "2"}]}], ")"}]}]}], ",", " ", "beta1", ",", 
      " ", "beta2", ",", " ", "beta3"}], "}"}], ",", 
    RowBox[{"{", 
     RowBox[{"beta1", ",", 
      RowBox[{"psi", "^", "4"}], ",", "0", ",", "0"}], "}"}], ",", 
    RowBox[{"{", 
     RowBox[{"beta2", ",", "0", ",", 
      RowBox[{"psi", "^", "4"}], ",", "0"}], "}"}], ",", 
    RowBox[{"{", 
     RowBox[{"beta3", ",", "0", ",", "0", ",", 
      RowBox[{"psi", "^", "4"}]}], "}"}]}], "}"}]}]], "Input",
 CellChangeTimes->{{3.541405161936751*^9, 3.541405263881534*^9}}],

Cell[BoxData[
 RowBox[{"Lambda", ":=", 
  RowBox[{"{", 
   RowBox[{
    RowBox[{"{", 
     RowBox[{"gamma", ",", 
      RowBox[{
       RowBox[{"-", "gamma"}], "*", "beta"}], ",", "0", ",", "0"}], "}"}], 
    ",", 
    RowBox[{"{", 
     RowBox[{
      RowBox[{
       RowBox[{"-", "gamma"}], "*", "beta"}], ",", "gamma", ",", "0", ",", 
      "0"}], "}"}], ",", 
    RowBox[{"{", 
     RowBox[{"0", ",", "0", ",", "1", ",", "0"}], "}"}], ",", 
    RowBox[{"{", 
     RowBox[{"0", ",", "0", ",", "0", ",", "1"}], "}"}]}], "}"}]}]], "Input",
 CellChangeTimes->{{3.541405309979129*^9, 3.5414053406975393`*^9}, {
  3.541576211047379*^9, 3.541576214954173*^9}, {3.5415766134805937`*^9, 
  3.541576615866742*^9}, {3.541577989494315*^9, 3.541577993214196*^9}, {
  3.541659117039507*^9, 3.541659120385696*^9}}],

Cell[BoxData[
 RowBox[{"g", ":=", 
  RowBox[{"FullSimplify", "[", 
   RowBox[{"Lambda", ".", "gorig", ".", "Lambda"}], "]"}]}]], "Input",
 CellChangeTimes->{{3.5416502169868383`*^9, 3.5416502287092876`*^9}, {
  3.5416506915108023`*^9, 3.541650691651325*^9}}],

Cell[BoxData[
 RowBox[{"g3d", ":=", 
  RowBox[{"g", "[", 
   RowBox[{"[", 
    RowBox[{
     RowBox[{"2", ";;", "4"}], ",", 
     RowBox[{"2", ";;", "4"}]}], "]"}], "]"}]}]], "Input",
 CellChangeTimes->{{3.541405355823965*^9, 3.541405399740391*^9}, {
  3.5416502327337837`*^9, 3.541650240217704*^9}}],

Cell[BoxData[
 RowBox[{"g3u", ":=", 
  RowBox[{"FullSimplify", "[", 
   RowBox[{"Inverse", "[", "g3d", "]"}], "]"}]}]], "Input",
 CellChangeTimes->{{3.5414054223252373`*^9, 3.541405432235853*^9}}],

Cell[BoxData[
 RowBox[{"g3dy", ":=", 
  RowBox[{"FullSimplify", "[", 
   RowBox[{
    RowBox[{"D", "[", 
     RowBox[{"g3d", ",", "y", ",", 
      RowBox[{"NonConstants", "\[Rule]", 
       RowBox[{"{", "r", "}"}]}]}], "]"}], "/.", 
    RowBox[{"{", 
     RowBox[{
      RowBox[{
       RowBox[{
        RowBox[{"R", "'"}], "[", "r", "]"}], "\[Rule]", 
       RowBox[{
        RowBox[{"R", "[", "r", "]"}], "*", 
        RowBox[{"alpha", "/", 
         RowBox[{"(", "r", ")"}]}]}]}], ",", 
      RowBox[{
       RowBox[{"D", "[", 
        RowBox[{"r", ",", "y", ",", 
         RowBox[{"NonConstants", "\[Rule]", 
          RowBox[{"{", "r", "}"}]}]}], "]"}], "\[Rule]", 
       RowBox[{"y", "/", "r"}]}]}], "}"}]}], "]"}]}]], "Input",
 CellChangeTimes->{{3.541406634290625*^9, 3.541406800404162*^9}, {
  3.541406833684698*^9, 3.541406879015818*^9}, {3.5414069575741167`*^9, 
  3.541406967124864*^9}, {3.5416532441838408`*^9, 3.541653248021184*^9}}],

Cell[BoxData[
 RowBox[{"g3dz", ":=", 
  RowBox[{"FullSimplify", "[", 
   RowBox[{
    RowBox[{"D", "[", 
     RowBox[{"g3d", ",", "z", ",", 
      RowBox[{"NonConstants", "\[Rule]", 
       RowBox[{"{", "r", "}"}]}]}], "]"}], "/.", 
    RowBox[{"{", 
     RowBox[{
      RowBox[{
       RowBox[{
        RowBox[{"R", "'"}], "[", "r", "]"}], "\[Rule]", 
       RowBox[{
        RowBox[{"R", "[", "r", "]"}], "*", 
        RowBox[{"alpha", "/", 
         RowBox[{"(", "r", ")"}]}]}]}], ",", 
      RowBox[{
       RowBox[{"D", "[", 
        RowBox[{"r", ",", "z", ",", 
         RowBox[{"NonConstants", "\[Rule]", 
          RowBox[{"{", "r", "}"}]}]}], "]"}], "\[Rule]", 
       RowBox[{"z", "/", "r"}]}]}], "}"}]}], "]"}]}]], "Input",
 CellChangeTimes->{{3.541406979031295*^9, 3.541406987189321*^9}, {
  3.541653251676744*^9, 3.541653254754826*^9}}],

Cell[BoxData[
 RowBox[{"g3dx", ":=", 
  RowBox[{"FullSimplify", "[", 
   RowBox[{
    RowBox[{"gamma", "*", 
     RowBox[{"D", "[", 
      RowBox[{"g3d", ",", "x", ",", 
       RowBox[{"NonConstants", "\[Rule]", 
        RowBox[{"{", "r", "}"}]}]}], "]"}]}], "/.", 
    RowBox[{"{", 
     RowBox[{
      RowBox[{
       RowBox[{
        RowBox[{"R", "'"}], "[", "r", "]"}], "\[Rule]", 
       RowBox[{
        RowBox[{"R", "[", "r", "]"}], "*", 
        RowBox[{"alpha", "/", 
         RowBox[{"(", "r", ")"}]}]}]}], ",", 
      RowBox[{
       RowBox[{"D", "[", 
        RowBox[{"r", ",", "x", ",", 
         RowBox[{"NonConstants", "\[Rule]", 
          RowBox[{"{", "r", "}"}]}]}], "]"}], "\[Rule]", 
       RowBox[{"x", "/", "r"}]}]}], "}"}]}], "]"}]}]], "Input",
 CellChangeTimes->{{3.541406991078109*^9, 3.5414069986545753`*^9}, {
  3.541491207633357*^9, 3.5414912099279613`*^9}, {3.5415665727617483`*^9, 
  3.541566574896678*^9}, {3.5415668117623043`*^9, 3.541566812953938*^9}, {
  3.5416532580164423`*^9, 3.541653261549081*^9}}],

Cell[BoxData[
 RowBox[{"g3diff", ":=", 
  RowBox[{"{", 
   RowBox[{"g3dx", ",", "g3dy", ",", "g3dz"}], "}"}]}]], "Input",
 CellChangeTimes->{{3.541407188389018*^9, 3.54140719780622*^9}, {
  3.54140730189473*^9, 3.541407302322214*^9}}],

Cell[BoxData[
 RowBox[{"bbeta", ":=", 
  RowBox[{"g", "[", 
   RowBox[{"[", 
    RowBox[{"1", ",", 
     RowBox[{"2", ";;", "4"}]}], "]"}], "]"}]}]], "Input",
 CellChangeTimes->{
  3.541407735337234*^9, {3.5414077707003508`*^9, 3.541407781471999*^9}, {
   3.541408115610737*^9, 3.541408162402279*^9}, {3.541409085265256*^9, 
   3.541409086933219*^9}, {3.54140912603513*^9, 3.54140913825906*^9}, {
   3.541650280572554*^9, 3.541650285777712*^9}}],

Cell[BoxData[
 RowBox[{"aalpha", ":=", 
  RowBox[{"FullSimplify", "[", 
   RowBox[{"Sqrt", "[", 
    RowBox[{
     RowBox[{"-", "1"}], "/", 
     RowBox[{
      RowBox[{"Inverse", "[", "g", "]"}], "[", 
      RowBox[{"[", 
       RowBox[{"1", ",", "1"}], "]"}], "]"}]}], "]"}], "]"}]}]], "Input",
 CellChangeTimes->{{3.541650300536737*^9, 3.541650308665511*^9}, {
  3.5416503687152977`*^9, 3.5416503804793386`*^9}, {3.541650532412928*^9, 
  3.541650564370451*^9}, {3.5416505986603622`*^9, 3.54165060601678*^9}}],

Cell[BoxData[
 RowBox[{"G", " ", ":=", " ", 
  RowBox[{"Table", "[", 
   RowBox[{
    RowBox[{"Sum", "[", 
     RowBox[{
      RowBox[{
       RowBox[{"1", "/", "2"}], "*", 
       RowBox[{"g3u", "[", 
        RowBox[{"[", 
         RowBox[{"k", ",", "l"}], "]"}], "]"}], "*", 
       RowBox[{"(", 
        RowBox[{
         RowBox[{
          RowBox[{"g3diff", "[", 
           RowBox[{"[", "i", "]"}], "]"}], "[", 
          RowBox[{"[", 
           RowBox[{"j", ",", "l"}], "]"}], "]"}], "+", 
         RowBox[{
          RowBox[{"g3diff", "[", 
           RowBox[{"[", "j", "]"}], "]"}], "[", 
          RowBox[{"[", 
           RowBox[{"i", ",", "l"}], "]"}], "]"}], "-", 
         RowBox[{
          RowBox[{"g3diff", "[", 
           RowBox[{"[", "l", "]"}], "]"}], "[", 
          RowBox[{"[", 
           RowBox[{"i", ",", "j"}], "]"}], "]"}]}], ")"}], "*", 
       RowBox[{"bbeta", "[", 
        RowBox[{"[", "k", "]"}], "]"}]}], ",", 
      RowBox[{"{", 
       RowBox[{"k", ",", "3"}], "}"}], ",", 
      RowBox[{"{", 
       RowBox[{"l", ",", "3"}], "}"}]}], "]"}], ",", 
    RowBox[{"{", 
     RowBox[{"i", ",", "3"}], "}"}], ",", 
    RowBox[{"{", 
     RowBox[{"j", ",", "3"}], "}"}]}], "]"}]}]], "Input",
 CellChangeTimes->{{3.541407259375214*^9, 3.541407310526156*^9}, 
   3.541407527171105*^9, {3.541408223327443*^9, 3.541408315725686*^9}, {
   3.54140835840478*^9, 3.541408488907057*^9}, {3.541408591554949*^9, 
   3.541408641405265*^9}, {3.541408706675763*^9, 3.541408716630164*^9}, {
   3.541408795207923*^9, 3.5414088035820436`*^9}, {3.5414088523415213`*^9, 
   3.541408982237076*^9}, 3.5414090560364122`*^9, {3.54140915459509*^9, 
   3.541409166780575*^9}, {3.54140921014863*^9, 3.541409244803606*^9}, {
   3.541411331885972*^9, 3.541411350959804*^9}, {3.541491196736491*^9, 
   3.541491196874372*^9}}],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"Dbeta", " ", "=", " ", 
  RowBox[{"FullSimplify", "[", 
   RowBox[{"Table", "[", 
    RowBox[{
     RowBox[{
      RowBox[{"D", "[", 
       RowBox[{
        RowBox[{"bbeta", "[", 
         RowBox[{"[", "i", "]"}], "]"}], ",", "j", ",", 
        RowBox[{"NonConstants", "\[Rule]", 
         RowBox[{"{", "r", "}"}]}]}], "]"}], "/.", 
      RowBox[{"{", 
       RowBox[{
        RowBox[{
         RowBox[{
          RowBox[{"R", "'"}], "[", "r", "]"}], "\[Rule]", 
         RowBox[{
          RowBox[{"R", "[", "r", "]"}], "*", 
          RowBox[{"alpha", "/", 
           RowBox[{"(", "r", ")"}]}]}]}], ",", 
        RowBox[{
         RowBox[{"D", "[", 
          RowBox[{"r", ",", "z", ",", 
           RowBox[{"NonConstants", "\[Rule]", 
            RowBox[{"{", "r", "}"}]}]}], "]"}], "\[Rule]", 
         RowBox[{"z", "/", "r"}]}], ",", 
        RowBox[{
         RowBox[{"D", "[", 
          RowBox[{"r", ",", "x", ",", 
           RowBox[{"NonConstants", "\[Rule]", 
            RowBox[{"{", "r", "}"}]}]}], "]"}], "\[Rule]", 
         RowBox[{"x", "/", "r"}]}], ",", 
        RowBox[{
         RowBox[{"D", "[", 
          RowBox[{"r", ",", "y", ",", 
           RowBox[{"NonConstants", "\[Rule]", 
            RowBox[{"{", "r", "}"}]}]}], "]"}], "\[Rule]", 
         RowBox[{"y", "/", "r"}]}]}], "}"}]}], ",", 
     RowBox[{"{", 
      RowBox[{"i", ",", "3"}], "}"}], ",", 
     RowBox[{"{", 
      RowBox[{"j", ",", 
       RowBox[{"{", 
        RowBox[{"x", ",", "y", ",", "z"}], "}"}]}], "}"}]}], "]"}], 
   "]"}]}]], "Input",
 CellChangeTimes->{{3.5414135046567793`*^9, 3.541413520732307*^9}, {
   3.541413560650477*^9, 3.541413627625822*^9}, {3.541413658200732*^9, 
   3.5414136887418222`*^9}, {3.541413860975049*^9, 3.541413865563333*^9}, {
   3.541413895894105*^9, 3.541414042262004*^9}, 3.541491352776266*^9, {
   3.541653270790123*^9, 3.541653274140605*^9}}],

Cell[OutputFormData["\<\
{{(-2*beta*C^2*x*(-r^2 + x^2 + y^2 + z^2)*(1 + 2*Sqrt[1 + C^2/R[r]^4 - \
(2*M)/R[r]]) + 
    (-((1 + beta^2)*C*(r^2 - x^2*(2 + Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]]))) - \
2*beta*M*r^2*x*Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]])*R[r]^3 + 
    2*beta*x*(-1 + Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]])*R[r]^6)/((-1 + \
beta^2)*r^4*R[r]^4), 
  (-2*beta*C^2*y*(-r^2 + x^2 + y^2 + z^2)*(1 + 2*Sqrt[1 + C^2/R[r]^4 - \
(2*M)/R[r]]) + 
    y*R[r]^3*((1 + beta^2)*C*x*(2 + Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]]) - \
2*beta*M*r^2*Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]] + 
      2*beta*(-1 + Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]])*R[r]^3))/((-1 + \
beta^2)*r^4*R[r]^4), 
  (-2*beta*C^2*z*(-r^2 + x^2 + y^2 + z^2)*(1 + 2*Sqrt[1 + C^2/R[r]^4 - \
(2*M)/R[r]]) + 
    z*R[r]^3*((1 + beta^2)*C*x*(2 + Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]]) - \
2*beta*M*r^2*Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]] + 
      2*beta*(-1 + Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]])*R[r]^3))/((-1 + \
beta^2)*r^4*R[r]^4)}, 
 {-((C*x*y*(2 + Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]]))/(Sqrt[1 - \
beta^2]*r^4*R[r])), (C*(r^2 - y^2*(2 + Sqrt[1 + C^2/R[r]^4 - \
(2*M)/R[r]])))/(Sqrt[1 - beta^2]*r^4*R[r]), 
  -((C*y*z*(2 + Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]]))/(Sqrt[1 - \
beta^2]*r^4*R[r]))}, {-((C*x*z*(2 + Sqrt[1 + C^2/R[r]^4 - \
(2*M)/R[r]]))/(Sqrt[1 - beta^2]*r^4*R[r])), 
  -((C*y*z*(2 + Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]]))/(Sqrt[1 - \
beta^2]*r^4*R[r])), (C*(r^2 - z^2*(2 + Sqrt[1 + C^2/R[r]^4 - \
(2*M)/R[r]])))/(Sqrt[1 - beta^2]*r^4*R[r])}}\
\>", "\<\
                                                       2
            2      2    2    2    2                   C      2 M
{{(-2 beta C  x (-r  + x  + y  + z ) (1 + 2 Sqrt[1 + ----- - ----]) + 
                                                         4   R[r]
                                                     R[r]
 
                                                2                             \
            2                                              2
                  2      2    2                C      2 M                  2  \
           C      2 M        3                            C      2 M        6
      (-((1 + beta ) C (r  - x  (2 + Sqrt[1 + ----- - ----]))) - 2 beta M r  \
x Sqrt[1 + ----- - ----]) R[r]  + 2 beta x (-1 + Sqrt[1 + ----- - ----]) R[r] \
) / 
                                                  4   R[r]                    \
              4   R[r]                                       4   R[r]
                                              R[r]                            \
          R[r]                                           R[r]
 
                                                                              \
    2
               2   4     4             2      2    2    2    2                \
   C      2 M
    ((-1 + beta ) r  R[r] ), (-2 beta C  y (-r  + x  + y  + z ) (1 + 2 Sqrt[1 \
+ ----- - ----]) + 
                                                                              \
      4   R[r]
                                                                              \
  R[r]
 
                                               2                              \
       2                                     2
            3           2                     C      2 M                2     \
      C      2 M                            C      2 M        3
      y R[r]  ((1 + beta ) C x (2 + Sqrt[1 + ----- - ----]) - 2 beta M r  \
Sqrt[1 + ----- - ----] + 2 beta (-1 + Sqrt[1 + ----- - ----]) R[r] )) / 
                                                 4   R[r]                     \
         4   R[r]                              4   R[r]
                                             R[r]                             \
     R[r]                                  R[r]
 
                                                                              \
    2
               2   4     4             2      2    2    2    2                \
   C      2 M
    ((-1 + beta ) r  R[r] ), (-2 beta C  z (-r  + x  + y  + z ) (1 + 2 Sqrt[1 \
+ ----- - ----]) + 
                                                                              \
      4   R[r]
                                                                              \
  R[r]
 
                                               2                              \
       2                                     2
            3           2                     C      2 M                2     \
      C      2 M                            C      2 M        3
      z R[r]  ((1 + beta ) C x (2 + Sqrt[1 + ----- - ----]) - 2 beta M r  \
Sqrt[1 + ----- - ----] + 2 beta (-1 + Sqrt[1 + ----- - ----]) R[r] )) / 
                                                 4   R[r]                     \
         4   R[r]                              4   R[r]
                                             R[r]                             \
     R[r]                                  R[r]
 
                                                       2                      \
                   2                                      2
                                                      C      2 M          2   \
 2                C      2 M                             C      2 M
                                 C x y (2 + Sqrt[1 + ----- - ----])   C (r  - \
y  (2 + Sqrt[1 + ----- - ----]))    C y z (2 + Sqrt[1 + ----- - ----])
                                                         4   R[r]             \
                     4   R[r]                               4   R[r]
               2   4     4                           R[r]                     \
                 R[r]                                   R[r]
    ((-1 + beta ) r  R[r] )}, {-(----------------------------------), \
----------------------------------------, \
-(----------------------------------)}, 
                                                   2   4                      \
             2   4                                    2   4
                                      Sqrt[1 - beta ] r  R[r]                 \
Sqrt[1 - beta ] r  R[r]                  Sqrt[1 - beta ] r  R[r]
 
                           2                                      2           \
                              2
                          C      2 M                             C      2 M   \
       2    2                C      2 M
     C x z (2 + Sqrt[1 + ----- - ----])     C y z (2 + Sqrt[1 + ----- - \
----])   C (r  - z  (2 + Sqrt[1 + ----- - ----]))
                             4   R[r]                               4   R[r]  \
                                4   R[r]
                         R[r]                                   R[r]          \
                            R[r]
  {-(----------------------------------), \
-(----------------------------------), \
----------------------------------------}}
                       2   4                                  2   4           \
                        2   4
          Sqrt[1 - beta ] r  R[r]                Sqrt[1 - beta ] r  R[r]      \
           Sqrt[1 - beta ] r  R[r]\
\>"], "Output",
 CellChangeTimes->{3.5414913608543873`*^9, 3.5414917545772123`*^9, 
  3.541522074603095*^9, 3.5415653581570053`*^9, 3.541565842812215*^9, 
  3.541566164039706*^9, 3.5415668963680162`*^9, 3.541568770309145*^9, 
  3.54157189097235*^9, 3.541573655439375*^9, 3.541576226550655*^9, 
  3.541576525743513*^9, 3.541650670025827*^9, 3.5416507115342493`*^9, 
  3.541653279624494*^9, 3.541659142523543*^9, 3.5416694933816967`*^9}]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{
  RowBox[{"Dbeta", "[", 
   RowBox[{"[", 
    RowBox[{"All", ",", "1"}], "]"}], "]"}], "=", 
  RowBox[{
   RowBox[{"Dbeta", "[", 
    RowBox[{"[", 
     RowBox[{"All", ",", "1"}], "]"}], "]"}], "*", "gamma"}]}]], "Input",
 CellChangeTimes->{{3.541491364187389*^9, 3.541491382802622*^9}, 
   3.541566902491549*^9}],

Cell[OutputFormData["\<\
{(-2*beta*C^2*x*(-r^2 + x^2 + y^2 + z^2)*(1 + 2*Sqrt[1 + C^2/R[r]^4 - \
(2*M)/R[r]]) + 
   (-((1 + beta^2)*C*(r^2 - x^2*(2 + Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]]))) - \
2*beta*M*r^2*x*Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]])*R[r]^3 + 
   2*beta*x*(-1 + Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]])*R[r]^6)/(Sqrt[1 - \
beta^2]*(-1 + beta^2)*r^4*R[r]^4), 
 -((C*x*y*(2 + Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]]))/((1 - beta^2)*r^4*R[r])), \
-((C*x*z*(2 + Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]]))/((1 - beta^2)*r^4*R[r]))}\
\>", "\<\
                                                      2
           2      2    2    2    2                   C      2 M
{(-2 beta C  x (-r  + x  + y  + z ) (1 + 2 Sqrt[1 + ----- - ----]) + 
                                                        4   R[r]
                                                    R[r]
 
                                               2                              \
           2                                              2
                 2      2    2                C      2 M                  2   \
          C      2 M        3                            C      2 M        6
     (-((1 + beta ) C (r  - x  (2 + Sqrt[1 + ----- - ----]))) - 2 beta M r  x \
Sqrt[1 + ----- - ----]) R[r]  + 2 beta x (-1 + Sqrt[1 + ----- - ----]) R[r] ) \
/ 
                                                 4   R[r]                     \
             4   R[r]                                       4   R[r]
                                             R[r]                             \
         R[r]                                           R[r]
 
                                                                    2         \
                             2
                                                                   C      2 M \
                            C      2 M
                                              C x y (2 + Sqrt[1 + ----- - \
----])     C x z (2 + Sqrt[1 + ----- - ----])
                                                                      4   \
R[r]                               4   R[r]
                 2            2   4     4                         R[r]        \
                           R[r]
   (Sqrt[1 - beta ] (-1 + beta ) r  R[r] ), \
-(----------------------------------), -(----------------------------------)}
                                                              2   4           \
                       2   4
                                                     (1 - beta ) r  R[r]      \
              (1 - beta ) r  R[r]\
\>"], "Output",
 CellChangeTimes->{3.541491383696937*^9, 3.5415220781391897`*^9, 
  3.541565846794992*^9, 3.541566176805335*^9, 3.541566906067164*^9, 
  3.541568799285861*^9, 3.541571893799857*^9, 3.541573658120102*^9, 
  3.541576228269662*^9, 3.541576534368664*^9, 3.5416507159632397`*^9, 
  3.541653282067799*^9, 3.54165914794071*^9, 3.541669504568797*^9}]
}, Open  ]],

Cell[BoxData[
 RowBox[{"K", ":=", 
  RowBox[{"Table", "[", 
   RowBox[{
    RowBox[{
     RowBox[{"1", "/", 
      RowBox[{"(", 
       RowBox[{"2", "*", "aalpha"}], ")"}]}], "*", 
     RowBox[{"(", 
      RowBox[{
       RowBox[{"beta", "*", 
        RowBox[{"g3dx", "[", 
         RowBox[{"[", 
          RowBox[{"i", ",", "j"}], "]"}], "]"}]}], "+", 
       RowBox[{"Dbeta", "[", 
        RowBox[{"[", 
         RowBox[{"i", ",", "j"}], "]"}], "]"}], "-", 
       RowBox[{"G", "[", 
        RowBox[{"[", 
         RowBox[{"i", ",", "j"}], "]"}], "]"}], "+", 
       RowBox[{"Dbeta", "[", 
        RowBox[{"[", 
         RowBox[{"j", ",", "i"}], "]"}], "]"}], "-", 
       RowBox[{"G", "[", 
        RowBox[{"[", 
         RowBox[{"j", ",", "i"}], "]"}], "]"}]}], ")"}]}], ",", 
    RowBox[{"{", 
     RowBox[{"i", ",", "3"}], "}"}], ",", 
    RowBox[{"{", 
     RowBox[{"j", ",", "3"}], "}"}]}], "]"}]}]], "Input",
 CellChangeTimes->{{3.54141422395354*^9, 3.5414143223670197`*^9}, {
   3.541414361138858*^9, 3.541414403010789*^9}, {3.541491428085569*^9, 
   3.541491430682425*^9}, {3.541491470357881*^9, 3.541491473762384*^9}, {
   3.5415669323933067`*^9, 3.5415669347687483`*^9}, 3.541650719124674*^9, 
   3.541669536464787*^9}],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"KK", "=", 
  RowBox[{
   RowBox[{"FullSimplify", "[", "K", "]"}], "/.", 
   RowBox[{"{", 
    RowBox[{
     RowBox[{"r", "^", "2"}], "\[Rule]", 
     RowBox[{
      RowBox[{"x", "^", "2"}], "+", 
      RowBox[{"y", "^", "2"}], "+", 
      RowBox[{"z", "^", "2"}]}]}], "}"}]}]}]], "Input",
 CellChangeTimes->{{3.5414914805661373`*^9, 3.541491535504921*^9}, {
  3.541491566316037*^9, 3.5414915746432867`*^9}, {3.54152312708692*^9, 
  3.54152315393946*^9}, {3.541565859908424*^9, 3.5415659005325747`*^9}, {
  3.541573665884598*^9, 3.541573669055928*^9}, {3.54157599958922*^9, 
  3.541576013023212*^9}}],

Cell[OutputFormData["\<\
{{-((Sqrt[((-1 + beta^2)*R[r]^2*(C^2 - 2*M*R[r]^3 + R[r]^4))/(beta^2*C^2*(r - \
x)*(r + x) + 2*beta*(C*x - beta*M*(x^2 + y^2 + z^2))*R[r]^3 + 
        beta^2*(x^2 + y^2 + z^2)*R[r]^4 - R[r]^6)]*
     (beta*(-(C^2*x*(3*(x^2 + y^2 + z^2) + (x^2 + y^2 + z^2)*(-2 - 5*Sqrt[1 + \
C^2/R[r]^4 - (2*M)/R[r]]) + 3*(2*x^2 + y^2 + z^2)*Sqrt[1 + C^2/R[r]^4 - \
(2*M)/R[r]])) - 
        2*beta^2*M^2*r^4*x*Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]] + beta*C*M*(x^2 \
+ y^2 + z^2)*(3*x^2 + y^2 + z^2)*Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]])*R[r]^3 + 
      beta^3*M*r^4*x*Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]]*R[r]^4 + (C*(-x^2 - \
y^2 - z^2 - (y^2 + z^2)*(-1 + Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]]) + 
          x^2*(1 + 2*Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]])) + 2*beta*M*x*(x^2 + \
y^2 + z^2)*(1 - 2*Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]]))*R[r]^6 + 
      beta*x*(x^2 + y^2 + z^2)*(-1 + Sqrt[1 + C^2/R[r]^4 - \
(2*M)/R[r]])*R[r]^7))/((1 - beta^2)^(3/2)*r^4*R[r]^3*(C^2 - 2*M*R[r]^3 + \
R[r]^4))), 
  (y*(beta*C*(C*(y^2 + z^2 + x^2*(1 + 5*Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]]) + \
2*(y^2 + z^2)*Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]] - 
         3*(x^2 + y^2 + z^2)*Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]]) - \
beta*M*x*(x^2 + y^2 + z^2)*Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]])*R[r]^3 + 
     (beta*M*(x^2 + y^2 + z^2)*(-2 + 3*Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]]) - \
3*C*x*Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]])*R[r]^6 - 
     beta*(x^2 + y^2 + z^2)*(-1 + Sqrt[1 + C^2/R[r]^4 - \
(2*M)/R[r]])*R[r]^7))/
   (r^4*R[r]*Sqrt[((-1 + beta^2)*R[r]^2*(C^2 - 2*M*R[r]^3 + \
R[r]^4))/(beta^2*C^2*(r - x)*(r + x) + 2*beta*(C*x - beta*M*(x^2 + y^2 + \
z^2))*R[r]^3 + 
       beta^2*(x^2 + y^2 + z^2)*R[r]^4 - R[r]^6)]*(beta^2*C^2*(-y^2 - z^2) + \
2*beta*(-(C*x) + beta*M*(x^2 + y^2 + z^2))*R[r]^3 - beta^2*(x^2 + y^2 + \
z^2)*R[r]^4 + 
     R[r]^6)), 
  (z*(beta*C*(C*(y^2 + z^2 + x^2*(1 + 5*Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]]) + \
2*(y^2 + z^2)*Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]] - 
         3*(x^2 + y^2 + z^2)*Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]]) - \
beta*M*x*(x^2 + y^2 + z^2)*Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]])*R[r]^3 + 
     (beta*M*(x^2 + y^2 + z^2)*(-2 + 3*Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]]) - \
3*C*x*Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]])*R[r]^6 - 
     beta*(x^2 + y^2 + z^2)*(-1 + Sqrt[1 + C^2/R[r]^4 - \
(2*M)/R[r]])*R[r]^7))/
   (r^4*R[r]*Sqrt[((-1 + beta^2)*R[r]^2*(C^2 - 2*M*R[r]^3 + \
R[r]^4))/(beta^2*C^2*(r - x)*(r + x) + 2*beta*(C*x - beta*M*(x^2 + y^2 + \
z^2))*R[r]^3 + 
       beta^2*(x^2 + y^2 + z^2)*R[r]^4 - R[r]^6)]*(beta^2*C^2*(-y^2 - z^2) + \
2*beta*(-(C*x) + beta*M*(x^2 + y^2 + z^2))*R[r]^3 - beta^2*(x^2 + y^2 + \
z^2)*R[r]^4 + 
     R[r]^6))}, 
 {(y*(beta*C*(C*(y^2 + z^2 + x^2*(1 + 5*Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]]) + \
2*(y^2 + z^2)*Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]] - 
         3*(x^2 + y^2 + z^2)*Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]]) - \
beta*M*x*(x^2 + y^2 + z^2)*Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]])*R[r]^3 + 
     (beta*M*(x^2 + y^2 + z^2)*(-2 + 3*Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]]) - \
3*C*x*Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]])*R[r]^6 - 
     beta*(x^2 + y^2 + z^2)*(-1 + Sqrt[1 + C^2/R[r]^4 - \
(2*M)/R[r]])*R[r]^7))/
   (r^4*R[r]*Sqrt[((-1 + beta^2)*R[r]^2*(C^2 - 2*M*R[r]^3 + \
R[r]^4))/(beta^2*C^2*(r - x)*(r + x) + 2*beta*(C*x - beta*M*(x^2 + y^2 + \
z^2))*R[r]^3 + 
       beta^2*(x^2 + y^2 + z^2)*R[r]^4 - R[r]^6)]*(beta^2*C^2*(-y^2 - z^2) + \
2*beta*(-(C*x) + beta*M*(x^2 + y^2 + z^2))*R[r]^3 - beta^2*(x^2 + y^2 + \
z^2)*R[r]^4 + 
     R[r]^6)), (Sqrt[((-1 + beta^2)*R[r]^2*(C^2 - 2*M*R[r]^3 + \
R[r]^4))/(beta^2*C^2*(r - x)*(r + x) + 2*beta*(C*x - beta*M*(x^2 + y^2 + \
z^2))*R[r]^3 + 
       beta^2*(x^2 + y^2 + z^2)*R[r]^4 - R[r]^6)]*(beta*C^2*x*(x^2 + y^2 + \
z^2 + (x^2 + y^2 + z^2)*(-2 + Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]]) - 
       (x^2 - 2*y^2 + z^2)*Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]]) + \
R[r]^3*(-2*beta*M*x*(x^2 + y^2 + z^2)*(-1 + Sqrt[1 + C^2/R[r]^4 - \
(2*M)/R[r]]) + 
       C*(x^2 + x^2*(-1 + Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]]) + (-2*y^2 + \
z^2)*Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]]) + 
       beta*x*(x^2 + y^2 + z^2)*(-1 + Sqrt[1 + C^2/R[r]^4 - \
(2*M)/R[r]])*R[r])))/(Sqrt[1 - beta^2]*r^4*(C^2 - 2*M*R[r]^3 + R[r]^4)), 
  (-3*C*y*z*Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]]*(-(beta*C*x) + \
R[r]^3)*Sqrt[((-1 + beta^2)*R[r]^2*(C^2 - 2*M*R[r]^3 + R[r]^4))/
      (beta^2*C^2*(r - x)*(r + x) + 2*beta*(C*x - beta*M*(x^2 + y^2 + \
z^2))*R[r]^3 + beta^2*(x^2 + y^2 + z^2)*R[r]^4 - R[r]^6)])/
   (Sqrt[1 - beta^2]*r^4*(C^2 - 2*M*R[r]^3 + R[r]^4))}, 
 {(z*(beta*C*(C*(y^2 + z^2 + x^2*(1 + 5*Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]]) + \
2*(y^2 + z^2)*Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]] - 
         3*(x^2 + y^2 + z^2)*Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]]) - \
beta*M*x*(x^2 + y^2 + z^2)*Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]])*R[r]^3 + 
     (beta*M*(x^2 + y^2 + z^2)*(-2 + 3*Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]]) - \
3*C*x*Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]])*R[r]^6 - 
     beta*(x^2 + y^2 + z^2)*(-1 + Sqrt[1 + C^2/R[r]^4 - \
(2*M)/R[r]])*R[r]^7))/
   (r^4*R[r]*Sqrt[((-1 + beta^2)*R[r]^2*(C^2 - 2*M*R[r]^3 + \
R[r]^4))/(beta^2*C^2*(r - x)*(r + x) + 2*beta*(C*x - beta*M*(x^2 + y^2 + \
z^2))*R[r]^3 + 
       beta^2*(x^2 + y^2 + z^2)*R[r]^4 - R[r]^6)]*(beta^2*C^2*(-y^2 - z^2) + \
2*beta*(-(C*x) + beta*M*(x^2 + y^2 + z^2))*R[r]^3 - beta^2*(x^2 + y^2 + \
z^2)*R[r]^4 + 
     R[r]^6)), (-3*C*y*z*Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]]*(-(beta*C*x) + \
R[r]^3)*
    Sqrt[((-1 + beta^2)*R[r]^2*(C^2 - 2*M*R[r]^3 + R[r]^4))/(beta^2*C^2*(r - \
x)*(r + x) + 2*beta*(C*x - beta*M*(x^2 + y^2 + z^2))*R[r]^3 + 
       beta^2*(x^2 + y^2 + z^2)*R[r]^4 - R[r]^6)])/(Sqrt[1 - beta^2]*r^4*(C^2 \
- 2*M*R[r]^3 + R[r]^4)), 
  (Sqrt[((-1 + beta^2)*R[r]^2*(C^2 - 2*M*R[r]^3 + R[r]^4))/(beta^2*C^2*(r - \
x)*(r + x) + 2*beta*(C*x - beta*M*(x^2 + y^2 + z^2))*R[r]^3 + 
       beta^2*(x^2 + y^2 + z^2)*R[r]^4 - R[r]^6)]*(beta*C^2*x*(x^2 + y^2 + \
z^2 + (x^2 + y^2 + z^2)*(-2 + Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]]) - 
       (x^2 + y^2 - 2*z^2)*Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]]) + \
R[r]^3*(-2*beta*M*x*(x^2 + y^2 + z^2)*(-1 + Sqrt[1 + C^2/R[r]^4 - \
(2*M)/R[r]]) + 
       C*(x^2 + x^2*(-1 + Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]]) + (y^2 - \
2*z^2)*Sqrt[1 + C^2/R[r]^4 - (2*M)/R[r]]) + 
       beta*x*(x^2 + y^2 + z^2)*(-1 + Sqrt[1 + C^2/R[r]^4 - \
(2*M)/R[r]])*R[r])))/(Sqrt[1 - beta^2]*r^4*(C^2 - 2*M*R[r]^3 + R[r]^4))}}\
\>", "\<\
                                                   2      2   2           3   \
    4
                                         (-1 + beta ) R[r]  (C  - 2 M R[r]  + \
R[r] )
{{-((Sqrt[--------------------------------------------------------------------\
--------------------------------------] 
              2  2                                          2    2    2       \
3       2   2    2    2      4       6
          beta  C  (r - x) (r + x) + 2 beta (C x - beta M (x  + y  + z )) \
R[r]  + beta  (x  + y  + z ) R[r]  - R[r]
 
                                                                            2 \
                                           2
                  2        2    2    2      2    2    2                    C  \
    2 M            2    2    2            C      2 M
        (beta (-(C  x (3 (x  + y  + z ) + (x  + y  + z ) (-2 - 5 Sqrt[1 + \
----- - ----]) + 3 (2 x  + y  + z ) Sqrt[1 + ----- - ----])) - 
                                                                              \
4   R[r]                                     4   R[r]
                                                                          R[r]\
                                         R[r]
 
                                        2                                     \
                            2
                   2  2  4             C      2 M                2    2    2  \
    2    2    2            C      2 M        3
             2 beta  M  r  x Sqrt[1 + ----- - ----] + beta C M (x  + y  + z ) \
(3 x  + y  + z ) Sqrt[1 + ----- - ----]) R[r]  + 
                                          4   R[r]                            \
                              4   R[r]
                                      R[r]                                    \
                          R[r]
 
                                  2                                           \
                       2                                   2
              3    4             C      2 M       4         2    2    2     2 \
   2                  C      2 M       2                  C      2 M
          beta  M r  x Sqrt[1 + ----- - ----] R[r]  + (C (-x  - y  - z  - (y  \
+ z ) (-1 + Sqrt[1 + ----- - ----]) + x  (1 + 2 Sqrt[1 + ----- - ----])) + 
                                    4   R[r]                                  \
                         4   R[r]                            4   R[r]
                                R[r]                                          \
                     R[r]                                R[r]
 
                                                         2                    \
                                        2
                          2    2    2                   C      2 M         6  \
          2    2    2                  C      2 M        7
             2 beta M x (x  + y  + z ) (1 - 2 Sqrt[1 + ----- - ----])) R[r]  \
+ beta x (x  + y  + z ) (-1 + Sqrt[1 + ----- - ----]) R[r] )) / 
                                                           4   R[r]           \
                                          4   R[r]
                                                       R[r]                   \
                                      R[r]
 
                2 3/2  4     3   2           3       4
      ((1 - beta )    r  R[r]  (C  - 2 M R[r]  + R[r] ))), (y (beta C 
 
                                            2                                 \
    2                                         2
              2    2    2                  C      2 M          2    2         \
   C      2 M         2    2    2            C      2 M
         (C (y  + z  + x  (1 + 5 Sqrt[1 + ----- - ----]) + 2 (y  + z ) Sqrt[1 \
+ ----- - ----] - 3 (x  + y  + z ) Sqrt[1 + ----- - ----]) - 
                                              4   R[r]                        \
      4   R[r]                                  4   R[r]
                                          R[r]                                \
  R[r]                                      R[r]
 
                                              2                               \
                               2                               2
                      2    2    2            C      2 M        3             \
2    2    2                    C      2 M                      C      2 M     \
   6
           beta M x (x  + y  + z ) Sqrt[1 + ----- - ----]) R[r]  + (beta M (x \
 + y  + z ) (-2 + 3 Sqrt[1 + ----- - ----]) - 3 C x Sqrt[1 + ----- - ----]) \
R[r]  - 
                                                4   R[r]                      \
                                 4   R[r]                        4   R[r]
                                            R[r]                              \
                             R[r]                            R[r]
 
                                             2
               2    2    2                  C      2 M        7
        beta (x  + y  + z ) (-1 + Sqrt[1 + ----- - ----]) R[r] )) / 
                                               4   R[r]
                                           R[r]
 
                                                           2      2   2       \
    3       4
      4                                          (-1 + beta ) R[r]  (C  - 2 M \
R[r]  + R[r] )
    (r  R[r] \
Sqrt[-------------------------------------------------------------------------\
---------------------------------] 
                      2  2                                          2    2    \
2       3       2   2    2    2      4       6
                  beta  C  (r - x) (r + x) + 2 beta (C x - beta M (x  + y  + \
z )) R[r]  + beta  (x  + y  + z ) R[r]  - R[r]
 
           2  2    2    2                              2    2    2       3    \
   2   2    2    2      4       6
      (beta  C  (-y  - z ) + 2 beta (-(C x) + beta M (x  + y  + z )) R[r]  - \
beta  (x  + y  + z ) R[r]  + R[r] )), 
 
                                                 2                            \
         2                                         2
                   2    2    2                  C      2 M          2    2    \
        C      2 M         2    2    2            C      2 M
   (z (beta C (C (y  + z  + x  (1 + 5 Sqrt[1 + ----- - ----]) + 2 (y  + z ) \
Sqrt[1 + ----- - ----] - 3 (x  + y  + z ) Sqrt[1 + ----- - ----]) - 
                                                   4   R[r]                   \
           4   R[r]                                  4   R[r]
                                               R[r]                           \
       R[r]                                      R[r]
 
                                              2                               \
                               2                               2
                      2    2    2            C      2 M        3             \
2    2    2                    C      2 M                      C      2 M     \
   6
           beta M x (x  + y  + z ) Sqrt[1 + ----- - ----]) R[r]  + (beta M (x \
 + y  + z ) (-2 + 3 Sqrt[1 + ----- - ----]) - 3 C x Sqrt[1 + ----- - ----]) \
R[r]  - 
                                                4   R[r]                      \
                                 4   R[r]                        4   R[r]
                                            R[r]                              \
                             R[r]                            R[r]
 
                                             2
               2    2    2                  C      2 M        7
        beta (x  + y  + z ) (-1 + Sqrt[1 + ----- - ----]) R[r] )) / 
                                               4   R[r]
                                           R[r]
 
                                                           2      2   2       \
    3       4
      4                                          (-1 + beta ) R[r]  (C  - 2 M \
R[r]  + R[r] )
    (r  R[r] \
Sqrt[-------------------------------------------------------------------------\
---------------------------------] 
                      2  2                                          2    2    \
2       3       2   2    2    2      4       6
                  beta  C  (r - x) (r + x) + 2 beta (C x - beta M (x  + y  + \
z )) R[r]  + beta  (x  + y  + z ) R[r]  - R[r]
 
           2  2    2    2                              2    2    2       3    \
   2   2    2    2      4       6
      (beta  C  (-y  - z ) + 2 beta (-(C x) + beta M (x  + y  + z )) R[r]  - \
beta  (x  + y  + z ) R[r]  + R[r] ))}, 
 
                                                 2                            \
         2                                         2
                   2    2    2                  C      2 M          2    2    \
        C      2 M         2    2    2            C      2 M
  {(y (beta C (C (y  + z  + x  (1 + 5 Sqrt[1 + ----- - ----]) + 2 (y  + z ) \
Sqrt[1 + ----- - ----] - 3 (x  + y  + z ) Sqrt[1 + ----- - ----]) - 
                                                   4   R[r]                   \
           4   R[r]                                  4   R[r]
                                               R[r]                           \
       R[r]                                      R[r]
 
                                              2                               \
                               2                               2
                      2    2    2            C      2 M        3             \
2    2    2                    C      2 M                      C      2 M     \
   6
           beta M x (x  + y  + z ) Sqrt[1 + ----- - ----]) R[r]  + (beta M (x \
 + y  + z ) (-2 + 3 Sqrt[1 + ----- - ----]) - 3 C x Sqrt[1 + ----- - ----]) \
R[r]  - 
                                                4   R[r]                      \
                                 4   R[r]                        4   R[r]
                                            R[r]                              \
                             R[r]                            R[r]
 
                                             2
               2    2    2                  C      2 M        7
        beta (x  + y  + z ) (-1 + Sqrt[1 + ----- - ----]) R[r] )) / 
                                               4   R[r]
                                           R[r]
 
                                                           2      2   2       \
    3       4
      4                                          (-1 + beta ) R[r]  (C  - 2 M \
R[r]  + R[r] )
    (r  R[r] \
Sqrt[-------------------------------------------------------------------------\
---------------------------------] 
                      2  2                                          2    2    \
2       3       2   2    2    2      4       6
                  beta  C  (r - x) (r + x) + 2 beta (C x - beta M (x  + y  + \
z )) R[r]  + beta  (x  + y  + z ) R[r]  - R[r]
 
           2  2    2    2                              2    2    2       3    \
   2   2    2    2      4       6
      (beta  C  (-y  - z ) + 2 beta (-(C x) + beta M (x  + y  + z )) R[r]  - \
beta  (x  + y  + z ) R[r]  + R[r] )), 
 
                                                  2      2   2           3    \
   4
                                        (-1 + beta ) R[r]  (C  - 2 M R[r]  + \
R[r] )
   (Sqrt[---------------------------------------------------------------------\
-------------------------------------] 
             2  2                                          2    2    2       \
3       2   2    2    2      4       6
         beta  C  (r - x) (r + x) + 2 beta (C x - beta M (x  + y  + z )) R[r] \
 + beta  (x  + y  + z ) R[r]  - R[r]
 
                                                                 2            \
                              2
             2     2    2    2     2    2    2                  C      2 M    \
    2      2    2            C      2 M
      (beta C  x (x  + y  + z  + (x  + y  + z ) (-2 + Sqrt[1 + ----- - ----]) \
- (x  - 2 y  + z ) Sqrt[1 + ----- - ----]) + 
                                                                   4   R[r]   \
                                4   R[r]
                                                               R[r]           \
                            R[r]
 
                                                           2                  \
                        2                                      2
            3                2    2    2                  C      2 M          \
2    2                 C      2 M           2    2            C      2 M
        R[r]  (-2 beta M x (x  + y  + z ) (-1 + Sqrt[1 + ----- - ----]) + C \
(x  + x  (-1 + Sqrt[1 + ----- - ----]) + (-2 y  + z ) Sqrt[1 + ----- - ----]) \
+ 
                                                             4   R[r]         \
                          4   R[r]                               4   R[r]
                                                         R[r]                 \
                      R[r]                                   R[r]
 
                                                  2
                    2    2    2                  C      2 M                   \
         2   4   2           3       4
           beta x (x  + y  + z ) (-1 + Sqrt[1 + ----- - ----]) R[r]))) / \
(Sqrt[1 - beta ] r  (C  - 2 M R[r]  + R[r] )), 
                                                    4   R[r]
                                                R[r]
 
                       2
                      C      2 M                      3
   -3 C y z Sqrt[1 + ----- - ----] (-(beta C x) + R[r] ) Sqrt[
                         4   R[r]
                     R[r]
    
                                                2      2   2           3      \
 4
                                      (-1 + beta ) R[r]  (C  - 2 M R[r]  + \
R[r] )
       -----------------------------------------------------------------------\
-----------------------------------]
           2  2                                          2    2    2       3  \
     2   2    2    2      4       6
       beta  C  (r - x) (r + x) + 2 beta (C x - beta M (x  + y  + z )) R[r]  \
+ beta  (x  + y  + z ) R[r]  - R[r]
   ---------------------------------------------------------------------------\
------------------------------------------------------------------------------\
-------------
                                                                             2\
   4   2           3       4
                                                                Sqrt[1 - beta \
] r  (C  - 2 M R[r]  + R[r] )
 
                                                      2                       \
              2                                         2
                        2    2    2                  C      2 M          2    \
2            C      2 M         2    2    2            C      2 M
    }, {(z (beta C (C (y  + z  + x  (1 + 5 Sqrt[1 + ----- - ----]) + 2 (y  + \
z ) Sqrt[1 + ----- - ----] - 3 (x  + y  + z ) Sqrt[1 + ----- - ----]) - 
                                                        4   R[r]              \
                4   R[r]                                  4   R[r]
                                                    R[r]                      \
            R[r]                                      R[r]
 
                                              2                               \
                               2                               2
                      2    2    2            C      2 M        3             \
2    2    2                    C      2 M                      C      2 M     \
   6
           beta M x (x  + y  + z ) Sqrt[1 + ----- - ----]) R[r]  + (beta M (x \
 + y  + z ) (-2 + 3 Sqrt[1 + ----- - ----]) - 3 C x Sqrt[1 + ----- - ----]) \
R[r]  - 
                                                4   R[r]                      \
                                 4   R[r]                        4   R[r]
                                            R[r]                              \
                             R[r]                            R[r]
 
                                             2
               2    2    2                  C      2 M        7
        beta (x  + y  + z ) (-1 + Sqrt[1 + ----- - ----]) R[r] )) / 
                                               4   R[r]
                                           R[r]
 
                                                           2      2   2       \
    3       4
      4                                          (-1 + beta ) R[r]  (C  - 2 M \
R[r]  + R[r] )
    (r  R[r] \
Sqrt[-------------------------------------------------------------------------\
---------------------------------] 
                      2  2                                          2    2    \
2       3       2   2    2    2      4       6
                  beta  C  (r - x) (r + x) + 2 beta (C x - beta M (x  + y  + \
z )) R[r]  + beta  (x  + y  + z ) R[r]  - R[r]
 
           2  2    2    2                              2    2    2       3    \
   2   2    2    2      4       6
      (beta  C  (-y  - z ) + 2 beta (-(C x) + beta M (x  + y  + z )) R[r]  - \
beta  (x  + y  + z ) R[r]  + R[r] )), 
 
                       2
                      C      2 M                      3
   -3 C y z Sqrt[1 + ----- - ----] (-(beta C x) + R[r] ) Sqrt[
                         4   R[r]
                     R[r]
    
                                                2      2   2           3      \
 4
                                      (-1 + beta ) R[r]  (C  - 2 M R[r]  + \
R[r] )
       -----------------------------------------------------------------------\
-----------------------------------]
           2  2                                          2    2    2       3  \
     2   2    2    2      4       6
       beta  C  (r - x) (r + x) + 2 beta (C x - beta M (x  + y  + z )) R[r]  \
+ beta  (x  + y  + z ) R[r]  - R[r]
   ---------------------------------------------------------------------------\
------------------------------------------------------------------------------\
-------------
                                                                             2\
   4   2           3       4
                                                                Sqrt[1 - beta \
] r  (C  - 2 M R[r]  + R[r] )
 
                                                     2      2   2           3 \
      4
                                           (-1 + beta ) R[r]  (C  - 2 M R[r]  \
+ R[r] )
    , (Sqrt[------------------------------------------------------------------\
----------------------------------------] 
                2  2                                          2    2    2     \
  3       2   2    2    2      4       6
            beta  C  (r - x) (r + x) + 2 beta (C x - beta M (x  + y  + z )) \
R[r]  + beta  (x  + y  + z ) R[r]  - R[r]
 
                                                                 2            \
                              2
             2     2    2    2     2    2    2                  C      2 M    \
    2    2      2            C      2 M
      (beta C  x (x  + y  + z  + (x  + y  + z ) (-2 + Sqrt[1 + ----- - ----]) \
- (x  + y  - 2 z ) Sqrt[1 + ----- - ----]) + 
                                                                   4   R[r]   \
                                4   R[r]
                                                               R[r]           \
                            R[r]
 
                                                           2                  \
                        2                                     2
            3                2    2    2                  C      2 M          \
2    2                 C      2 M        2      2            C      2 M
        R[r]  (-2 beta M x (x  + y  + z ) (-1 + Sqrt[1 + ----- - ----]) + C \
(x  + x  (-1 + Sqrt[1 + ----- - ----]) + (y  - 2 z ) Sqrt[1 + ----- - ----]) + 
                                                             4   R[r]         \
                          4   R[r]                              4   R[r]
                                                         R[r]                 \
                      R[r]                                  R[r]
 
                                                  2
                    2    2    2                  C      2 M                   \
         2   4   2           3       4
           beta x (x  + y  + z ) (-1 + Sqrt[1 + ----- - ----]) R[r]))) / \
(Sqrt[1 - beta ] r  (C  - 2 M R[r]  + R[r] ))}}
                                                    4   R[r]
                                                R[r]\
\>"], "Output",
 CellChangeTimes->{3.5415659162551613`*^9, 3.5415670154406013`*^9, 
  3.541568858667211*^9, 3.5415719548630667`*^9, 3.541573731918861*^9, 
  3.541576030889586*^9, 3.541576277931704*^9, 3.541576595673015*^9, 
  3.541650765091838*^9, 3.541653324871229*^9, 3.541659221800127*^9, 
  3.54166957932972*^9}]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"FullSimplify", "[", 
  RowBox[{
   RowBox[{"KK", "[", 
    RowBox[{"[", 
     RowBox[{"1", ",", "3"}], "]"}], "]"}], "/.", 
   RowBox[{"{", 
    RowBox[{"beta", "\[Rule]", "0"}], "}"}]}], "]"}]], "Input",
 CellChangeTimes->{{3.541575263897523*^9, 3.541575270303776*^9}, {
  3.541575301276211*^9, 3.541575304678358*^9}, {3.541575343858225*^9, 
  3.541575357692504*^9}, {3.54157604137838*^9, 3.541576051460884*^9}, {
  3.54165209894792*^9, 3.541652100910768*^9}, {3.541652175159631*^9, 
  3.541652175210434*^9}, {3.541652808490815*^9, 3.5416528107242107`*^9}, {
  3.541653334914645*^9, 3.541653335598914*^9}, {3.541653384003544*^9, 
  3.541653384830377*^9}, {3.5416593421904993`*^9, 3.541659342312196*^9}}],

Cell[OutputFormData["\<\
(-3*C*x*z)/(r^4*R[r])\
\>", "\<\
-3 C x z
--------
 4
r  R[r]\
\>"], "Output",
 CellChangeTimes->{3.54157605191965*^9, 3.541576301187193*^9, 
  3.541576603679607*^9, 3.5416507867271214`*^9, 3.541652102035613*^9, 
  3.541652175760277*^9, 3.541652812453547*^9, 3.5416533360248537`*^9, 
  3.541653385183237*^9, 3.541659241340852*^9, 3.541659342728558*^9}]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{
  RowBox[{"CForm", "[", 
   RowBox[{"FullSimplify", "[", 
    RowBox[{"KK", "[", 
     RowBox[{"[", 
      RowBox[{"2", ",", "3"}], "]"}], "]"}], "]"}], "]"}], "/.", 
  RowBox[{"{", 
   RowBox[{
    RowBox[{
     RowBox[{"R", "[", "r", "]"}], "\[Rule]", "R"}], ",", 
    RowBox[{"M", "\[Rule]", "MASS"}]}], "}"}]}]], "Input",
 CellChangeTimes->CompressedData["
1:eJxTTMoPSmViYGCQAGIQ7Z0h4sic/MqxuFHTCUQbhBl4g2iTE8b+IHr+pFt5
IHpbybV8EP36Sm8diP5msgJMv/MqbgbRC/51g+kjeos6QPQxPfFOEH3iu9BE
EF3wXhRMHzKZNB1Es+ZNB9PWlz2/aQFpsfcn/oPoZaszWbWBtNTMZjCt+E2N
G0Q3PQgB0+c8vgmB6A5rXmEQ/evze0kQbbP/C5iOOFIpB6KD/teC6TOLa8/r
Aumt+TPBdESa8S0QPavVDEyv3xh2D0TrJHY/BNExVlufguibUy+A6ReNJ96B
6JyYB2D62N3CW0ZA2m/H+jsgmmmm0EMQXblhyRMQ7Ra86AWIFgi/8QZEy9iv
/QCiw3Q2gmkuW9avILpbnBNMAwDRxLZ+
  "]],

Cell["\<\
(-3*C*Sqrt(1 + Power(C,2)/Power(R,4) - (2*MASS)/R)*(Power(R,3) - beta*C*x)*y*z*
     Sqrt(((-1 + Power(beta,2))*Power(R,2)*(Power(C,2) - 2*MASS*Power(R,3) + \
Power(R,4)))/
       (-Power(R,6) + Power(beta,2)*Power(C,2)*(r - x)*(r + x) + \
Power(beta,2)*Power(R,4)*(Power(x,2) + Power(y,2) + Power(z,2)) + 
         2*beta*Power(R,3)*(C*x - beta*MASS*(Power(x,2) + Power(y,2) + \
Power(z,2))))))/
   (Sqrt(1 - Power(beta,2))*Power(r,4)*(Power(C,2) - 2*MASS*Power(R,3) + \
Power(R,4)))\
\>", "Output",
 CellChangeTimes->{
  3.541572113644475*^9, {3.541572187630993*^9, 3.5415722179745502`*^9}, 
   3.5415724981770363`*^9, 3.5415726073312407`*^9, 3.5415726447101507`*^9, 
   3.5415726909153967`*^9, 3.541572746514616*^9, 3.541572798320188*^9, {
   3.541653453666379*^9, 3.5416535026673393`*^9}, 3.5416535510033216`*^9, 
   3.541653596991078*^9, 3.54165367433136*^9, {3.541653722246106*^9, 
   3.541653749013379*^9}, 3.5416592620393057`*^9, 3.541659306343055*^9, {
   3.541659351273757*^9, 3.5416594076604347`*^9}, 3.5416594419313107`*^9, 
   3.541659529013665*^9, 3.541669608978157*^9, {3.541669643694899*^9, 
   3.541669670981832*^9}, {3.541669720959494*^9, 3.541669735859336*^9}, {
   3.5416697765681667`*^9, 3.5416698011993017`*^9}}]
}, Open  ]],

Cell[BoxData[
 RowBox[{
  RowBox[{"Sum", "[", 
   RowBox[{
    RowBox[{
     RowBox[{"KK", "[", 
      RowBox[{"[", 
       RowBox[{"i", ",", "j"}], "]"}], "]"}], 
     RowBox[{"g3u", "[", 
      RowBox[{"[", 
       RowBox[{"i", ",", "j"}], "]"}], "]"}]}], ",", 
    RowBox[{"{", 
     RowBox[{"i", ",", "3"}], "}"}], ",", 
    RowBox[{"{", 
     RowBox[{"j", ",", "3"}], "}"}]}], "]"}], "-", 
  RowBox[{"Sum", "[", 
   RowBox[{
    RowBox[{
     RowBox[{
      RowBox[{"(", 
       RowBox[{"g3u", ".", "KK", ".", "g3u"}], ")"}], "[", 
      RowBox[{"[", 
       RowBox[{"i", ",", "j"}], "]"}], "]"}], 
     RowBox[{"KK", "[", 
      RowBox[{"[", 
       RowBox[{"i", ",", "j"}], "]"}], "]"}]}], ",", 
    RowBox[{"{", 
     RowBox[{"i", ",", "3"}], "}"}], ",", 
    RowBox[{"{", 
     RowBox[{"j", ",", "3"}], "}"}]}], "]"}]}]], "Input",
 CellChangeTimes->{{3.541497080925271*^9, 3.541497142282139*^9}, {
  3.5414971792901707`*^9, 3.541497201004222*^9}, {3.541497232025593*^9, 
  3.5414972603387737`*^9}, {3.541523114657205*^9, 3.541523114912692*^9}, {
  3.541556931292919*^9, 3.54155693146544*^9}}],

Cell[BoxData[""], "Input",
 CellChangeTimes->{{3.541567755294497*^9, 3.541567760710601*^9}}]
},
WindowSize->{1472, 1200},
WindowMargins->{{0, Automatic}, {Automatic, 0}},
FrontEndVersion->"7.0 for Linux x86 (64-bit) (February 25, 2009)",
StyleDefinitions->"Default.nb"
]
(* End of Notebook Content *)

(* Internal cache information *)
(*CellTagsOutline
CellTagsIndex->{}
*)
(*CellTagsIndex
CellTagsIndex->{}
*)
(*NotebookFileOutline
Notebook[{
Cell[545, 20, 137, 4, 32, "Input"],
Cell[685, 26, 407, 9, 32, "Input"],
Cell[1095, 37, 444, 10, 32, "Input"],
Cell[1542, 49, 440, 10, 32, "Input"],
Cell[1985, 61, 379, 11, 32, "Input"],
Cell[2367, 74, 327, 8, 32, "Input"],
Cell[2697, 84, 976, 28, 32, "Input"],
Cell[3676, 114, 803, 21, 32, "Input"],
Cell[4482, 137, 258, 5, 32, "Input"],
Cell[4743, 144, 300, 8, 32, "Input"],
Cell[5046, 154, 196, 4, 32, "Input"],
Cell[5245, 160, 948, 25, 32, "Input"],
Cell[6196, 187, 849, 24, 32, "Input"],
Cell[7048, 213, 1036, 27, 32, "Input"],
Cell[8087, 242, 234, 5, 32, "Input"],
Cell[8324, 249, 445, 10, 32, "Input"],
Cell[8772, 261, 511, 12, 32, "Input"],
Cell[9286, 275, 1826, 46, 32, "Input"],
Cell[CellGroupData[{
Cell[11137, 325, 1899, 50, 99, "Input"],
Cell[13039, 377, 7415, 132, 588, "Output"]
}, Open  ]],
Cell[CellGroupData[{
Cell[20491, 514, 337, 10, 32, "Input"],
Cell[20831, 526, 2882, 49, 238, "Output"]
}, Open  ]],
Cell[23728, 578, 1232, 34, 32, "Input"],
Cell[CellGroupData[{
Cell[24985, 616, 623, 15, 32, "Input"],
Cell[25611, 633, 27033, 490, 2337, "Output"]
}, Open  ]],
Cell[CellGroupData[{
Cell[52681, 1128, 728, 14, 32, "Input"],
Cell[53412, 1144, 377, 11, 69, "Output"]
}, Open  ]],
Cell[CellGroupData[{
Cell[53826, 1160, 791, 20, 32, "Input"],
Cell[54620, 1182, 1244, 21, 112, "Output"]
}, Open  ]],
Cell[55879, 1206, 1101, 33, 32, "Input"],
Cell[56983, 1241, 92, 1, 32, "Input"]
}
]
*)

(* End of internal cache information *)