-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFixedPreferences.nb
More file actions
3452 lines (3327 loc) · 146 KB
/
FixedPreferences.nb
File metadata and controls
3452 lines (3327 loc) · 146 KB
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
(* Content-type: application/vnd.wolfram.mathematica *)
(*** Wolfram Notebook File ***)
(* http://www.wolfram.com/nb *)
(* CreatedBy='Mathematica 12.3' *)
(*CacheID: 234*)
(* Internal cache information:
NotebookFileLineBreakTest
NotebookFileLineBreakTest
NotebookDataPosition[ 158, 7]
NotebookDataLength[ 148972, 3444]
NotebookOptionsPosition[ 139857, 3294]
NotebookOutlinePosition[ 140306, 3311]
CellTagsIndexPosition[ 140263, 3308]
WindowFrame->Normal*)
(* Beginning of Notebook Content *)
Notebook[{
Cell[TextData[StyleBox["Model definition for fixed preferences", "Title"]], \
"Text",
CellChangeTimes->{{3.858861697550729*^9, 3.858861700203829*^9}, {
3.858862625159627*^9, 3.858862626175812*^9}, {3.869289107748027*^9,
3.869289113022397*^9}},ExpressionUUID->"bca58f23-7d8f-4b00-a95a-\
4a9c3983f9f4"],
Cell["\<\
Pablo Rosillo Rodes, 2022
Final Master Thesis\
\>", "Text",
CellChangeTimes->{{3.8692889628899393`*^9,
3.869288976228018*^9}},ExpressionUUID->"eb1e4875-dc77-47c3-ae5c-\
03672dcc3d66"],
Cell["Rates definition:", "Text",
CellChangeTimes->{{3.869289144557233*^9,
3.869289162386273*^9}},ExpressionUUID->"80d6cbf0-a7d4-4343-8444-\
c7375179ad8b"],
Cell[BoxData[
RowBox[{"\[IndentingNewLine]", "\[IndentingNewLine]",
RowBox[{
RowBox[{
RowBox[{"PX1Y1", "=", " ",
RowBox[{
RowBox[{"(",
RowBox[{"1", "-", "s1"}], ")"}],
RowBox[{"(",
RowBox[{"y1", "+", "y2"}], ")"}]}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"PX1Y2", "=", "0"}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"PX1X2", "=", "0"}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"PX2Y1", "=", "0"}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"PX2Y2", "=",
RowBox[{"s2",
RowBox[{"(",
RowBox[{"y1", "+", "y2"}], ")"}]}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"PX2X1", "=", "0"}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"PY1X1", "=", " ",
RowBox[{"s1",
RowBox[{"(",
RowBox[{"x1", "+", "x2"}], ")"}]}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"PY1Y2", "=", "0"}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"PY1X2", "=", " ", "0"}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"PY2X1", "=", " ", "0"}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"PY2X2", "=",
RowBox[{
RowBox[{"(",
RowBox[{"1", "-", "s2"}], ")"}],
RowBox[{"(",
RowBox[{"x1", "+", "x2"}], ")"}]}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"PY2Y1", "=", "0"}], ";"}], "\[IndentingNewLine]"}]}]], "Input",
CellChangeTimes->{{3.860152513534335*^9, 3.8601525240418367`*^9},
3.860152577446747*^9, {3.8601526083390827`*^9, 3.8601526128924093`*^9}, {
3.8601527804483137`*^9, 3.860152788167676*^9}, 3.8601532350946493`*^9, {
3.861081484011465*^9, 3.861081529463724*^9}, {3.8612507634575377`*^9,
3.861250830599481*^9}, {3.861251520782751*^9, 3.861251530824423*^9}, {
3.8612515771898823`*^9, 3.861251607010626*^9}, {3.861254600399337*^9,
3.8612546062120533`*^9}, {3.861255525052267*^9, 3.861255552469657*^9}, {
3.861692700523755*^9, 3.8616927216708612`*^9}, {3.8616953784001493`*^9,
3.8616954101472*^9}, {3.861698250929429*^9, 3.8616982906458607`*^9},
3.861784002947122*^9, 3.86928912043865*^9},
CellLabel->
"In[397]:=",ExpressionUUID->"af4b99ea-e871-4906-81b7-b78ed789b70b"],
Cell["Dynamical equations construction:", "Text",
CellChangeTimes->{{3.869289165066123*^9,
3.869289171465263*^9}},ExpressionUUID->"85e8d96f-828b-43a9-b6a2-\
7bddc2a8570c"],
Cell[CellGroupData[{
Cell[BoxData[{
RowBox[{"x1eq", " ", "=", " ",
RowBox[{
RowBox[{
RowBox[{"-", "x1"}], " ",
RowBox[{"(",
RowBox[{"PX1Y1", "+", "PX1Y2", "+", "PX1X2"}], ")"}]}], "+",
RowBox[{"x2", " ", "PX2X1"}], "+",
RowBox[{"y1", " ", "PY1X1"}], "+",
RowBox[{"y2", " ", "PY2X1"}]}]}], "\[IndentingNewLine]",
RowBox[{"x2eq", "=",
RowBox[{
RowBox[{
RowBox[{"-", "x2"}], " ",
RowBox[{"(",
RowBox[{"PX2Y1", "+", "PX2Y2", "+", "PX2X1"}], ")"}]}], "+",
RowBox[{"x1", " ", "PX1X2"}], "+",
RowBox[{"y1", " ", "PY1X2"}], "+",
RowBox[{"y2", " ", "PY2X2"}]}]}], "\[IndentingNewLine]",
RowBox[{"y1eq", " ", "=", " ",
RowBox[{
RowBox[{
RowBox[{"-", "y1"}],
RowBox[{"(",
RowBox[{"PY1X1", "+", "PY1Y2", "+", "PY1X2"}], ")"}]}], "+",
RowBox[{"x1", " ", "PX1Y1"}], "+",
RowBox[{"x2", " ", "PX2Y1"}], "+", " ",
RowBox[{"y2", " ", "PY2Y1"}]}]}], "\[IndentingNewLine]",
RowBox[{"y2eq", " ", "=", " ",
RowBox[{
RowBox[{
RowBox[{"-", "y2"}],
RowBox[{"(",
RowBox[{"PY2X1", "+", "PY2X2", "+", "PY2Y1"}], ")"}]}], "+",
RowBox[{"x1", " ", "PX1Y2"}], "+",
RowBox[{"x2", " ", "PX2Y2"}], "+",
RowBox[{"y1", " ", "PY1Y2"}]}]}], "\[IndentingNewLine]",
RowBox[{"Simplify", "[",
RowBox[{"x1eq", "+", "x2eq", "+", "y1eq", "+", "y2eq"}],
"]"}], "\[IndentingNewLine]",
RowBox[{"Simplify", "[",
RowBox[{"x1eq", "+", "x2eq"}], "]"}], "\[IndentingNewLine]",
RowBox[{"Simplify", "[",
RowBox[{"y1eq", "+", "y2eq"}], "]"}], "\[IndentingNewLine]",
RowBox[{"Simplify", "[",
RowBox[{"x1eq", "+", "y1eq"}], "]"}], "\[IndentingNewLine]",
RowBox[{"Simplify", "[",
RowBox[{"x2eq", "+", "y2eq"}], "]"}]}], "Input",
CellChangeTimes->{{3.858744968604349*^9, 3.858745129063846*^9}, {
3.858745257287199*^9, 3.85874537299953*^9}, 3.8588619245278254`*^9, {
3.858862125331993*^9, 3.8588621443545647`*^9}, {3.858862375574929*^9,
3.8588623764170923`*^9}, {3.8588626820069637`*^9, 3.858862688995494*^9}, {
3.85886295707443*^9, 3.858863218022505*^9}, 3.858867819295282*^9,
3.858867994243079*^9, {3.8588680550918617`*^9, 3.858868067098027*^9}, {
3.8588681021166477`*^9, 3.8588681375656977`*^9}, {3.858868473848609*^9,
3.858868476040607*^9}, {3.8588685233856983`*^9, 3.858868525419894*^9}, {
3.858868567718862*^9, 3.858868655706195*^9}, {3.861698297941472*^9,
3.861698298713286*^9}, {3.8616986734586067`*^9, 3.861698674121381*^9}, {
3.863496646508053*^9, 3.863496667640366*^9}, {3.863511186784711*^9,
3.86351118993181*^9}, {3.86351140493859*^9, 3.863511415673964*^9}, {
3.8700579113098583`*^9, 3.8700579350679073`*^9}},
CellLabel->
"In[409]:=",ExpressionUUID->"551d2428-46e7-4cf5-ba2c-362ae31e2494"],
Cell[BoxData[
RowBox[{
RowBox[{"s1", " ",
RowBox[{"(",
RowBox[{"x1", "+", "x2"}], ")"}], " ", "y1"}], "-",
RowBox[{
RowBox[{"(",
RowBox[{"1", "-", "s1"}], ")"}], " ", "x1", " ",
RowBox[{"(",
RowBox[{"y1", "+", "y2"}], ")"}]}]}]], "Output",
CellChangeTimes->{{3.863496657604657*^9, 3.863496668023798*^9},
3.863499224802866*^9, 3.86350010810042*^9, 3.86351119308646*^9,
3.863511410488317*^9, 3.8643543618500223`*^9, 3.864358254374349*^9,
3.8643674157817307`*^9, 3.864369228064681*^9, 3.8648789160124693`*^9,
3.864878962550952*^9, 3.864879144418295*^9, 3.8649752567365513`*^9,
3.865059056483795*^9, 3.865141740033313*^9, 3.8659118620690117`*^9,
3.865912553460565*^9, 3.866023524068924*^9, 3.866023596474749*^9, {
3.866024632255033*^9, 3.866024660804166*^9}, {3.866446427980405*^9,
3.866446455546529*^9}, 3.866625197273931*^9, 3.867404804635585*^9, {
3.867404849751561*^9, 3.867404875386568*^9}, 3.867467477470193*^9,
3.867467517387738*^9, 3.867579887644443*^9, 3.867752506042671*^9,
3.867764725625094*^9, 3.867924151760211*^9, 3.8685118115111837`*^9,
3.8687891577952957`*^9, 3.869289266190576*^9, 3.869369125365221*^9, {
3.87005793769543*^9, 3.8700579436532707`*^9}, 3.871210179614257*^9,
3.871210543970446*^9, 3.8716998667718973`*^9},
CellLabel->
"Out[409]=",ExpressionUUID->"5a60df6f-acfe-4c9c-ae6b-b8c0191d2e8c"],
Cell[BoxData[
RowBox[{
RowBox[{
RowBox[{"(",
RowBox[{"1", "-", "s2"}], ")"}], " ",
RowBox[{"(",
RowBox[{"x1", "+", "x2"}], ")"}], " ", "y2"}], "-",
RowBox[{"s2", " ", "x2", " ",
RowBox[{"(",
RowBox[{"y1", "+", "y2"}], ")"}]}]}]], "Output",
CellChangeTimes->{{3.863496657604657*^9, 3.863496668023798*^9},
3.863499224802866*^9, 3.86350010810042*^9, 3.86351119308646*^9,
3.863511410488317*^9, 3.8643543618500223`*^9, 3.864358254374349*^9,
3.8643674157817307`*^9, 3.864369228064681*^9, 3.8648789160124693`*^9,
3.864878962550952*^9, 3.864879144418295*^9, 3.8649752567365513`*^9,
3.865059056483795*^9, 3.865141740033313*^9, 3.8659118620690117`*^9,
3.865912553460565*^9, 3.866023524068924*^9, 3.866023596474749*^9, {
3.866024632255033*^9, 3.866024660804166*^9}, {3.866446427980405*^9,
3.866446455546529*^9}, 3.866625197273931*^9, 3.867404804635585*^9, {
3.867404849751561*^9, 3.867404875386568*^9}, 3.867467477470193*^9,
3.867467517387738*^9, 3.867579887644443*^9, 3.867752506042671*^9,
3.867764725625094*^9, 3.867924151760211*^9, 3.8685118115111837`*^9,
3.8687891577952957`*^9, 3.869289266190576*^9, 3.869369125365221*^9, {
3.87005793769543*^9, 3.8700579436532707`*^9}, 3.871210179614257*^9,
3.871210543970446*^9, 3.871699866772752*^9},
CellLabel->
"Out[410]=",ExpressionUUID->"08069168-1955-4769-b46b-798dfcfe30cd"],
Cell[BoxData[
RowBox[{
RowBox[{
RowBox[{"-", "s1"}], " ",
RowBox[{"(",
RowBox[{"x1", "+", "x2"}], ")"}], " ", "y1"}], "+",
RowBox[{
RowBox[{"(",
RowBox[{"1", "-", "s1"}], ")"}], " ", "x1", " ",
RowBox[{"(",
RowBox[{"y1", "+", "y2"}], ")"}]}]}]], "Output",
CellChangeTimes->{{3.863496657604657*^9, 3.863496668023798*^9},
3.863499224802866*^9, 3.86350010810042*^9, 3.86351119308646*^9,
3.863511410488317*^9, 3.8643543618500223`*^9, 3.864358254374349*^9,
3.8643674157817307`*^9, 3.864369228064681*^9, 3.8648789160124693`*^9,
3.864878962550952*^9, 3.864879144418295*^9, 3.8649752567365513`*^9,
3.865059056483795*^9, 3.865141740033313*^9, 3.8659118620690117`*^9,
3.865912553460565*^9, 3.866023524068924*^9, 3.866023596474749*^9, {
3.866024632255033*^9, 3.866024660804166*^9}, {3.866446427980405*^9,
3.866446455546529*^9}, 3.866625197273931*^9, 3.867404804635585*^9, {
3.867404849751561*^9, 3.867404875386568*^9}, 3.867467477470193*^9,
3.867467517387738*^9, 3.867579887644443*^9, 3.867752506042671*^9,
3.867764725625094*^9, 3.867924151760211*^9, 3.8685118115111837`*^9,
3.8687891577952957`*^9, 3.869289266190576*^9, 3.869369125365221*^9, {
3.87005793769543*^9, 3.8700579436532707`*^9}, 3.871210179614257*^9,
3.871210543970446*^9, 3.8716998667735023`*^9},
CellLabel->
"Out[411]=",ExpressionUUID->"1d4366de-e75d-4326-bae4-c774f93fc4ac"],
Cell[BoxData[
RowBox[{
RowBox[{"-",
RowBox[{"(",
RowBox[{
RowBox[{"(",
RowBox[{"1", "-", "s2"}], ")"}], " ",
RowBox[{"(",
RowBox[{"x1", "+", "x2"}], ")"}], " ", "y2"}], ")"}]}], "+",
RowBox[{"s2", " ", "x2", " ",
RowBox[{"(",
RowBox[{"y1", "+", "y2"}], ")"}]}]}]], "Output",
CellChangeTimes->{{3.863496657604657*^9, 3.863496668023798*^9},
3.863499224802866*^9, 3.86350010810042*^9, 3.86351119308646*^9,
3.863511410488317*^9, 3.8643543618500223`*^9, 3.864358254374349*^9,
3.8643674157817307`*^9, 3.864369228064681*^9, 3.8648789160124693`*^9,
3.864878962550952*^9, 3.864879144418295*^9, 3.8649752567365513`*^9,
3.865059056483795*^9, 3.865141740033313*^9, 3.8659118620690117`*^9,
3.865912553460565*^9, 3.866023524068924*^9, 3.866023596474749*^9, {
3.866024632255033*^9, 3.866024660804166*^9}, {3.866446427980405*^9,
3.866446455546529*^9}, 3.866625197273931*^9, 3.867404804635585*^9, {
3.867404849751561*^9, 3.867404875386568*^9}, 3.867467477470193*^9,
3.867467517387738*^9, 3.867579887644443*^9, 3.867752506042671*^9,
3.867764725625094*^9, 3.867924151760211*^9, 3.8685118115111837`*^9,
3.8687891577952957`*^9, 3.869289266190576*^9, 3.869369125365221*^9, {
3.87005793769543*^9, 3.8700579436532707`*^9}, 3.871210179614257*^9,
3.871210543970446*^9, 3.871699866774247*^9},
CellLabel->
"Out[412]=",ExpressionUUID->"e2d9cdad-d17b-4e39-bb09-9a0588625511"],
Cell[BoxData["0"], "Output",
CellChangeTimes->{{3.863496657604657*^9, 3.863496668023798*^9},
3.863499224802866*^9, 3.86350010810042*^9, 3.86351119308646*^9,
3.863511410488317*^9, 3.8643543618500223`*^9, 3.864358254374349*^9,
3.8643674157817307`*^9, 3.864369228064681*^9, 3.8648789160124693`*^9,
3.864878962550952*^9, 3.864879144418295*^9, 3.8649752567365513`*^9,
3.865059056483795*^9, 3.865141740033313*^9, 3.8659118620690117`*^9,
3.865912553460565*^9, 3.866023524068924*^9, 3.866023596474749*^9, {
3.866024632255033*^9, 3.866024660804166*^9}, {3.866446427980405*^9,
3.866446455546529*^9}, 3.866625197273931*^9, 3.867404804635585*^9, {
3.867404849751561*^9, 3.867404875386568*^9}, 3.867467477470193*^9,
3.867467517387738*^9, 3.867579887644443*^9, 3.867752506042671*^9,
3.867764725625094*^9, 3.867924151760211*^9, 3.8685118115111837`*^9,
3.8687891577952957`*^9, 3.869289266190576*^9, 3.869369125365221*^9, {
3.87005793769543*^9, 3.8700579436532707`*^9}, 3.871210179614257*^9,
3.871210543970446*^9, 3.8716998667749367`*^9},
CellLabel->
"Out[413]=",ExpressionUUID->"4ca77c4f-682a-417d-ab7b-7ac4d530869a"],
Cell[BoxData[
RowBox[{
RowBox[{"s1", " ",
RowBox[{"(",
RowBox[{"x1", "+", "x2"}], ")"}], " ", "y1"}], "-",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"-", "1"}], "+", "s2"}], ")"}], " ",
RowBox[{"(",
RowBox[{"x1", "+", "x2"}], ")"}], " ", "y2"}], "+",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"-", "1"}], "+", "s1"}], ")"}], " ", "x1", " ",
RowBox[{"(",
RowBox[{"y1", "+", "y2"}], ")"}]}], "-",
RowBox[{"s2", " ", "x2", " ",
RowBox[{"(",
RowBox[{"y1", "+", "y2"}], ")"}]}]}]], "Output",
CellChangeTimes->{{3.863496657604657*^9, 3.863496668023798*^9},
3.863499224802866*^9, 3.86350010810042*^9, 3.86351119308646*^9,
3.863511410488317*^9, 3.8643543618500223`*^9, 3.864358254374349*^9,
3.8643674157817307`*^9, 3.864369228064681*^9, 3.8648789160124693`*^9,
3.864878962550952*^9, 3.864879144418295*^9, 3.8649752567365513`*^9,
3.865059056483795*^9, 3.865141740033313*^9, 3.8659118620690117`*^9,
3.865912553460565*^9, 3.866023524068924*^9, 3.866023596474749*^9, {
3.866024632255033*^9, 3.866024660804166*^9}, {3.866446427980405*^9,
3.866446455546529*^9}, 3.866625197273931*^9, 3.867404804635585*^9, {
3.867404849751561*^9, 3.867404875386568*^9}, 3.867467477470193*^9,
3.867467517387738*^9, 3.867579887644443*^9, 3.867752506042671*^9,
3.867764725625094*^9, 3.867924151760211*^9, 3.8685118115111837`*^9,
3.8687891577952957`*^9, 3.869289266190576*^9, 3.869369125365221*^9, {
3.87005793769543*^9, 3.8700579436532707`*^9}, 3.871210179614257*^9,
3.871210543970446*^9, 3.871699866775674*^9},
CellLabel->
"Out[414]=",ExpressionUUID->"dbfdf09d-6bdd-4001-9805-fe1e3c65b2d8"],
Cell[BoxData[
RowBox[{
RowBox[{
RowBox[{"-", "s1"}], " ",
RowBox[{"(",
RowBox[{"x1", "+", "x2"}], ")"}], " ", "y1"}], "+",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"-", "1"}], "+", "s2"}], ")"}], " ",
RowBox[{"(",
RowBox[{"x1", "+", "x2"}], ")"}], " ", "y2"}], "-",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"-", "1"}], "+", "s1"}], ")"}], " ", "x1", " ",
RowBox[{"(",
RowBox[{"y1", "+", "y2"}], ")"}]}], "+",
RowBox[{"s2", " ", "x2", " ",
RowBox[{"(",
RowBox[{"y1", "+", "y2"}], ")"}]}]}]], "Output",
CellChangeTimes->{{3.863496657604657*^9, 3.863496668023798*^9},
3.863499224802866*^9, 3.86350010810042*^9, 3.86351119308646*^9,
3.863511410488317*^9, 3.8643543618500223`*^9, 3.864358254374349*^9,
3.8643674157817307`*^9, 3.864369228064681*^9, 3.8648789160124693`*^9,
3.864878962550952*^9, 3.864879144418295*^9, 3.8649752567365513`*^9,
3.865059056483795*^9, 3.865141740033313*^9, 3.8659118620690117`*^9,
3.865912553460565*^9, 3.866023524068924*^9, 3.866023596474749*^9, {
3.866024632255033*^9, 3.866024660804166*^9}, {3.866446427980405*^9,
3.866446455546529*^9}, 3.866625197273931*^9, 3.867404804635585*^9, {
3.867404849751561*^9, 3.867404875386568*^9}, 3.867467477470193*^9,
3.867467517387738*^9, 3.867579887644443*^9, 3.867752506042671*^9,
3.867764725625094*^9, 3.867924151760211*^9, 3.8685118115111837`*^9,
3.8687891577952957`*^9, 3.869289266190576*^9, 3.869369125365221*^9, {
3.87005793769543*^9, 3.8700579436532707`*^9}, 3.871210179614257*^9,
3.871210543970446*^9, 3.8716998667783337`*^9},
CellLabel->
"Out[415]=",ExpressionUUID->"20613bae-7fa8-437e-862b-4979a5f7489d"],
Cell[BoxData["0"], "Output",
CellChangeTimes->{{3.863496657604657*^9, 3.863496668023798*^9},
3.863499224802866*^9, 3.86350010810042*^9, 3.86351119308646*^9,
3.863511410488317*^9, 3.8643543618500223`*^9, 3.864358254374349*^9,
3.8643674157817307`*^9, 3.864369228064681*^9, 3.8648789160124693`*^9,
3.864878962550952*^9, 3.864879144418295*^9, 3.8649752567365513`*^9,
3.865059056483795*^9, 3.865141740033313*^9, 3.8659118620690117`*^9,
3.865912553460565*^9, 3.866023524068924*^9, 3.866023596474749*^9, {
3.866024632255033*^9, 3.866024660804166*^9}, {3.866446427980405*^9,
3.866446455546529*^9}, 3.866625197273931*^9, 3.867404804635585*^9, {
3.867404849751561*^9, 3.867404875386568*^9}, 3.867467477470193*^9,
3.867467517387738*^9, 3.867579887644443*^9, 3.867752506042671*^9,
3.867764725625094*^9, 3.867924151760211*^9, 3.8685118115111837`*^9,
3.8687891577952957`*^9, 3.869289266190576*^9, 3.869369125365221*^9, {
3.87005793769543*^9, 3.8700579436532707`*^9}, 3.871210179614257*^9,
3.871210543970446*^9, 3.8716998667790728`*^9},
CellLabel->
"Out[416]=",ExpressionUUID->"a2d353e1-2759-4b04-a11e-f2337db561f9"],
Cell[BoxData["0"], "Output",
CellChangeTimes->{{3.863496657604657*^9, 3.863496668023798*^9},
3.863499224802866*^9, 3.86350010810042*^9, 3.86351119308646*^9,
3.863511410488317*^9, 3.8643543618500223`*^9, 3.864358254374349*^9,
3.8643674157817307`*^9, 3.864369228064681*^9, 3.8648789160124693`*^9,
3.864878962550952*^9, 3.864879144418295*^9, 3.8649752567365513`*^9,
3.865059056483795*^9, 3.865141740033313*^9, 3.8659118620690117`*^9,
3.865912553460565*^9, 3.866023524068924*^9, 3.866023596474749*^9, {
3.866024632255033*^9, 3.866024660804166*^9}, {3.866446427980405*^9,
3.866446455546529*^9}, 3.866625197273931*^9, 3.867404804635585*^9, {
3.867404849751561*^9, 3.867404875386568*^9}, 3.867467477470193*^9,
3.867467517387738*^9, 3.867579887644443*^9, 3.867752506042671*^9,
3.867764725625094*^9, 3.867924151760211*^9, 3.8685118115111837`*^9,
3.8687891577952957`*^9, 3.869289266190576*^9, 3.869369125365221*^9, {
3.87005793769543*^9, 3.8700579436532707`*^9}, 3.871210179614257*^9,
3.871210543970446*^9, 3.871699866779707*^9},
CellLabel->
"Out[417]=",ExpressionUUID->"1d114ae8-ab81-4ce3-977e-0edfef173971"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData["x1eq"], "Input",
CellChangeTimes->{{3.8588684884444838`*^9, 3.85886848935054*^9}},
CellLabel->
"In[418]:=",ExpressionUUID->"2983a36d-74b9-41f8-85c8-4ccf5f2daead"],
Cell[BoxData[
RowBox[{
RowBox[{"s1", " ",
RowBox[{"(",
RowBox[{"x1", "+", "x2"}], ")"}], " ", "y1"}], "-",
RowBox[{
RowBox[{"(",
RowBox[{"1", "-", "s1"}], ")"}], " ", "x1", " ",
RowBox[{"(",
RowBox[{"y1", "+", "y2"}], ")"}]}]}]], "Output",
CellChangeTimes->{
3.858868490171268*^9, {3.858868660180188*^9, 3.858868674469836*^9},
3.858868735863825*^9, 3.858868925409233*^9, 3.858869020944479*^9,
3.858931968336874*^9, 3.860152466932103*^9, 3.860152535196206*^9,
3.860152625537751*^9, 3.860152800223133*^9, 3.860153107905122*^9,
3.860153172237775*^9, 3.8601532430635653`*^9, 3.860153441777686*^9,
3.8601535689111443`*^9, {3.8601537759527493`*^9, 3.860153805424054*^9},
3.860173353789002*^9, 3.860387951820673*^9, 3.860405542383161*^9,
3.860406029071403*^9, 3.860645193806717*^9, 3.861081667779497*^9,
3.861082653849979*^9, 3.861250865190516*^9, 3.861251616697472*^9,
3.861253705544664*^9, 3.8612546534491673`*^9, 3.861255594815064*^9,
3.861255709431615*^9, 3.861692738736107*^9, 3.8616954219168463`*^9,
3.861698513301406*^9, 3.861698590949222*^9, 3.8616986528481483`*^9, {
3.8616986877138853`*^9, 3.86169871702894*^9}, 3.8616989783109827`*^9,
3.8616997125570517`*^9, 3.861699808810865*^9, 3.861700015520158*^9,
3.861771545690524*^9, 3.861771679224846*^9, 3.861780313814085*^9,
3.861780407816905*^9, 3.861780589177126*^9, 3.861781539507964*^9,
3.861782265946273*^9, 3.861791543656928*^9, 3.862057671384601*^9,
3.862416478419366*^9, 3.862477653596377*^9, 3.863065105439657*^9, {
3.863086979689714*^9, 3.8630870051919737`*^9}, 3.863087366949091*^9,
3.863145274757678*^9, 3.863146310721583*^9, 3.8634177191888523`*^9,
3.863495570631689*^9, 3.863499224815494*^9, 3.863500108102892*^9,
3.863511193092516*^9, 3.864354361861142*^9, 3.86435825439554*^9,
3.864367415791524*^9, 3.864369228087412*^9, 3.8648789160322104`*^9,
3.864878962556999*^9, 3.8648791444345407`*^9, 3.864975256744266*^9,
3.865059056491323*^9, 3.865141740039858*^9, 3.8659118620754633`*^9,
3.865912553469159*^9, 3.866023524077485*^9, 3.866023596484761*^9, {
3.866024632263612*^9, 3.8660246608124647`*^9}, {3.866446427994298*^9,
3.866446455562202*^9}, 3.8666251972800694`*^9, 3.867404804643094*^9, {
3.867404849758863*^9, 3.86740487539393*^9}, 3.8674674774782467`*^9,
3.867467517395804*^9, 3.8675798876492233`*^9, 3.867752506047956*^9,
3.867764725630232*^9, 3.867924151766988*^9, 3.868511811523356*^9,
3.868789157800782*^9, 3.869289266196362*^9, 3.869369125379932*^9,
3.871210179623445*^9, 3.871210543995043*^9, 3.8716998667898083`*^9},
CellLabel->
"Out[418]=",ExpressionUUID->"e48602e6-f464-45d2-9b32-bd98475db257"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{
RowBox[{"Xsimp", "[",
RowBox[{"x1_", ",", " ", "x2_", ",", " ", "y1_", ",", " ", "y2_"}], "]"}],
" ", "=", " ",
RowBox[{"Simplify", "[",
RowBox[{"x1eq", "+", "x2eq"}], "]"}]}]], "Input",
CellChangeTimes->{{3.85874516208361*^9, 3.8587452345144043`*^9}, {
3.858745376663151*^9, 3.858745388263069*^9}, {3.858745446766433*^9,
3.858745473106357*^9}, {3.858745521363174*^9, 3.858745545673217*^9}, {
3.858745589778235*^9, 3.858745591286046*^9}, {3.858745639593884*^9,
3.858745650271687*^9}, {3.85875400221306*^9, 3.858754007948798*^9}, {
3.858861519121765*^9, 3.858861546269418*^9}, {3.858861581456911*^9,
3.858861630993597*^9}, {3.8588616617497463`*^9, 3.8588616629543324`*^9}, {
3.858861741829862*^9, 3.858861798551693*^9}, {3.858861834780342*^9,
3.85886184028736*^9}, {3.858861932525635*^9, 3.85886195035944*^9}, {
3.858861985438102*^9, 3.858861995133304*^9}, {3.858862029926497*^9,
3.8588620322074013`*^9}, 3.8588622080859127`*^9, 3.85886229597012*^9,
3.858862533087508*^9, 3.8588626010009127`*^9, 3.858863232327042*^9,
3.858866407604615*^9},
CellLabel->
"In[419]:=",ExpressionUUID->"cf407a73-21af-4f5b-a822-837fcf26ebef"],
Cell[BoxData[
RowBox[{
RowBox[{"s1", " ",
RowBox[{"(",
RowBox[{"x1", "+", "x2"}], ")"}], " ", "y1"}], "-",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"-", "1"}], "+", "s2"}], ")"}], " ",
RowBox[{"(",
RowBox[{"x1", "+", "x2"}], ")"}], " ", "y2"}], "+",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"-", "1"}], "+", "s1"}], ")"}], " ", "x1", " ",
RowBox[{"(",
RowBox[{"y1", "+", "y2"}], ")"}]}], "-",
RowBox[{"s2", " ", "x2", " ",
RowBox[{"(",
RowBox[{"y1", "+", "y2"}], ")"}]}]}]], "Output",
CellChangeTimes->{
3.858866410923758*^9, {3.858866698953274*^9, 3.858866725010623*^9},
3.858867204421648*^9, {3.8588672573256702`*^9, 3.858867305024558*^9},
3.858867393664032*^9, {3.8588674268460827`*^9, 3.858867522201447*^9},
3.8588677702039127`*^9, {3.8588678065875196`*^9, 3.85886784878653*^9}, {
3.858867896720846*^9, 3.858867915774563*^9}, 3.85886799829993*^9, {
3.858868070280911*^9, 3.8588681412123327`*^9}, 3.858868481189891*^9, {
3.8588686601847563`*^9, 3.858868674484004*^9}, 3.858868735875943*^9,
3.8588689254237556`*^9, 3.8588690209499283`*^9, 3.858931968355131*^9,
3.860152466939705*^9, 3.860152535203041*^9, 3.860152625547406*^9,
3.8601528002296333`*^9, 3.860153107914216*^9, 3.860153172250051*^9,
3.8601532430703297`*^9, 3.8601534417806787`*^9, 3.860153568922249*^9, {
3.860153775968973*^9, 3.860153805433679*^9}, 3.860173353796253*^9,
3.860387951828699*^9, 3.860405542407424*^9, 3.860406029074707*^9,
3.860645193820654*^9, 3.8610816678026667`*^9, 3.861082653852519*^9,
3.8612508652046347`*^9, 3.861251616709269*^9, 3.861253705555697*^9,
3.8612546534622297`*^9, 3.861255594833562*^9, 3.86125570943652*^9,
3.8616927387513103`*^9, 3.861695421935451*^9, 3.861698513312909*^9,
3.861698590965651*^9, 3.8616986528527193`*^9, {3.861698687731934*^9,
3.8616987170368357`*^9}, 3.861698978322411*^9, 3.8616997125736017`*^9,
3.861699808825103*^9, 3.861700015536182*^9, 3.86177154571754*^9,
3.86177167922991*^9, 3.8617803138416023`*^9, 3.861780407835088*^9,
3.861780589200089*^9, 3.861781539523497*^9, 3.86178226597285*^9,
3.8617915436681623`*^9, 3.862057671401074*^9, 3.862416478432631*^9,
3.8624776536016293`*^9, 3.8630651054511414`*^9, {3.86308697970817*^9,
3.863087005206657*^9}, 3.863087366963395*^9, 3.863145274779375*^9,
3.863146310737061*^9, 3.863417719205171*^9, 3.863495570647187*^9,
3.863499224828629*^9, 3.863500108109395*^9, 3.86351119310186*^9,
3.8643543618733387`*^9, 3.864358254405018*^9, 3.8643674158069963`*^9,
3.8643692281052427`*^9, 3.864878916046434*^9, 3.864878962567697*^9,
3.864879144447341*^9, 3.864975256757934*^9, 3.865059056505265*^9,
3.8651417400582027`*^9, 3.86591186209156*^9, 3.8659125534799223`*^9,
3.866023524093981*^9, 3.8660235965016212`*^9, {3.866024632280525*^9,
3.866024660824651*^9}, {3.8664464280048723`*^9, 3.866446455566818*^9},
3.866625197293044*^9, 3.867404804657714*^9, {3.867404849773816*^9,
3.8674048754077387`*^9}, 3.867467477492612*^9, 3.867467517402068*^9,
3.86757988766543*^9, 3.867752506061344*^9, 3.867764725643526*^9,
3.8679241517855883`*^9, 3.868511811538506*^9, 3.86878915781292*^9,
3.8692892662069063`*^9, 3.869369125392482*^9, 3.871210179626173*^9,
3.871210543998548*^9, 3.871699866792897*^9},
CellLabel->
"Out[419]=",ExpressionUUID->"6d3dde4e-80a4-44c6-b8eb-aa2011b4ae75"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"Xeq", "=", " ",
RowBox[{"Simplify", "[",
RowBox[{"Xsimp", "[",
RowBox[{
RowBox[{
RowBox[{"X", "/", "2"}], "+",
RowBox[{"\[Omega]", "/", "2"}]}], ",", " ",
RowBox[{
RowBox[{"X", "/", "2"}], "-",
RowBox[{"\[Omega]", "/", "2"}]}], ",", " ",
RowBox[{
RowBox[{
RowBox[{"(",
RowBox[{"1", "-", "X"}], ")"}], "/", "2"}], "-",
RowBox[{
RowBox[{"(",
RowBox[{"\[Omega]", "-",
RowBox[{"(",
RowBox[{
RowBox[{"2", "\[Alpha]"}], "-", "1"}], ")"}]}], ")"}], "/",
"2"}]}], ",", " ",
RowBox[{
RowBox[{
RowBox[{"(",
RowBox[{"1", "-", "X"}], ")"}], "/", "2"}], "+",
RowBox[{
RowBox[{"(",
RowBox[{"\[Omega]", "-",
RowBox[{"(",
RowBox[{
RowBox[{"2", "\[Alpha]"}], "-", "1"}], ")"}]}], ")"}], "/",
"2"}]}]}], "]"}], "]"}]}]], "Input",
CellChangeTimes->{{3.858862000538527*^9, 3.858862112738143*^9}, {
3.858862159804182*^9, 3.858862170630928*^9}, {3.8588622031948433`*^9,
3.858862217217596*^9}, 3.8588622927070723`*^9, {3.858862335189515*^9,
3.8588623713715487`*^9}, {3.8588624030121393`*^9, 3.858862423920089*^9},
3.858862534571671*^9, 3.85886259983747*^9, 3.858863233722219*^9, {
3.858866456946732*^9, 3.8588664662466383`*^9}, 3.858866707258143*^9, {
3.858867014532146*^9, 3.858867017095325*^9}, 3.858867273636587*^9, {
3.858867362804555*^9, 3.858867366198247*^9}, {3.86015302495588*^9,
3.86015304226884*^9}, {3.8616982183250103`*^9, 3.861698233491702*^9}, {
3.861698315387947*^9, 3.861698350597335*^9}, {3.863145139171679*^9,
3.863145154285096*^9}, {3.863500096777033*^9, 3.863500111311249*^9}},
CellLabel->
"In[420]:=",ExpressionUUID->"2a458930-9ac6-47d4-a410-4dde926116e4"],
Cell[BoxData[
RowBox[{
FractionBox["1", "2"], " ",
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"-", "2"}], " ",
RowBox[{"(",
RowBox[{"s1", "-", "s2"}], ")"}], " ",
SuperscriptBox["X", "2"]}], "+",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"-", "1"}], "+", "s1", "+", "s2"}], ")"}], " ", "\[Omega]"}],
"+",
RowBox[{"X", " ",
RowBox[{"(",
RowBox[{"1", "+", "s1", "-",
RowBox[{"3", " ", "s2"}], "-",
RowBox[{"2", " ", "\[Alpha]"}], "+",
RowBox[{"2", " ", "s1", " ", "\[Alpha]"}], "+",
RowBox[{"2", " ", "s2", " ", "\[Alpha]"}], "+",
RowBox[{"2", " ", "\[Omega]"}], "-",
RowBox[{"2", " ", "s1", " ", "\[Omega]"}], "-",
RowBox[{"2", " ", "s2", " ", "\[Omega]"}]}], ")"}]}]}],
")"}]}]], "Output",
CellChangeTimes->{{3.858867282005418*^9, 3.858867305028775*^9},
3.858867393679269*^9, {3.8588674268533707`*^9, 3.8588675222112093`*^9},
3.858867770207775*^9, {3.858867806590564*^9, 3.858867848790469*^9}, {
3.858867896735847*^9, 3.858867915779181*^9}, 3.858867998307207*^9, {
3.858868070294032*^9, 3.858868141224883*^9}, 3.858868481203677*^9, {
3.858868660196684*^9, 3.858868674495759*^9}, 3.858868735879496*^9,
3.858868925427186*^9, 3.8588690209631567`*^9, 3.858931968358777*^9,
3.860152466950375*^9, 3.8601525352164516`*^9, 3.8601526255500927`*^9,
3.860152800240898*^9, 3.86015310791783*^9, 3.8601531722531977`*^9,
3.860153243079257*^9, 3.860153441792322*^9, 3.860153568925741*^9, {
3.8601537759738417`*^9, 3.860153805437243*^9}, 3.860173353808614*^9,
3.860387951832019*^9, 3.8604055424112997`*^9, 3.860406029085499*^9,
3.860645193824031*^9, 3.8610816678152313`*^9, 3.8610826538553877`*^9,
3.8612508652073812`*^9, 3.8612516167124243`*^9, 3.861253705565742*^9,
3.861254653465076*^9, 3.861255594836357*^9, 3.861255709450314*^9,
3.861692738767109*^9, 3.861695421949988*^9, 3.861698513317726*^9,
3.861698590970326*^9, 3.861698652858292*^9, {3.86169868774832*^9,
3.861698717050139*^9}, 3.861698978338728*^9, 3.861699712588023*^9,
3.861699808839128*^9, 3.861700015553525*^9, 3.8617715457429323`*^9,
3.861771679245329*^9, 3.8617803138613987`*^9, 3.86178040785034*^9,
3.86178058921723*^9, 3.861781539544114*^9, 3.861782265996117*^9,
3.861791543680668*^9, 3.862057671417923*^9, 3.86241647844715*^9,
3.8624776536190453`*^9, 3.863065105465067*^9, {3.863086979723831*^9,
3.8630870052229013`*^9}, 3.863087366975773*^9, 3.863145274796938*^9,
3.8631463107522793`*^9, 3.86341771922013*^9, 3.8634955706587152`*^9,
3.863499224836419*^9, {3.863500108124824*^9, 3.863500113108425*^9},
3.863511193115471*^9, 3.864354361886752*^9, 3.8643582544218397`*^9,
3.864367415824747*^9, 3.864369228118043*^9, 3.864878916056055*^9,
3.864878962581849*^9, 3.8648791444558764`*^9, 3.864975256773211*^9,
3.865059056520219*^9, 3.865141740076857*^9, 3.865911862105064*^9,
3.865912553493766*^9, 3.866023524105116*^9, 3.866023596516403*^9, {
3.866024632291827*^9, 3.8660246608299*^9}, {3.8664464280172377`*^9,
3.86644645557504*^9}, 3.8666251973022337`*^9, 3.8674048046739683`*^9, {
3.867404849789221*^9, 3.867404875423011*^9}, 3.8674674775114193`*^9,
3.867467517414691*^9, 3.867579887681788*^9, 3.8677525060757837`*^9,
3.867764725657322*^9, 3.867924151801195*^9, 3.8685118115550823`*^9,
3.8687891578280153`*^9, 3.869289266219664*^9, 3.869369125407488*^9,
3.871210179637514*^9, 3.871210544008057*^9, 3.871699866804178*^9},
CellLabel->
"Out[420]=",ExpressionUUID->"4b5076b9-042e-4de8-ae0b-53d7115a5600"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{"\[Omega]simp", "[",
RowBox[{"x1_", ",", " ", "x2_", ",", " ", "y1_", ",", " ", "y2_"}],
"]"}], " ", "=", " ",
RowBox[{"Simplify", "[",
RowBox[{"x1eq", "-", "x2eq"}], "]"}]}], ";"}], "\n"}], "\n",
RowBox[{"\[Omega]eq", "=", " ",
RowBox[{"Simplify", "[",
RowBox[{"\[Omega]simp", "[",
RowBox[{
RowBox[{
RowBox[{"X", "/", "2"}], "+",
RowBox[{"\[Omega]", "/", "2"}]}], ",", " ",
RowBox[{
RowBox[{"X", "/", "2"}], "-",
RowBox[{"\[Omega]", "/", "2"}]}], ",", " ",
RowBox[{
RowBox[{
RowBox[{"(",
RowBox[{"1", "-", "X"}], ")"}], "/", "2"}], "-",
RowBox[{
RowBox[{"(",
RowBox[{"\[Omega]", "-",
RowBox[{"(",
RowBox[{
RowBox[{"2", "\[Alpha]"}], "-", "1"}], ")"}]}], ")"}], "/",
"2"}]}], ",", " ",
RowBox[{
RowBox[{
RowBox[{"(",
RowBox[{"1", "-", "X"}], ")"}], "/", "2"}], "+",
RowBox[{
RowBox[{"(",
RowBox[{"\[Omega]", "-",
RowBox[{"(",
RowBox[{
RowBox[{"2", "\[Alpha]"}], "-", "1"}], ")"}]}], ")"}], "/",
"2"}]}]}], "]"}], "]"}]}], "\n"}], "Input",
CellChangeTimes->{{3.858862497684667*^9, 3.858862550995639*^9}, {
3.858862591790657*^9, 3.8588625929918613`*^9}, {3.85886324267227*^9,
3.8588632445659637`*^9}, {3.8588664885327263`*^9, 3.8588664967520523`*^9},
3.858866715625643*^9, {3.8588669977183523`*^9, 3.85886700049039*^9},
3.858867279443709*^9, {3.858867344290998*^9, 3.85886739066299*^9}, {
3.8601530488352737`*^9, 3.8601530510385647`*^9}, {3.8616983842233953`*^9,
3.861698411323135*^9}, {3.861698649765191*^9, 3.861698677853909*^9}, {
3.863145150896463*^9, 3.8631451558937817`*^9}},
CellLabel->
"In[421]:=",ExpressionUUID->"1523053d-5e99-4475-a0ae-b61faed2e050"],
Cell[BoxData[
RowBox[{
FractionBox["1", "2"], " ",
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"-", "2"}], " ",
RowBox[{"(",
RowBox[{
RowBox[{"-", "1"}], "+", "s1", "+", "s2"}], ")"}], " ",
SuperscriptBox["X", "2"]}], "+",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"-", "1"}], "+", "s1", "-", "s2"}], ")"}], " ", "\[Omega]"}],
"+",
RowBox[{"X", " ",
RowBox[{"(",
RowBox[{
RowBox[{"-", "3"}], "+", "s1", "+",
RowBox[{"3", " ", "s2"}], "+",
RowBox[{"2", " ", "\[Alpha]"}], "+",
RowBox[{"2", " ", "s1", " ", "\[Alpha]"}], "-",
RowBox[{"2", " ", "s2", " ", "\[Alpha]"}], "-",
RowBox[{"2", " ", "s1", " ", "\[Omega]"}], "+",
RowBox[{"2", " ", "s2", " ", "\[Omega]"}]}], ")"}]}]}],
")"}]}]], "Output",
CellChangeTimes->{{3.858867282032443*^9, 3.8588673050540247`*^9},
3.85886735043851*^9, 3.858867393717901*^9, {3.858867426884988*^9,
3.858867522243573*^9}, 3.8588677702708673`*^9, {3.8588678066214323`*^9,
3.8588678488538446`*^9}, {3.8588678967974577`*^9, 3.8588679158115253`*^9},
3.858867998368438*^9, {3.858868070336669*^9, 3.858868141254753*^9},
3.858868481232396*^9, {3.8588686602505493`*^9, 3.858868674561034*^9},
3.858868735940387*^9, 3.858868925476754*^9, 3.85886902101335*^9,
3.8589319684361887`*^9, 3.860152467020193*^9, 3.860152535239037*^9,
3.860152625613163*^9, 3.860152800283431*^9, 3.860153107965496*^9,
3.860153172315708*^9, 3.860153243144227*^9, 3.860153441855175*^9,
3.860153568996172*^9, {3.860153776062327*^9, 3.8601538055109463`*^9},
3.860173353856845*^9, 3.860387951929304*^9, 3.860405542513476*^9,
3.8604060291452017`*^9, 3.8606451939344473`*^9, 3.86108166792449*^9,
3.8610826538776093`*^9, 3.861250865282031*^9, 3.8612516167858353`*^9,
3.861253705646572*^9, 3.861254653543522*^9, 3.8612555949176083`*^9,
3.8612557095358877`*^9, 3.861692738870607*^9, 3.861695422019733*^9,
3.861698513325014*^9, 3.8616985909819613`*^9, 3.86169865287298*^9, {
3.861698687766081*^9, 3.8616987170684967`*^9}, 3.861698978356106*^9,
3.861699712604026*^9, 3.861699808859638*^9, 3.861700015571217*^9,
3.8617715457886333`*^9, 3.861771679262348*^9, 3.86178031388442*^9,
3.8617804078687277`*^9, 3.86178058923534*^9, 3.861781539566641*^9,
3.861782266026038*^9, 3.861791543697299*^9, 3.862057671434417*^9,
3.8624164784646187`*^9, 3.862477653646536*^9, 3.863065105483674*^9, {
3.86308697974091*^9, 3.863087005239463*^9}, 3.8630873669910793`*^9,
3.863145274813877*^9, 3.863146310770735*^9, 3.863417719236714*^9,
3.8634955706751747`*^9, 3.8634992248464537`*^9, 3.863500108139492*^9,
3.8635111931336718`*^9, 3.864354361901305*^9, 3.864358254439834*^9,
3.864367415838118*^9, 3.8643692281459723`*^9, 3.864878916069276*^9,
3.86487896259686*^9, 3.864879144467458*^9, 3.864975256790559*^9,
3.865059056536964*^9, 3.865141740093924*^9, 3.8659118621151533`*^9,
3.865912553509789*^9, 3.866023524120275*^9, 3.866023596534788*^9, {
3.866024632308351*^9, 3.8660246608438377`*^9}, {3.866446428035275*^9,
3.8664464555879917`*^9}, 3.866625197313993*^9, 3.86740480469063*^9, {
3.8674048498046103`*^9, 3.867404875439085*^9}, 3.86746747752775*^9,
3.867467517427215*^9, 3.867579887698251*^9, 3.867752506093811*^9,
3.867764725673753*^9, 3.8679241518200808`*^9, 3.868511811571783*^9,
3.868789157844467*^9, 3.869289266235806*^9, 3.869369125425091*^9,
3.871210179652671*^9, 3.871210544020751*^9, 3.871699866814583*^9},
CellLabel->
"Out[422]=",ExpressionUUID->"5e2019ba-8543-4539-b7de-1aa51350ddf5"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{
RowBox[{"Ysimp", "[",
RowBox[{"x1_", ",", " ", "x2_", ",", " ", "y1_", ",", " ", "y2_"}], "]"}],
" ", "=", " ",
RowBox[{"Simplify", "[",
RowBox[{"y1eq", "+", "y2eq"}], "]"}]}]], "Input",
CellChangeTimes->{{3.85874516208361*^9, 3.8587452345144043`*^9}, {
3.858745376663151*^9, 3.858745388263069*^9}, {3.858745446766433*^9,
3.858745473106357*^9}, {3.858745521363174*^9, 3.858745545673217*^9}, {
3.858745589778235*^9, 3.858745591286046*^9}, {3.858745639593884*^9,
3.858745650271687*^9}, {3.85875400221306*^9, 3.858754007948798*^9}, {
3.858861519121765*^9, 3.858861546269418*^9}, {3.858861581456911*^9,
3.858861630993597*^9}, {3.8588616617497463`*^9, 3.8588616629543324`*^9}, {
3.858861741829862*^9, 3.858861798551693*^9}, {3.858861834780342*^9,
3.85886184028736*^9}, {3.858861932525635*^9, 3.85886195035944*^9}, {
3.858861985438102*^9, 3.858861995133304*^9}, {3.858862029926497*^9,
3.8588620322074013`*^9}, 3.8588622080859127`*^9, 3.85886229597012*^9,
3.858862533087508*^9, 3.8588626010009127`*^9, 3.858863232327042*^9,
3.858866407604615*^9, {3.8659124863387337`*^9, 3.865912491496647*^9}},
CellLabel->
"In[423]:=",ExpressionUUID->"5e8ec10b-9b57-4a69-bef3-09c7a4fadedf"],
Cell[BoxData[
RowBox[{
RowBox[{
RowBox[{"-", "s1"}], " ",
RowBox[{"(",
RowBox[{"x1", "+", "x2"}], ")"}], " ", "y1"}], "+",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"-", "1"}], "+", "s2"}], ")"}], " ",
RowBox[{"(",
RowBox[{"x1", "+", "x2"}], ")"}], " ", "y2"}], "-",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"-", "1"}], "+", "s1"}], ")"}], " ", "x1", " ",
RowBox[{"(",
RowBox[{"y1", "+", "y2"}], ")"}]}], "+",
RowBox[{"s2", " ", "x2", " ",
RowBox[{"(",
RowBox[{"y1", "+", "y2"}], ")"}]}]}]], "Output",
CellChangeTimes->{
3.858866410923758*^9, {3.858866698953274*^9, 3.858866725010623*^9},
3.858867204421648*^9, {3.8588672573256702`*^9, 3.858867305024558*^9},
3.858867393664032*^9, {3.8588674268460827`*^9, 3.858867522201447*^9},
3.8588677702039127`*^9, {3.8588678065875196`*^9, 3.85886784878653*^9}, {
3.858867896720846*^9, 3.858867915774563*^9}, 3.85886799829993*^9, {
3.858868070280911*^9, 3.8588681412123327`*^9}, 3.858868481189891*^9, {
3.8588686601847563`*^9, 3.858868674484004*^9}, 3.858868735875943*^9,
3.8588689254237556`*^9, 3.8588690209499283`*^9, 3.858931968355131*^9,
3.860152466939705*^9, 3.860152535203041*^9, 3.860152625547406*^9,
3.8601528002296333`*^9, 3.860153107914216*^9, 3.860153172250051*^9,
3.8601532430703297`*^9, 3.8601534417806787`*^9, 3.860153568922249*^9, {
3.860153775968973*^9, 3.860153805433679*^9}, 3.860173353796253*^9,
3.860387951828699*^9, 3.860405542407424*^9, 3.860406029074707*^9,
3.860645193820654*^9, 3.8610816678026667`*^9, 3.861082653852519*^9,
3.8612508652046347`*^9, 3.861251616709269*^9, 3.861253705555697*^9,
3.8612546534622297`*^9, 3.861255594833562*^9, 3.86125570943652*^9,
3.8616927387513103`*^9, 3.861695421935451*^9, 3.861698513312909*^9,
3.861698590965651*^9, 3.8616986528527193`*^9, {3.861698687731934*^9,
3.8616987170368357`*^9}, 3.861698978322411*^9, 3.8616997125736017`*^9,
3.861699808825103*^9, 3.861700015536182*^9, 3.86177154571754*^9,
3.86177167922991*^9, 3.8617803138416023`*^9, 3.861780407835088*^9,
3.861780589200089*^9, 3.861781539523497*^9, 3.86178226597285*^9,
3.8617915436681623`*^9, 3.862057671401074*^9, 3.862416478432631*^9,
3.8624776536016293`*^9, 3.8630651054511414`*^9, {3.86308697970817*^9,
3.863087005206657*^9}, 3.863087366963395*^9, 3.863145274779375*^9,
3.863146310737061*^9, 3.863417719205171*^9, 3.863495570647187*^9,
3.863499224828629*^9, 3.863500108109395*^9, 3.86351119310186*^9,
3.8643543618733387`*^9, 3.864358254405018*^9, 3.8643674158069963`*^9,
3.8643692281052427`*^9, 3.864878916046434*^9, 3.864878962567697*^9,
3.864879144447341*^9, 3.864975256757934*^9, 3.865059056505265*^9,
3.8651417400582027`*^9, 3.86591186209156*^9, 3.865912553513988*^9,
3.866023524125662*^9, 3.866023596540655*^9, {3.866024632323143*^9,
3.8660246608483057`*^9}, {3.866446428039379*^9, 3.866446455592537*^9},
3.866625197317623*^9, 3.867404804694906*^9, {3.867404849809228*^9,
3.867404875443219*^9}, 3.8674674775324783`*^9, 3.8674675174316187`*^9,
3.867579887702406*^9, 3.8677525060981817`*^9, 3.867764725678021*^9,
3.8679241518339863`*^9, 3.868511811575932*^9, 3.868789157848484*^9,
3.8692892662399397`*^9, 3.869369125429104*^9, 3.871210179655549*^9,
3.871210544026617*^9, 3.871699866823131*^9},
CellLabel->
"Out[423]=",ExpressionUUID->"f180403d-b79d-411f-ada9-b395aa5e00c2"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"Yeq", "=", " ",
RowBox[{"Simplify", "[",
RowBox[{"Ysimp", "[",
RowBox[{
RowBox[{
RowBox[{"X", "/", "2"}], "+",
RowBox[{"\[Omega]", "/", "2"}]}], ",", " ",
RowBox[{
RowBox[{"X", "/", "2"}], "-",
RowBox[{"\[Omega]", "/", "2"}]}], ",", " ",
RowBox[{
RowBox[{
RowBox[{"(",
RowBox[{"1", "-", "X"}], ")"}], "/", "2"}], "-",
RowBox[{
RowBox[{"(",
RowBox[{"\[Omega]", "-",
RowBox[{"(",
RowBox[{
RowBox[{"2", "\[Alpha]"}], "-", "1"}], ")"}]}], ")"}], "/",
"2"}]}], ",", " ",
RowBox[{
RowBox[{
RowBox[{"(",
RowBox[{"1", "-", "X"}], ")"}], "/", "2"}], "+",
RowBox[{
RowBox[{"(",
RowBox[{"\[Omega]", "-",
RowBox[{"(",
RowBox[{
RowBox[{"2", "\[Alpha]"}], "-", "1"}], ")"}]}], ")"}], "/",
"2"}]}]}], "]"}], "]"}]}]], "Input",
CellChangeTimes->{{3.858862000538527*^9, 3.858862112738143*^9}, {
3.858862159804182*^9, 3.858862170630928*^9}, {3.8588622031948433`*^9,
3.858862217217596*^9}, 3.8588622927070723`*^9, {3.858862335189515*^9,
3.8588623713715487`*^9}, {3.8588624030121393`*^9, 3.858862423920089*^9},
3.858862534571671*^9, 3.85886259983747*^9, 3.858863233722219*^9, {
3.858866456946732*^9, 3.8588664662466383`*^9}, 3.858866707258143*^9, {
3.858867014532146*^9, 3.858867017095325*^9}, 3.858867273636587*^9, {
3.858867362804555*^9, 3.858867366198247*^9}, {3.86015302495588*^9,
3.86015304226884*^9}, {3.8616982183250103`*^9, 3.861698233491702*^9}, {
3.861698315387947*^9, 3.861698350597335*^9}, {3.863145139171679*^9,
3.863145154285096*^9}, {3.863500096777033*^9, 3.863500111311249*^9}, {
3.8659124940351152`*^9, 3.8659124978813133`*^9}},
CellLabel->
"In[424]:=",ExpressionUUID->"469ee195-6aa8-4281-b976-bebe95fa1d0a"],
Cell[BoxData[
RowBox[{
RowBox[{
RowBox[{"(",
RowBox[{"s1", "-", "s2"}], ")"}], " ",
SuperscriptBox["X", "2"]}], "-",
RowBox[{
FractionBox["1", "2"], " ",
RowBox[{"(",
RowBox[{
RowBox[{"-", "1"}], "+", "s1", "+", "s2"}], ")"}], " ", "\[Omega]"}],
"-",
RowBox[{
FractionBox["1", "2"], " ", "X", " ",
RowBox[{"(",
RowBox[{"1", "+", "s1", "-",
RowBox[{"3", " ", "s2"}], "-",
RowBox[{"2", " ", "\[Alpha]"}], "+",
RowBox[{"2", " ", "s1", " ", "\[Alpha]"}], "+",
RowBox[{"2", " ", "s2", " ", "\[Alpha]"}], "+",
RowBox[{"2", " ", "\[Omega]"}], "-",
RowBox[{"2", " ", "s1", " ", "\[Omega]"}], "-",
RowBox[{"2", " ", "s2", " ", "\[Omega]"}]}], ")"}]}]}]], "Output",
CellChangeTimes->{{3.858867282005418*^9, 3.858867305028775*^9},
3.858867393679269*^9, {3.8588674268533707`*^9, 3.8588675222112093`*^9},
3.858867770207775*^9, {3.858867806590564*^9, 3.858867848790469*^9}, {
3.858867896735847*^9, 3.858867915779181*^9}, 3.858867998307207*^9, {
3.858868070294032*^9, 3.858868141224883*^9}, 3.858868481203677*^9, {
3.858868660196684*^9, 3.858868674495759*^9}, 3.858868735879496*^9,
3.858868925427186*^9, 3.8588690209631567`*^9, 3.858931968358777*^9,
3.860152466950375*^9, 3.8601525352164516`*^9, 3.8601526255500927`*^9,
3.860152800240898*^9, 3.86015310791783*^9, 3.8601531722531977`*^9,
3.860153243079257*^9, 3.860153441792322*^9, 3.860153568925741*^9, {
3.8601537759738417`*^9, 3.860153805437243*^9}, 3.860173353808614*^9,
3.860387951832019*^9, 3.8604055424112997`*^9, 3.860406029085499*^9,
3.860645193824031*^9, 3.8610816678152313`*^9, 3.8610826538553877`*^9,
3.8612508652073812`*^9, 3.8612516167124243`*^9, 3.861253705565742*^9,
3.861254653465076*^9, 3.861255594836357*^9, 3.861255709450314*^9,
3.861692738767109*^9, 3.861695421949988*^9, 3.861698513317726*^9,
3.861698590970326*^9, 3.861698652858292*^9, {3.86169868774832*^9,
3.861698717050139*^9}, 3.861698978338728*^9, 3.861699712588023*^9,
3.861699808839128*^9, 3.861700015553525*^9, 3.8617715457429323`*^9,
3.861771679245329*^9, 3.8617803138613987`*^9, 3.86178040785034*^9,
3.86178058921723*^9, 3.861781539544114*^9, 3.861782265996117*^9,
3.861791543680668*^9, 3.862057671417923*^9, 3.86241647844715*^9,
3.8624776536190453`*^9, 3.863065105465067*^9, {3.863086979723831*^9,
3.8630870052229013`*^9}, 3.863087366975773*^9, 3.863145274796938*^9,
3.8631463107522793`*^9, 3.86341771922013*^9, 3.8634955706587152`*^9,
3.863499224836419*^9, {3.863500108124824*^9, 3.863500113108425*^9},
3.863511193115471*^9, 3.864354361886752*^9, 3.8643582544218397`*^9,
3.864367415824747*^9, 3.864369228118043*^9, 3.864878916056055*^9,
3.864878962581849*^9, 3.8648791444558764`*^9, 3.864975256773211*^9,
3.865059056520219*^9, 3.865141740076857*^9, 3.865911862105064*^9,
3.865912553527357*^9, 3.866023524141255*^9, 3.866023596553664*^9, {
3.866024632338049*^9, 3.866024660864986*^9}, {3.86644642805057*^9,
3.8664464556048*^9}, 3.8666251973310223`*^9, 3.867404804706688*^9, {
3.8674048498219433`*^9, 3.867404875455394*^9}, 3.867467477543931*^9,
3.867467517443364*^9, 3.8675798877146063`*^9, 3.867752506111412*^9,
3.86776472569168*^9, 3.867924151841566*^9, 3.868511811587631*^9,