(* Content-type: application/vnd.wolfram.mathematica *) (*** Wolfram Notebook File ***) (* http://www.wolfram.com/nb *) (* CreatedBy='Mathematica 9.0' *) (*CacheID: 234*) (* Internal cache information: NotebookFileLineBreakTest NotebookFileLineBreakTest NotebookDataPosition[ 157, 7] NotebookDataLength[ 186440, 4169] NotebookOptionsPosition[ 181138, 4006] NotebookOutlinePosition[ 181673, 4027] CellTagsIndexPosition[ 181630, 4024] WindowFrame->Normal*) (* Beginning of Notebook Content *) Notebook[{ Cell[BoxData[ RowBox[{ RowBox[{"(*", " ", RowBox[{ RowBox[{ RowBox[{ "Kimball", " ", "model", " ", "and", " ", "energy", " ", "derived", " ", "from", " ", RowBox[{"MP2", "/", "6"}]}], "-", RowBox[{"31", "G", RowBox[{"(", "d", ")"}], " ", "data", " ", "source"}]}], ",", " ", RowBox[{"ES", " ", "19", " ", "June", " ", "2013"}]}], " ", "*)"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"Clear", "[", RowBox[{"a", ",", "u", ",", "u1", ",", "u2", ",", "t"}], "]"}], ";"}]}]], "Input", CellChangeTimes->{{3.568278170270548*^9, 3.568278174310955*^9}, { 3.5682782109554195`*^9, 3.5682782183342323`*^9}, 3.568284752749406*^9, 3.5682847957898817`*^9, {3.5682872948362713`*^9, 3.568287369232802*^9}, 3.5682960154833097`*^9, {3.568305453232698*^9, 3.5683054626863146`*^9}, { 3.568307776310778*^9, 3.56830777732478*^9}, {3.5804443791490765`*^9, 3.58044438139548*^9}, {3.5804469366841097`*^9, 3.5804469795061855`*^9}, { 3.580459588972727*^9, 3.580459618113578*^9}, {3.5805250613979683`*^9, 3.5805250682307806`*^9}, {3.580533517520193*^9, 3.5805335275198107`*^9}, { 3.580623964920255*^9, 3.5806239657314568`*^9}}], Cell[BoxData[ RowBox[{ RowBox[{"t", "=", RowBox[{"1.889726", "*", RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{"0.0000000009", ",", "0.0000000019", ",", RowBox[{"-", "0.0793743911"}]}], "}"}], ",", RowBox[{"{", RowBox[{ RowBox[{"-", "0.0000000014"}], ",", RowBox[{"-", "0.9398663736"}], ",", "0.3093075561"}], "}"}], ",", RowBox[{"{", RowBox[{ RowBox[{"-", "0.8139481308"}], ",", "0.4699331753", ",", "0.3093075629"}], "}"}], ",", RowBox[{"{", RowBox[{"0.8139481313", ",", "0.4699331772", ",", "0.3093075625"}], "}"}]}], "}"}]}]}], ";"}]], "Input", CellChangeTimes->{{3.567862912170579*^9, 3.567862949329844*^9}, { 3.5678630095303497`*^9, 3.5678630107471523`*^9}, {3.5679573013548217`*^9, 3.5679573132576427`*^9}, 3.568114367533684*^9, {3.5682782383334675`*^9, 3.5682782435438766`*^9}, 3.5682847420789876`*^9, 3.568284795821082*^9, { 3.568287382898426*^9, 3.5682873928356433`*^9}, 3.5682960154833097`*^9, 3.5683055034491863`*^9, {3.5804444043275204`*^9, 3.580444406558325*^9}, { 3.5804469063576565`*^9, 3.58044691935248*^9}, 3.580447101826*^9, 3.58048985172836*^9, {3.5805250473735437`*^9, 3.58052505082115*^9}, { 3.5805257978758163`*^9, 3.5805257998726196`*^9}, 3.580533417945218*^9, { 3.5805334506428757`*^9, 3.5805334825293317`*^9}, {3.5819183557945037`*^9, 3.581918381690549*^9}, {3.58191857001408*^9, 3.581918605800543*^9}, 3.5819193462275963`*^9}], Cell[CellGroupData[{ Cell[BoxData[ RowBox[{"u", "=", RowBox[{"ChemicalData", "\[NoBreak]", "[", RowBox[{"\"\\"", ",", "\"\\""}], "]"}]}]], "Input", CellChangeTimes->{{3.567869377256353*^9, 3.5678694101568108`*^9}, { 3.5678695244894114`*^9, 3.56786953511303*^9}, 3.56786988243204*^9, 3.5678699252853155`*^9, {3.567870069179968*^9, 3.5678700766835814`*^9}, { 3.5678703216664114`*^9, 3.567870325738019*^9}, 3.5679271251072817`*^9, { 3.567942840466694*^9, 3.567942854381918*^9}, {3.567942932272855*^9, 3.567942950509287*^9}, {3.567943087867528*^9, 3.567943093733138*^9}, 3.567943185211699*^9, 3.5679432253505697`*^9, 3.5679433277647495`*^9, { 3.5679434430645523`*^9, 3.5679434440941534`*^9}, {3.568278260766307*^9, 3.5682782624355097`*^9}, 3.568284752702606*^9, 3.568284795852282*^9, 3.56829601549891*^9, 3.5683055034647865`*^9, {3.5804444900184712`*^9, 3.5804444924208755`*^9}, {3.5804469928442087`*^9, 3.580447008101035*^9}, { 3.5805253295468397`*^9, 3.580525331153642*^9}, {3.5819184024697857`*^9, 3.5819184121574025`*^9}}], Cell[BoxData[ RowBox[{"{", RowBox[{"\<\"N\"\>", ",", "\<\"H\"\>", ",", "\<\"H\"\>", ",", "\<\"H\"\>"}], "}"}]], "Output", CellChangeTimes->{ 3.581919805793612*^9, 3.581920016456382*^9, 3.581920122224568*^9, { 3.5819202083523192`*^9, 3.5819202250911484`*^9}, {3.5819203332929387`*^9, 3.581920380046221*^9}, 3.5819205148616576`*^9, {3.581920548167716*^9, 3.5819206256842523`*^9}, 3.5819212345689216`*^9, 3.5819212783269987`*^9, { 3.581921332178293*^9, 3.581921369290758*^9}, {3.581921401052414*^9, 3.581921440801284*^9}, 3.581921471564538*^9, {3.581921540469859*^9, 3.581921584929937*^9}, 3.5819216160675917`*^9, 3.5819216523844557`*^9, 3.5819217024917436`*^9, 3.5819313710422173`*^9, {3.581931401711871*^9, 3.581931426531515*^9}, 3.5819314850004177`*^9, {3.581931523298485*^9, 3.581931549568931*^9}, {3.5819315983034167`*^9, 3.581931687972374*^9}, 3.5819317957217636`*^9, 3.5819318650326853`*^9, {3.5819318975587425`*^9, 3.5819319422684207`*^9}, {3.5819319735308757`*^9, 3.581932025946968*^9}}] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[{ RowBox[{"n", "=", RowBox[{"Length", "[", "u", "]"}]}], "\[IndentingNewLine]", RowBox[{ RowBox[{"num1", "=", RowBox[{"Table", "[", RowBox[{"i", ",", RowBox[{"{", RowBox[{"i", ",", "1", ",", "n"}], "}"}]}], "]"}]}], ";"}], "\[IndentingNewLine]", RowBox[{"u1", "=", RowBox[{"Table", "[", RowBox[{ RowBox[{"If", "[", RowBox[{ RowBox[{ RowBox[{"u", "[", RowBox[{"[", "i", "]"}], "]"}], "\[Equal]", "\"\\""}], ",", "0.255", ",", RowBox[{"If", "[", RowBox[{ RowBox[{ RowBox[{"u", "[", RowBox[{"[", "i", "]"}], "]"}], "\[Equal]", "\"\\""}], ",", "0.12", ",", RowBox[{"If", "[", RowBox[{ RowBox[{ RowBox[{"u", "[", RowBox[{"[", "i", "]"}], "]"}], "\[Equal]", "\"\\""}], ",", "0.24", ",", RowBox[{"If", "[", RowBox[{ RowBox[{ RowBox[{"u", "[", RowBox[{"[", "i", "]"}], "]"}], "\[Equal]", "\"\\""}], ",", "0.18", ",", RowBox[{"If", "[", RowBox[{ RowBox[{ RowBox[{"u", "[", RowBox[{"[", "i", "]"}], "]"}], "\[Equal]", "\"\\""}], ",", "0.5"}], "]"}]}], "]"}]}], "]"}]}], "]"}]}], "]"}], ",", RowBox[{"{", RowBox[{"i", ",", "1", ",", "n"}], "}"}]}], "]"}]}], "\[IndentingNewLine]", RowBox[{"u2", "=", RowBox[{"Table", "[", RowBox[{ RowBox[{"If", "[", RowBox[{ RowBox[{ RowBox[{"u", "[", RowBox[{"[", "i", "]"}], "]"}], "\[Equal]", "\"\\""}], ",", RowBox[{"(*", "0.25618", "*)"}], "0.2562", ",", RowBox[{"If", "[", RowBox[{ RowBox[{ RowBox[{"u", "[", RowBox[{"[", "i", "]"}], "]"}], "\[Equal]", "\"\\""}], ",", "0.6", ",", RowBox[{"If", "[", RowBox[{ RowBox[{ RowBox[{"u", "[", RowBox[{"[", "i", "]"}], "]"}], "\[Equal]", "\"\\""}], ",", "0.21522", ",", RowBox[{"If", "[", RowBox[{ RowBox[{ RowBox[{"u", "[", RowBox[{"[", "i", "]"}], "]"}], "\[Equal]", "\"\\""}], ",", StyleBox["0.1792", FontColor->RGBColor[1, 0, 0]], ",", RowBox[{"If", "[", RowBox[{ RowBox[{ RowBox[{"u", "[", RowBox[{"[", "i", "]"}], "]"}], "\[Equal]", "\"\\""}], ",", "0.48698"}], "]"}]}], "]"}]}], "]"}]}], "]"}]}], "]"}], ",", RowBox[{"{", RowBox[{"i", ",", "1", ",", "n"}], "}"}]}], "]"}]}], "\[IndentingNewLine]", RowBox[{"cn", "=", RowBox[{"Table", "[", RowBox[{ RowBox[{"If", "[", RowBox[{ RowBox[{ RowBox[{"u", "[", RowBox[{"[", "i", "]"}], "]"}], "\[Equal]", "\"\\""}], ",", "6.0", ",", RowBox[{"If", "[", RowBox[{ RowBox[{ RowBox[{"u", "[", RowBox[{"[", "i", "]"}], "]"}], "\[Equal]", "\"\\""}], ",", "1.0", ",", RowBox[{"If", "[", RowBox[{ RowBox[{ RowBox[{"u", "[", RowBox[{"[", "i", "]"}], "]"}], "\[Equal]", "\"\\""}], ",", "7.0", ",", RowBox[{"If", "[", RowBox[{ RowBox[{ RowBox[{"u", "[", RowBox[{"[", "i", "]"}], "]"}], "\[Equal]", "\"\\""}], ",", "8.0", ",", RowBox[{"If", "[", RowBox[{ RowBox[{ RowBox[{"u", "[", RowBox[{"[", "i", "]"}], "]"}], "\[Equal]", "\"\\""}], ",", "7.0"}], "]"}]}], "]"}]}], "]"}]}], "]"}]}], "]"}], ",", RowBox[{"{", RowBox[{"i", ",", "1", ",", "n"}], "}"}]}], "]"}]}], "\[IndentingNewLine]", RowBox[{ RowBox[{"bc", "=", "0"}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"For", "[", RowBox[{ RowBox[{"i", "=", "1"}], ",", " ", RowBox[{"i", "<", RowBox[{"n", "+", "1"}]}], ",", RowBox[{"i", "++"}], ",", RowBox[{"If", "[", RowBox[{ RowBox[{ RowBox[{"u", "[", RowBox[{"[", "i", "]"}], "]"}], "\[NotEqual]", "\"\\""}], ",", " ", RowBox[{"bc", "=", RowBox[{"bc", "+", "1"}]}]}], "]"}]}], "]"}], ";"}], "\[IndentingNewLine]", "bc", "\[IndentingNewLine]", RowBox[{"bh", "=", RowBox[{"n", "-", "bc"}]}]}], "Input", CellChangeTimes->{{3.568277663590458*^9, 3.568277712652544*^9}, 3.5682785838808746`*^9, 3.580447125101241*^9, {3.580447338150815*^9, 3.580447473683853*^9}, {3.580447529251151*^9, 3.5804475516215897`*^9}, { 3.580448220971966*^9, 3.580448222141968*^9}, {3.5804483597810097`*^9, 3.5804483678618236`*^9}, {3.5804484008402815`*^9, 3.5804484262371264`*^9}, {3.5804484577023816`*^9, 3.5804484578895817`*^9}, {3.5804485097752733`*^9, 3.5804485333157144`*^9}, 3.58044856532697*^9, {3.580449794250329*^9, 3.5804497945467296`*^9}, { 3.580449861034046*^9, 3.580449943339791*^9}, {3.580450110182084*^9, 3.5804501195421004`*^9}, {3.5804595061521816`*^9, 3.580459540721842*^9}, 3.5804625847395887`*^9, {3.5804626281388645`*^9, 3.580462631758071*^9}, { 3.5804626688549366`*^9, 3.5804627184318237`*^9}, {3.5804763932858744`*^9, 3.5804763978722825`*^9}, 3.5804765357297244`*^9, 3.5804765911254215`*^9, { 3.580476629189489*^9, 3.5804766297510896`*^9}, {3.580476668641958*^9, 3.5804766699055605`*^9}, {3.580477336588331*^9, 3.5804773389439354`*^9}, { 3.58047738137601*^9, 3.580477410969262*^9}, 3.580623917574172*^9, { 3.5819203240109224`*^9, 3.581920324900124*^9}}], Cell[BoxData["4"], "Output", CellChangeTimes->{ 3.581919805840412*^9, 3.581920016471982*^9, 3.581920122240168*^9, { 3.581920208367919*^9, 3.5819202250911484`*^9}, {3.5819203333085384`*^9, 3.581920380061821*^9}, 3.5819205148616576`*^9, {3.581920548167716*^9, 3.581920625699852*^9}, 3.5819212345845213`*^9, 3.5819212783425984`*^9, { 3.581921332178293*^9, 3.5819213693063583`*^9}, {3.581921401068014*^9, 3.581921440816884*^9}, 3.581921471564538*^9, {3.581921540469859*^9, 3.581921584945537*^9}, 3.581921616083192*^9, 3.581921652400056*^9, 3.5819217025073433`*^9, 3.5819313710578175`*^9, {3.5819314017274714`*^9, 3.581931426531515*^9}, 3.581931485016018*^9, {3.581931523298485*^9, 3.5819315495845313`*^9}, {3.5819315983034167`*^9, 3.581931687987974*^9}, 3.5819317957373633`*^9, 3.5819318650482855`*^9, {3.5819318975743427`*^9, 3.581931942284021*^9}, {3.5819319735464754`*^9, 3.581932025946968*^9}}], Cell[BoxData[ RowBox[{"{", RowBox[{"0.24`", ",", "0.12`", ",", "0.12`", ",", "0.12`"}], "}"}]], "Output", CellChangeTimes->{ 3.581919805840412*^9, 3.581920016471982*^9, 3.581920122240168*^9, { 3.581920208367919*^9, 3.5819202250911484`*^9}, {3.5819203333085384`*^9, 3.581920380061821*^9}, 3.5819205148616576`*^9, {3.581920548167716*^9, 3.581920625699852*^9}, 3.5819212345845213`*^9, 3.5819212783425984`*^9, { 3.581921332178293*^9, 3.5819213693063583`*^9}, {3.581921401068014*^9, 3.581921440816884*^9}, 3.581921471564538*^9, {3.581921540469859*^9, 3.581921584945537*^9}, 3.581921616083192*^9, 3.581921652400056*^9, 3.5819217025073433`*^9, 3.5819313710578175`*^9, {3.5819314017274714`*^9, 3.581931426531515*^9}, 3.581931485016018*^9, {3.581931523298485*^9, 3.5819315495845313`*^9}, {3.5819315983034167`*^9, 3.581931687987974*^9}, 3.5819317957373633`*^9, 3.5819318650482855`*^9, {3.5819318975743427`*^9, 3.581931942284021*^9}, {3.5819319735464754`*^9, 3.581932025946968*^9}}], Cell[BoxData[ RowBox[{"{", RowBox[{"0.21522`", ",", "0.6`", ",", "0.6`", ",", "0.6`"}], "}"}]], "Output", CellChangeTimes->{ 3.581919805840412*^9, 3.581920016471982*^9, 3.581920122240168*^9, { 3.581920208367919*^9, 3.5819202250911484`*^9}, {3.5819203333085384`*^9, 3.581920380061821*^9}, 3.5819205148616576`*^9, {3.581920548167716*^9, 3.581920625699852*^9}, 3.5819212345845213`*^9, 3.5819212783425984`*^9, { 3.581921332178293*^9, 3.5819213693063583`*^9}, {3.581921401068014*^9, 3.581921440816884*^9}, 3.581921471564538*^9, {3.581921540469859*^9, 3.581921584945537*^9}, 3.581921616083192*^9, 3.581921652400056*^9, 3.5819217025073433`*^9, 3.5819313710578175`*^9, {3.5819314017274714`*^9, 3.581931426531515*^9}, 3.581931485016018*^9, {3.581931523298485*^9, 3.5819315495845313`*^9}, {3.5819315983034167`*^9, 3.581931687987974*^9}, 3.5819317957373633`*^9, 3.5819318650482855`*^9, {3.5819318975743427`*^9, 3.581931942284021*^9}, {3.5819319735464754`*^9, 3.581932025962568*^9}}], Cell[BoxData[ RowBox[{"{", RowBox[{"7.`", ",", "1.`", ",", "1.`", ",", "1.`"}], "}"}]], "Output", CellChangeTimes->{ 3.581919805840412*^9, 3.581920016471982*^9, 3.581920122240168*^9, { 3.581920208367919*^9, 3.5819202250911484`*^9}, {3.5819203333085384`*^9, 3.581920380061821*^9}, 3.5819205148616576`*^9, {3.581920548167716*^9, 3.581920625699852*^9}, 3.5819212345845213`*^9, 3.5819212783425984`*^9, { 3.581921332178293*^9, 3.5819213693063583`*^9}, {3.581921401068014*^9, 3.581921440816884*^9}, 3.581921471564538*^9, {3.581921540469859*^9, 3.581921584945537*^9}, 3.581921616083192*^9, 3.581921652400056*^9, 3.5819217025073433`*^9, 3.5819313710578175`*^9, {3.5819314017274714`*^9, 3.581931426531515*^9}, 3.581931485016018*^9, {3.581931523298485*^9, 3.5819315495845313`*^9}, {3.5819315983034167`*^9, 3.581931687987974*^9}, 3.5819317957373633`*^9, 3.5819318650482855`*^9, {3.5819318975743427`*^9, 3.581931942284021*^9}, {3.5819319735464754`*^9, 3.581932025962568*^9}}], Cell[BoxData["1"], "Output", CellChangeTimes->{ 3.581919805840412*^9, 3.581920016471982*^9, 3.581920122240168*^9, { 3.581920208367919*^9, 3.5819202250911484`*^9}, {3.5819203333085384`*^9, 3.581920380061821*^9}, 3.5819205148616576`*^9, {3.581920548167716*^9, 3.581920625699852*^9}, 3.5819212345845213`*^9, 3.5819212783425984`*^9, { 3.581921332178293*^9, 3.5819213693063583`*^9}, {3.581921401068014*^9, 3.581921440816884*^9}, 3.581921471564538*^9, {3.581921540469859*^9, 3.581921584945537*^9}, 3.581921616083192*^9, 3.581921652400056*^9, 3.5819217025073433`*^9, 3.5819313710578175`*^9, {3.5819314017274714`*^9, 3.581931426531515*^9}, 3.581931485016018*^9, {3.581931523298485*^9, 3.5819315495845313`*^9}, {3.5819315983034167`*^9, 3.581931687987974*^9}, 3.5819317957373633`*^9, 3.5819318650482855`*^9, {3.5819318975743427`*^9, 3.581931942284021*^9}, {3.5819319735464754`*^9, 3.581932025962568*^9}}], Cell[BoxData["3"], "Output", CellChangeTimes->{ 3.581919805840412*^9, 3.581920016471982*^9, 3.581920122240168*^9, { 3.581920208367919*^9, 3.5819202250911484`*^9}, {3.5819203333085384`*^9, 3.581920380061821*^9}, 3.5819205148616576`*^9, {3.581920548167716*^9, 3.581920625699852*^9}, 3.5819212345845213`*^9, 3.5819212783425984`*^9, { 3.581921332178293*^9, 3.5819213693063583`*^9}, {3.581921401068014*^9, 3.581921440816884*^9}, 3.581921471564538*^9, {3.581921540469859*^9, 3.581921584945537*^9}, 3.581921616083192*^9, 3.581921652400056*^9, 3.5819217025073433`*^9, 3.5819313710578175`*^9, {3.5819314017274714`*^9, 3.581931426531515*^9}, 3.581931485016018*^9, {3.581931523298485*^9, 3.5819315495845313`*^9}, {3.5819315983034167`*^9, 3.581931687987974*^9}, 3.5819317957373633`*^9, 3.5819318650482855`*^9, {3.5819318975743427`*^9, 3.581931942284021*^9}, {3.5819319735464754`*^9, 3.581932025962568*^9}}] }, Open ]], Cell[BoxData[{ RowBox[{ RowBox[{"Plot1", "=", RowBox[{"Table", "[", RowBox[{ RowBox[{"Graphics3D", "[", RowBox[{"{", RowBox[{"Sphere", "[", RowBox[{ RowBox[{"{", RowBox[{"t", "[", RowBox[{"[", "i", "]"}], "]"}], "}"}], ",", RowBox[{"u1", "[", RowBox[{"[", "i", "]"}], "]"}]}], "]"}], "}"}], "]"}], ",", RowBox[{"{", RowBox[{"i", ",", "1", ",", "n"}], "}"}]}], "]"}]}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"Plot1o", "=", RowBox[{"Table", "[", RowBox[{ RowBox[{"Graphics3D", "[", RowBox[{"{", RowBox[{ RowBox[{"Opacity", "[", "0.8", "]"}], ",", RowBox[{"If", "[", RowBox[{ RowBox[{ RowBox[{"u", "[", RowBox[{"[", "i", "]"}], "]"}], "\[Equal]", "\"\\""}], ",", RowBox[{"Lighter", "[", "Blue", "]"}], ",", RowBox[{"If", "[", RowBox[{ RowBox[{ RowBox[{"u", "[", RowBox[{"[", "i", "]"}], "]"}], "\[Equal]", "\"\\""}], ",", RowBox[{"Lighter", "[", "White", "]"}], ",", RowBox[{"If", "[", RowBox[{ RowBox[{ RowBox[{"u", "[", RowBox[{"[", "i", "]"}], "]"}], "\[Equal]", "\"\\""}], ",", RowBox[{"Lighter", "[", RowBox[{"Red", ",", "1"}], "]"}], ",", RowBox[{"If", "[", RowBox[{ RowBox[{ RowBox[{"u", "[", RowBox[{"[", "i", "]"}], "]"}], "\[Equal]", "\"\\""}], ",", RowBox[{"Lighter", "[", "Green", "]"}], ",", RowBox[{"If", "[", RowBox[{ RowBox[{ RowBox[{"u", "[", RowBox[{"[", "i", "]"}], "]"}], "\[Equal]", "\"\\""}], ",", RowBox[{"Lighter", "[", "Orange", "]"}], ",", RowBox[{"Darker", "[", "Brown", "]"}]}], "]"}]}], "]"}]}], "]"}]}], "]"}]}], "]"}], ",", RowBox[{"Sphere", "[", RowBox[{ RowBox[{"{", RowBox[{"t", "[", RowBox[{"[", "i", "]"}], "]"}], "}"}], ",", RowBox[{"u1", "[", RowBox[{"[", "i", "]"}], "]"}]}], "]"}]}], "}"}], "]"}], ",", RowBox[{"{", RowBox[{"i", ",", "1", ",", "n"}], "}"}]}], "]"}]}], ";"}], "\[IndentingNewLine]"}], "Input", CellChangeTimes->{{3.5679440895764875`*^9, 3.5679441000441055`*^9}, { 3.5679441319773617`*^9, 3.5679441523041973`*^9}, {3.567944240210352*^9, 3.5679442813476243`*^9}, {3.567944323966899*^9, 3.567944345931738*^9}, { 3.567944397567828*^9, 3.567944456941533*^9}, {3.567944491557994*^9, 3.5679445468444905`*^9}, {3.5679446505690727`*^9, 3.567944683875131*^9}, { 3.567944736244423*^9, 3.5679448177233667`*^9}, {3.567945549707852*^9, 3.5679455499730525`*^9}, {3.5679456039959474`*^9, 3.567945606195551*^9}, { 3.567945704460124*^9, 3.5679457164877453`*^9}, {3.5679457857362666`*^9, 3.5679458050023003`*^9}, {3.567946353670864*^9, 3.5679464127169676`*^9}, { 3.5679466013368993`*^9, 3.5679466311173515`*^9}, {3.5679467590999765`*^9, 3.567946915739851*^9}, {3.5679469466123056`*^9, 3.567946946815106*^9}, { 3.5679471385082426`*^9, 3.5679471497870626`*^9}, {3.5679483907224417`*^9, 3.5679484036080647`*^9}, {3.567948441937332*^9, 3.5679484421869326`*^9}, { 3.567948496740228*^9, 3.56794849772303*^9}, {3.567948847912445*^9, 3.5679488949933276`*^9}, {3.568011728877214*^9, 3.5680117308213253`*^9}, { 3.568011766325356*^9, 3.568011773436763*^9}, {3.5681173314452896`*^9, 3.5681173370612993`*^9}, {3.568117919800323*^9, 3.5681179678952074`*^9}, { 3.56811809459863*^9, 3.568118105409449*^9}, {3.5681181818963833`*^9, 3.5681182389144835`*^9}, {3.568118274888147*^9, 3.5681182883977704`*^9}, { 3.568118518513775*^9, 3.56811852739019*^9}, {3.5681188250543127`*^9, 3.568118862634779*^9}, {3.568118972396572*^9, 3.5681189862493963`*^9}, { 3.568119020694257*^9, 3.568119047136303*^9}, {3.5681190903015785`*^9, 3.568119136930061*^9}, {3.5681191671005135`*^9, 3.568119202808976*^9}, { 3.5681194788046613`*^9, 3.568119487603077*^9}, {3.5681195353235607`*^9, 3.5681195410331707`*^9}, 3.56811959201406*^9, {3.5681196426985493`*^9, 3.568119659702579*^9}, {3.568119726813897*^9, 3.56811974027672*^9}, { 3.5682659184078283`*^9, 3.5682659267694435`*^9}, {3.568265972477524*^9, 3.568266002725977*^9}, 3.568277802649102*^9, {3.5804449976745625`*^9, 3.580445016550596*^9}, {3.5804471386732645`*^9, 3.580447144570075*^9}, { 3.5804597731466503`*^9, 3.580459773926652*^9}, {3.580459890942457*^9, 3.5804599070572853`*^9}, {3.5804612382856236`*^9, 3.5804612398300266`*^9}, {3.580461274914488*^9, 3.580461275585289*^9}, { 3.5804613451302114`*^9, 3.580461345504612*^9}, {3.580465262094291*^9, 3.5804652627026925`*^9}, {3.580465328893608*^9, 3.5804653540408525`*^9}}], Cell[BoxData[{ RowBox[{ RowBox[{ RowBox[{"Plot2", "=", RowBox[{"Table", "[", RowBox[{ RowBox[{"Graphics3D", "[", RowBox[{"Text", "[", RowBox[{"i", ",", RowBox[{"{", RowBox[{ RowBox[{ RowBox[{"t", "[", RowBox[{"[", RowBox[{"i", ",", "1"}], "]"}], "]"}], "-", "0.5"}], ",", RowBox[{"t", "[", RowBox[{"[", RowBox[{"i", ",", "2"}], "]"}], "]"}], ",", RowBox[{"t", "[", RowBox[{"[", RowBox[{"i", ",", "3"}], "]"}], "]"}]}], "}"}], " ", ",", RowBox[{"{", RowBox[{"1", ",", "0"}], "}"}]}], "]"}], "]"}], ",", RowBox[{"{", RowBox[{"i", ",", "1", ",", "n"}], "}"}]}], "]"}]}], ";"}], "\[IndentingNewLine]", RowBox[{"(*", RowBox[{"Distance", " ", "Matrix", " ", "Bohr"}], "*)"}]}], "\[IndentingNewLine]", RowBox[{ RowBox[{"dc", "=", RowBox[{"Table", "[", RowBox[{ RowBox[{"Norm", "[", RowBox[{ RowBox[{"t", "[", RowBox[{"[", "i", "]"}], "]"}], "-", RowBox[{"t", "[", RowBox[{"[", "j", "]"}], "]"}]}], "]"}], ",", RowBox[{"{", RowBox[{"i", ",", "1", ",", "n"}], "}"}], ",", RowBox[{"{", RowBox[{"j", ",", "1", ",", "n"}], "}"}]}], "]"}]}], ";"}]}], "Input", CellChangeTimes->{{3.5679440895764875`*^9, 3.5679441000441055`*^9}, { 3.5679441319773617`*^9, 3.5679441523041973`*^9}, {3.567944240210352*^9, 3.5679442813476243`*^9}, {3.567944323966899*^9, 3.567944345931738*^9}, { 3.567944397567828*^9, 3.567944456941533*^9}, {3.567944491557994*^9, 3.5679445468444905`*^9}, {3.5679446505690727`*^9, 3.567944683875131*^9}, { 3.567944736244423*^9, 3.5679448177233667`*^9}, {3.567945549707852*^9, 3.5679455499730525`*^9}, {3.5679456039959474`*^9, 3.567945606195551*^9}, { 3.567945704460124*^9, 3.5679457164877453`*^9}, {3.5679457857362666`*^9, 3.5679458050023003`*^9}, {3.567946353670864*^9, 3.5679464127169676`*^9}, { 3.5679466013368993`*^9, 3.5679466311173515`*^9}, {3.5679467590999765`*^9, 3.567946915739851*^9}, {3.5679469466123056`*^9, 3.567946946815106*^9}, { 3.5679471385082426`*^9, 3.5679471497870626`*^9}, {3.5679483907224417`*^9, 3.5679484036080647`*^9}, {3.567948441937332*^9, 3.5679484421869326`*^9}, { 3.567948496740228*^9, 3.56794849772303*^9}, {3.567948847912445*^9, 3.5679488949933276`*^9}, {3.568011728877214*^9, 3.5680117308213253`*^9}, { 3.568011766325356*^9, 3.568011773436763*^9}, {3.5681173314452896`*^9, 3.5681173370612993`*^9}, {3.568117919800323*^9, 3.5681179678952074`*^9}, { 3.56811809459863*^9, 3.568118105409449*^9}, {3.5681181818963833`*^9, 3.5681182389144835`*^9}, {3.568118274888147*^9, 3.5681182883977704`*^9}, { 3.568118518513775*^9, 3.56811852739019*^9}, {3.5681188250543127`*^9, 3.568118862634779*^9}, {3.568118972396572*^9, 3.5681189862493963`*^9}, { 3.568119020694257*^9, 3.568119047136303*^9}, {3.5681190903015785`*^9, 3.568119136930061*^9}, {3.5681191671005135`*^9, 3.568119202808976*^9}, { 3.5681194788046613`*^9, 3.568119487603077*^9}, {3.5681195353235607`*^9, 3.5681195410331707`*^9}, 3.56811959201406*^9, {3.5681196426985493`*^9, 3.568119659702579*^9}, {3.568119726813897*^9, 3.56811974027672*^9}, { 3.5681199008322024`*^9, 3.568119920691037*^9}, {3.5681199536070952`*^9, 3.568119958521104*^9}, {3.568120000641178*^9, 3.568120067206495*^9}, { 3.5681211528280015`*^9, 3.5681211643408213`*^9}, 3.5681213201694956`*^9, { 3.568121503313817*^9, 3.568121508961027*^9}, {3.568266015439999*^9, 3.5682660461096525`*^9}, 3.568277806081108*^9, {3.5804471990141706`*^9, 3.5804472170010023`*^9}, {3.5804476007616763`*^9, 3.5804476229917154`*^9}}], Cell[BoxData[{ RowBox[{ RowBox[{"x", "=", RowBox[{"Table", "[", RowBox[{ RowBox[{"t", "[", RowBox[{"[", RowBox[{"i", ",", "1"}], "]"}], "]"}], ",", RowBox[{"{", RowBox[{"i", ",", "1", ",", "n"}], "}"}]}], "]"}]}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"y", "=", RowBox[{"Table", "[", RowBox[{ RowBox[{"t", "[", RowBox[{"[", RowBox[{"i", ",", "2"}], "]"}], "]"}], ",", RowBox[{"{", RowBox[{"i", ",", "1", ",", "n"}], "}"}]}], "]"}]}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"z", "=", RowBox[{"Table", "[", RowBox[{ RowBox[{"t", "[", RowBox[{"[", RowBox[{"i", ",", "3"}], "]"}], "]"}], ",", RowBox[{"{", RowBox[{"i", ",", "1", ",", "n"}], "}"}]}], "]"}]}], ";"}]}], "Input", CellChangeTimes->{{3.5678630319943895`*^9, 3.5678630956269007`*^9}, { 3.5678632280087337`*^9, 3.567863228336334*^9}, {3.5678632621727934`*^9, 3.5678633509213495`*^9}, {3.5678644293824434`*^9, 3.567864451908883*^9}, { 3.567864923404111*^9, 3.56786494544695*^9}, {3.5678650143210707`*^9, 3.5678650845367947`*^9}, {3.567869231084096*^9, 3.567869278118179*^9}, { 3.5682778102931156`*^9, 3.5682778156907253`*^9}}], Cell[CellGroupData[{ Cell[BoxData[ RowBox[{ StyleBox[ RowBox[{"(*", " ", RowBox[{"Distance", " ", "matrix", " ", "Bohr"}], " ", "*)"}], "Text"], "\[IndentingNewLine]", RowBox[{ RowBox[{ RowBox[{"Dij", "=", RowBox[{"Table", "[", RowBox[{ RowBox[{"If", "[", RowBox[{ RowBox[{"(", RowBox[{ RowBox[{ RowBox[{"dc", "[", RowBox[{"[", RowBox[{"i", ",", "j"}], "]"}], "]"}], "<", "3.0"}], "||", RowBox[{"(", RowBox[{ RowBox[{ RowBox[{"u", "[", RowBox[{"[", "i", "]"}], "]"}], "\[Equal]", "\"\\""}], " ", "&&", " ", RowBox[{ RowBox[{"dc", "[", RowBox[{"[", RowBox[{"i", ",", "j"}], "]"}], "]"}], "<", "3.24"}]}], ")"}]}], ")"}], ",", RowBox[{"dc", "[", RowBox[{"[", RowBox[{"i", ",", "j"}], "]"}], "]"}], ",", "0"}], "]"}], ",", RowBox[{"{", RowBox[{"i", ",", "1", ",", "n"}], "}"}], ",", RowBox[{"{", RowBox[{"j", ",", "1", ",", "n"}], "}"}]}], "]"}]}], ";"}], "\[IndentingNewLine]", RowBox[{"MatrixForm", "[", RowBox[{"Prepend", "[", RowBox[{"Dij", ",", "num1"}], "]"}], "]"}]}]}]], "Input", CellChangeTimes->{{3.567863535157673*^9, 3.5678635412104836`*^9}, { 3.5678638182825704`*^9, 3.567863827283786*^9}, {3.5679503910983553`*^9, 3.5679504266352177`*^9}, {3.5679504653700857`*^9, 3.5679505048069553`*^9}, 3.567950534915008*^9, {3.567951107623214*^9, 3.567951136046464*^9}, 3.567951302545556*^9, {3.5679562986474605`*^9, 3.567956305355472*^9}, { 3.5679563590975666`*^9, 3.567956370688387*^9}, {3.567956414930065*^9, 3.567956430467692*^9}, {3.567956484740187*^9, 3.567956500667815*^9}, { 3.5679565456270943`*^9, 3.5679565868267665`*^9}, {3.5679569267045636`*^9, 3.5679569448941956`*^9}, {3.567956976562251*^9, 3.567957000711094*^9}, { 3.5679570348595533`*^9, 3.5679570632672033`*^9}, {3.5679573263928657`*^9, 3.5679573286548696`*^9}, {3.5679573611029263`*^9, 3.5679573637393312`*^9}, {3.5679592820903006`*^9, 3.567959317127962*^9}, { 3.567959397655304*^9, 3.5679594004945087`*^9}, {3.5679594704762316`*^9, 3.5679594724574347`*^9}, {3.567959655898157*^9, 3.567959673073787*^9}, 3.5681143121223865`*^9, 3.568121866388855*^9, 3.568220668221574*^9, { 3.568220718968463*^9, 3.568220723742071*^9}, {3.568220862051914*^9, 3.5682208641111183`*^9}, {3.568220906761593*^9, 3.5682209083527956`*^9}, { 3.5682209451844606`*^9, 3.5682209651680956`*^9}, {3.568221147782016*^9, 3.5682211695908546`*^9}, {3.568221237279373*^9, 3.568221253612602*^9}, { 3.568221305420293*^9, 3.568221306247094*^9}, {3.5682215161142635`*^9, 3.568221546206716*^9}, 3.56822158247678*^9, {3.568277819185131*^9, 3.5682778284359474`*^9}, {3.568286391407484*^9, 3.568286398053096*^9}, { 3.5683070136254387`*^9, 3.5683070186174474`*^9}, 3.5804476741754055`*^9}], Cell[BoxData[ TagBox[ RowBox[{"(", "\[NoBreak]", GridBox[{ {"1", "2", "3", "4"}, {"0.`", "1.9219753314099903`", "1.9219752850062577`", "1.9219752844103315`"}, {"1.9219753314099903`", "0.`", "0", "0"}, {"1.9219752850062577`", "0", "0.`", "0"}, {"1.9219752844103315`", "0", "0", "0.`"} }, GridBoxAlignment->{ "Columns" -> {{Center}}, "ColumnsIndexed" -> {}, "Rows" -> {{Baseline}}, "RowsIndexed" -> {}}, GridBoxSpacings->{"Columns" -> { Offset[0.27999999999999997`], { Offset[0.7]}, Offset[0.27999999999999997`]}, "ColumnsIndexed" -> {}, "Rows" -> { Offset[0.2], { Offset[0.4]}, Offset[0.2]}, "RowsIndexed" -> {}}], "\[NoBreak]", ")"}], Function[BoxForm`e$, MatrixForm[BoxForm`e$]]]], "Output", CellChangeTimes->{ 3.5819198058716125`*^9, 3.581920016487582*^9, 3.581920122271368*^9, { 3.5819202083991194`*^9, 3.581920225122349*^9}, {3.581920333339739*^9, 3.581920380093021*^9}, 3.5819205148928576`*^9, {3.581920548198916*^9, 3.5819206257310524`*^9}, 3.5819212346157217`*^9, 3.5819212783737984`*^9, { 3.581921332209493*^9, 3.5819213693375587`*^9}, {3.581921401099214*^9, 3.581921440848084*^9}, 3.581921471595738*^9, {3.581921540501059*^9, 3.581921584976737*^9}, 3.581921616114392*^9, 3.5819216524312553`*^9, 3.5819217025385437`*^9, 3.581931371089018*^9, {3.5819314017586713`*^9, 3.581931426562715*^9}, 3.5819314850472174`*^9, {3.581931523329685*^9, 3.581931549600131*^9}, {3.5819315983346167`*^9, 3.5819316880035744`*^9}, 3.5819317957529635`*^9, 3.581931865079485*^9, {3.581931897605542*^9, 3.581931942315221*^9}, {3.5819319735620756`*^9, 3.5819320259781675`*^9}}] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[{ RowBox[{"For", "[", RowBox[{ RowBox[{"i", "=", "1"}], " ", ",", RowBox[{"i", "<", RowBox[{"n", "+", "1"}]}], ",", RowBox[{"i", "++"}], ",", "\[IndentingNewLine]", RowBox[{"For", "[", RowBox[{ RowBox[{"j", "=", "1"}], ",", " ", RowBox[{"j", "<", RowBox[{"bc", "+", "1"}]}], ",", RowBox[{"j", "++"}], ",", "\[IndentingNewLine]", RowBox[{"If", "[", RowBox[{ RowBox[{"(", RowBox[{ RowBox[{ RowBox[{"Dij", "[", RowBox[{"[", RowBox[{"i", ",", "j"}], "]"}], "]"}], "\[NotEqual]", "0"}], " ", "&&", " ", RowBox[{ RowBox[{"u", "[", RowBox[{"[", "i", "]"}], "]"}], "\[Equal]", " ", "\"\\""}]}], ")"}], ",", RowBox[{"If", "[", RowBox[{ RowBox[{ RowBox[{"u", "[", RowBox[{"[", "j", "]"}], "]"}], "\[Equal]", "\"\\""}], ",", RowBox[{ RowBox[{"u2", "[", RowBox[{"[", "i", "]"}], "]"}], "=", "0.59"}], ",", RowBox[{"If", "[", RowBox[{ RowBox[{ RowBox[{"u", "[", RowBox[{"[", "j", "]"}], "]"}], "\[Equal]", "\"\\""}], ",", RowBox[{ RowBox[{"u2", "[", RowBox[{"[", "i", "]"}], "]"}], "=", "0.5"}], ",", RowBox[{"If", "[", RowBox[{ RowBox[{ RowBox[{"u", "[", RowBox[{"[", "j", "]"}], "]"}], "\[Equal]", "\"\\""}], ",", RowBox[{ RowBox[{"u2", "[", RowBox[{"[", "i", "]"}], "]"}], "=", "0.5541"}], ",", RowBox[{"If", "[", RowBox[{ RowBox[{ RowBox[{"u", "[", RowBox[{"[", "j", "]"}], "]"}], "\[Equal]", "\"\\""}], ",", RowBox[{ RowBox[{"u2", "[", RowBox[{"[", "i", "]"}], "]"}], "=", StyleBox["0.52", FontColor->RGBColor[1, 0, 0]]}]}], "]"}]}], "]"}]}], "]"}]}], "]"}]}], "]"}]}], "]"}]}], "]"}], "\[IndentingNewLine]", "u2"}], "Input", CellChangeTimes->{{3.5679585418846006`*^9, 3.5679585738334565`*^9}, { 3.567959075187137*^9, 3.5679590758579383`*^9}, {3.5681145227851562`*^9, 3.5681146476945763`*^9}, {3.568280038115429*^9, 3.5682801254131823`*^9}, { 3.5682851622189255`*^9, 3.5682851860713673`*^9}, 3.5682852194866257`*^9, { 3.568296148255143*^9, 3.5682961775675945`*^9}, {3.568305693114319*^9, 3.5683057123647532`*^9}, {3.5683062281640587`*^9, 3.568306232532067*^9}, { 3.568306348658671*^9, 3.5683063634318967`*^9}, {3.5683064594344654`*^9, 3.5683064674060793`*^9}, {3.5683072458942466`*^9, 3.568307254973462*^9}, { 3.56830729910594*^9, 3.56830731050956*^9}, {3.568307613368492*^9, 3.568307617174899*^9}, 3.580447736825115*^9, 3.5804627951995583`*^9, { 3.5804628372416325`*^9, 3.5804628374600325`*^9}, 3.580476792802576*^9, 3.580622794013399*^9}], Cell[BoxData[ RowBox[{"{", RowBox[{"0.21522`", ",", "0.5541`", ",", "0.5541`", ",", "0.5541`"}], "}"}]], "Output", CellChangeTimes->{ 3.5819198058872128`*^9, 3.5819200165031824`*^9, 3.581920122286968*^9, { 3.581920208414719*^9, 3.581920225137949*^9}, {3.581920333355339*^9, 3.581920380093021*^9}, 3.5819205149084578`*^9, {3.5819205482145157`*^9, 3.5819206257310524`*^9}, 3.581921234631322*^9, 3.5819212783737984`*^9, { 3.581921332225093*^9, 3.5819213693531585`*^9}, {3.581921401114814*^9, 3.5819214408636837`*^9}, 3.5819214716113377`*^9, {3.581921540516659*^9, 3.581921584992337*^9}, 3.5819216161299915`*^9, 3.5819216524468555`*^9, 3.581921702554144*^9, 3.5819313711046176`*^9, {3.5819314017586713`*^9, 3.581931426578315*^9}, 3.5819314850628176`*^9, {3.581931523345285*^9, 3.5819315496157312`*^9}, {3.581931598350217*^9, 3.581931688019174*^9}, 3.5819317957685633`*^9, 3.581931865095085*^9, {3.5819318976211424`*^9, 3.581931942330821*^9}, {3.581931973577676*^9, 3.5819320259937677`*^9}}] }, Open ]], Cell[BoxData[{ RowBox[{ RowBox[{ RowBox[{"Fij", "=", RowBox[{"Dij", "-", "u2"}]}], ";"}], "\[IndentingNewLine]", RowBox[{"(*", RowBox[{ RowBox[{"MatrixForm", "[", "Fij", "]"}], ";"}], "*)"}]}], "\[IndentingNewLine]", RowBox[{ RowBox[{"Gij", "=", RowBox[{"Table", "[", RowBox[{ RowBox[{"If", "[", RowBox[{ RowBox[{"i", "\[GreaterEqual]", "j"}], ",", RowBox[{"If", "[", RowBox[{ RowBox[{ RowBox[{"Fij", "[", RowBox[{"[", RowBox[{"i", ",", "j"}], "]"}], "]"}], ">", "0"}], ",", RowBox[{"Fij", "[", RowBox[{"[", RowBox[{"i", ",", "j"}], "]"}], "]"}], ",", "0"}], "]"}], ",", "\"\< \>\""}], "]"}], ",", RowBox[{"{", RowBox[{"i", ",", "1", ",", "n"}], "}"}], ",", RowBox[{"{", RowBox[{"j", ",", "1", ",", "n"}], "}"}]}], "]"}]}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"(*", RowBox[{ RowBox[{"MatrixForm", "[", "Gij", "]"}], ";"}], "*)"}]}]}], "Input", CellChangeTimes->{{3.567958596890297*^9, 3.567958603270708*^9}, { 3.5679587604565845`*^9, 3.5679587707682023`*^9}, {3.5679588272871017`*^9, 3.567958828254304*^9}, {3.567959580066424*^9, 3.5679595814704266`*^9}, { 3.567959624994503*^9, 3.5679596300177116`*^9}, {3.5679597079086485`*^9, 3.567959902877791*^9}, {3.5679599961659546`*^9, 3.5679600446196404`*^9}, { 3.5679609611992497`*^9, 3.567960974006872*^9}, 3.567961975154231*^9, { 3.5679622637079377`*^9, 3.5679622945179915`*^9}, 3.5681142413606625`*^9, 3.568121878697276*^9, {3.5681219332193723`*^9, 3.56812197189184*^9}, { 3.5682778370003624`*^9, 3.5682778397927675`*^9}}], Cell[BoxData[{ RowBox[{ RowBox[{"Hij", "=", RowBox[{"Transpose", "[", "Gij", "]"}]}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"(*", RowBox[{ RowBox[{"MatrixForm", "[", "Hij", "]"}], ";"}], "*)"}]}]}], "Input", CellChangeTimes->{{3.5679601758938704`*^9, 3.5679601965327067`*^9}, { 3.567960427147912*^9, 3.567960432217921*^9}, {3.5679605764089737`*^9, 3.5679605968294096`*^9}, {3.5679607389456596`*^9, 3.5679607643581038`*^9}, 3.5681142501278777`*^9, 3.5681218877140923`*^9}], Cell[BoxData[{ RowBox[{ RowBox[{ RowBox[{"Kij", "=", RowBox[{"Hij", "-", "u2"}]}], ";"}], "\[IndentingNewLine]", RowBox[{"(*", RowBox[{ RowBox[{"MatrixForm", "[", "Kij", "]"}], ";"}], "*)"}]}], "\[IndentingNewLine]", RowBox[{ RowBox[{"Lij", "=", RowBox[{"Table", "[", RowBox[{ RowBox[{"If", "[", RowBox[{ RowBox[{"i", "\[LessEqual]", "j"}], ",", RowBox[{"If", "[", RowBox[{ RowBox[{ RowBox[{"Kij", "[", RowBox[{"[", RowBox[{"i", ",", "j"}], "]"}], "]"}], ">", "0"}], ",", RowBox[{"Kij", "[", RowBox[{"[", RowBox[{"i", ",", "j"}], "]"}], "]"}], ",", "0"}], "]"}], ",", "\"\< \>\""}], "]"}], ",", RowBox[{"{", RowBox[{"i", ",", "1", ",", "n"}], "}"}], ",", RowBox[{"{", RowBox[{"j", ",", "1", ",", "n"}], "}"}]}], "]"}]}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"(*", RowBox[{ RowBox[{"MatrixForm", "[", "Lij", "]"}], ";"}], "*)"}]}]}], "Input", CellChangeTimes->{{3.5679602339571724`*^9, 3.567960257419614*^9}, { 3.567960343406965*^9, 3.567960353500182*^9}, {3.5679604155258913`*^9, 3.567960421422702*^9}, {3.567960854323462*^9, 3.567960874197897*^9}, { 3.5679611596939983`*^9, 3.567961170270817*^9}, {3.5679614000124207`*^9, 3.567961407016833*^9}, {3.5679615066074076`*^9, 3.567961509649413*^9}, 3.5679616124379935`*^9, 3.5679616766477065`*^9, {3.5679617424486217`*^9, 3.5679617456310277`*^9}, 3.567961801276325*^9, {3.5679618582788253`*^9, 3.5679618970760937`*^9}, {3.5679620279135237`*^9, 3.567962030113127*^9}, 3.567962107894864*^9, {3.567962149468937*^9, 3.5679621572533503`*^9}, 3.5679623389156694`*^9, {3.567962645815009*^9, 3.567962648888214*^9}, { 3.567962691647889*^9, 3.567962693020692*^9}, {3.568048161486014*^9, 3.568048162827616*^9}, 3.5680482096900983`*^9, 3.5681142588638926`*^9, 3.568121899632513*^9, 3.5681219958534822`*^9, {3.568277844675576*^9, 3.5682778463603787`*^9}}], Cell[BoxData[{ RowBox[{ RowBox[{ RowBox[{"Lij", "=", RowBox[{"Table", "[", RowBox[{ RowBox[{"If", "[", RowBox[{ RowBox[{"i", "\[LessEqual]", "j"}], ",", RowBox[{"If", "[", RowBox[{ RowBox[{ RowBox[{"Lij", "[", RowBox[{"[", RowBox[{"i", ",", "j"}], "]"}], "]"}], ">", "0"}], ",", RowBox[{"If", "[", RowBox[{ RowBox[{ RowBox[{"u", "[", RowBox[{"[", "j", "]"}], "]"}], "\[NotEqual]", "\"\\""}], ",", RowBox[{"0.5", "*", RowBox[{"Lij", "[", RowBox[{"[", RowBox[{"i", ",", "j"}], "]"}], "]"}]}], ",", RowBox[{"Lij", "[", RowBox[{"[", RowBox[{"i", ",", "j"}], "]"}], "]"}]}], "]"}], ",", "0"}], "]"}], ",", "\"\< \>\""}], "]"}], ",", RowBox[{"{", RowBox[{"i", ",", "1", ",", "n"}], "}"}], ",", RowBox[{"{", RowBox[{"j", ",", "1", ",", "n"}], "}"}]}], "]"}]}], ";"}], " "}], "\[IndentingNewLine]", RowBox[{ RowBox[{"Qij", "=", "Lij"}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"(*", RowBox[{ RowBox[{"MatrixForm", "[", "Lij", "]"}], ";"}], "*)"}]}]}], "Input", CellChangeTimes->{{3.5679627617388124`*^9, 3.567962837461345*^9}, { 3.567963118121438*^9, 3.567963118698639*^9}, {3.5679631520670977`*^9, 3.5679631541731014`*^9}, {3.5679631898191643`*^9, 3.5679632154656096`*^9}, {3.5679635823158536`*^9, 3.56796361468591*^9}, { 3.567963691516045*^9, 3.567963693590849*^9}, {3.567963737957327*^9, 3.567963807299449*^9}, {3.568048114904332*^9, 3.5680481161835346`*^9}, 3.5680482221389203`*^9, {3.5680485003498087`*^9, 3.5680485123618298`*^9}, 3.5681142659931054`*^9, 3.5681219084621286`*^9, {3.568277848107582*^9, 3.5682778496519847`*^9}, {3.568285867917365*^9, 3.568285868634966*^9}, { 3.568297947687104*^9, 3.568297949137906*^9}, 3.5683030673497076`*^9, { 3.5683057620820403`*^9, 3.5683057631428423`*^9}, 3.5804497010089655`*^9}], Cell[BoxData[{ RowBox[{ RowBox[{"Nij", "=", RowBox[{"Table", "[", RowBox[{ RowBox[{"If", "[", RowBox[{ RowBox[{"i", "\[LessEqual]", "j"}], ",", RowBox[{"If", "[", RowBox[{ RowBox[{ RowBox[{"Lij", "[", RowBox[{"[", RowBox[{"i", ",", "j"}], "]"}], "]"}], ">", "0"}], ",", RowBox[{"2.25", "/", RowBox[{ RowBox[{"Lij", "[", RowBox[{"[", RowBox[{"i", ",", "j"}], "]"}], "]"}], "^", "2"}]}], ",", "0"}], "]"}], ",", "\"\< \>\""}], "]"}], ",", RowBox[{"{", RowBox[{"i", ",", "1", ",", "n"}], "}"}], ",", RowBox[{"{", RowBox[{"j", ",", "1", ",", "n"}], "}"}]}], "]"}]}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"(*", RowBox[{ RowBox[{"MatrixForm", "[", "Nij", "]"}], ";"}], "*)"}]}]}], "Input", CellChangeTimes->{{3.5679628944794455`*^9, 3.5679629710755796`*^9}, { 3.567963889963994*^9, 3.567963933800071*^9}, {3.5680478391738477`*^9, 3.5680478414358516`*^9}, 3.568048231171336*^9, {3.5680482823550262`*^9, 3.56804828449223*^9}, 3.5680483349271183`*^9, 3.568114273059918*^9, 3.5681219175101447`*^9, {3.568277851305588*^9, 3.568277857295998*^9}}], Cell[CellGroupData[{ Cell[BoxData[ RowBox[{ RowBox[{"(*", " ", RowBox[{ RowBox[{"Total", " ", "kinetic", " ", "energy", " ", "in", " ", "Eh"}], ",", " ", RowBox[{"=", " ", RowBox[{"|", "Etot", "|"}]}]}], " ", "*)"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"Tval", "=", RowBox[{"Sum", "[", RowBox[{ RowBox[{"If", "[", RowBox[{ RowBox[{"i", "\[LessEqual]", "j"}], ",", RowBox[{"Nij", "[", RowBox[{"[", RowBox[{"i", ",", "j"}], "]"}], "]"}], ",", "0"}], "]"}], ",", RowBox[{"{", RowBox[{"i", ",", "1", ",", "n"}], "}"}], ",", RowBox[{"{", RowBox[{"j", ",", "1", ",", "n"}], "}"}]}], "]"}]}], "\n", RowBox[{"Tcor", "=", RowBox[{"Sum", "[", RowBox[{ RowBox[{"If", "[", RowBox[{ RowBox[{ RowBox[{"u", "[", RowBox[{"[", "i", "]"}], "]"}], "\[NotEqual]", "\"\\""}], ",", RowBox[{"2.25", "/", RowBox[{ RowBox[{"u2", "[", RowBox[{"[", "i", "]"}], "]"}], "^", "2"}]}], ",", "0"}], "]"}], ",", RowBox[{"{", RowBox[{"i", ",", "1", ",", "n"}], "}"}]}], "]"}]}], "\n", RowBox[{"Ttot", "=", RowBox[{"Tval", "+", "Tcor"}]}], " ", RowBox[{"(*", " ", RowBox[{"plus", " ", "\[Pi]", " ", "and", " ", "lone", " ", RowBox[{"pairs", ":", " ", RowBox[{"+", " ", "8.7616"}]}]}], " ", "*)"}], "\n", RowBox[{"TvalH", "=", RowBox[{"Sum", "[", RowBox[{ RowBox[{"If", "[", RowBox[{ RowBox[{"(", RowBox[{ RowBox[{"i", "\[LessEqual]", "j"}], " ", "&&", " ", RowBox[{ RowBox[{"u", "[", RowBox[{"[", "j", "]"}], "]"}], "\[Equal]", " ", "\"\\""}]}], ")"}], ",", RowBox[{"Nij", "[", RowBox[{"[", RowBox[{"i", ",", "j"}], "]"}], "]"}], ",", "0"}], "]"}], ",", RowBox[{"{", RowBox[{"i", ",", "1", ",", "n"}], "}"}], ",", RowBox[{"{", RowBox[{"j", ",", "1", ",", "n"}], "}"}]}], "]"}]}], "\n", RowBox[{"TvalC", "=", RowBox[{"Tval", "-", "TvalH"}]}]}]}]], "Input", CellChangeTimes->{{3.567963992456174*^9, 3.567964003890994*^9}, { 3.5679640974287586`*^9, 3.5679642038209453`*^9}, {3.56796433180357*^9, 3.567964353487608*^9}, {3.567964403641696*^9, 3.567964453046983*^9}, { 3.5679646160984693`*^9, 3.5679646168316708`*^9}, {3.567964688747797*^9, 3.567964762255126*^9}, {3.568277859480002*^9, 3.568277863598409*^9}, { 3.568286113290196*^9, 3.5682861137113967`*^9}, {3.5682870401502237`*^9, 3.5682870902263117`*^9}, {3.568297787256422*^9, 3.5682977875216227`*^9}, 3.568305788461687*^9, 3.580447849972114*^9}], Cell[BoxData["5.080481444811868`"], "Output", CellChangeTimes->{ 3.581919805918412*^9, 3.5819200165343823`*^9, 3.581920122302568*^9, { 3.5819202084303193`*^9, 3.5819202251691484`*^9}, {3.5819203333865385`*^9, 3.581920380124221*^9}, 3.5819205149396577`*^9, {3.581920548245716*^9, 3.5819206257622523`*^9}, 3.581921234646922*^9, 3.581921278404999*^9, { 3.5819213322562933`*^9, 3.581921369368758*^9}, {3.581921401146014*^9, 3.581921440894884*^9}, 3.581921471642538*^9, {3.581921540547859*^9, 3.5819215850079374`*^9}, 3.581921616161192*^9, 3.581921652478056*^9, 3.5819217025697436`*^9, 3.5819313711202173`*^9, {3.5819314017898717`*^9, 3.581931426609515*^9}, 3.581931485078418*^9, {3.581931523376485*^9, 3.581931549646931*^9}, {3.581931598381417*^9, 3.5819316880503745`*^9}, 3.5819317957997637`*^9, 3.5819318651262856`*^9, {3.5819318976367426`*^9, 3.581931942362021*^9}, {3.5819319736088758`*^9, 3.581932026024968*^9}}], Cell[BoxData["48.57549825442976`"], "Output", CellChangeTimes->{ 3.581919805918412*^9, 3.5819200165343823`*^9, 3.581920122302568*^9, { 3.5819202084303193`*^9, 3.5819202251691484`*^9}, {3.5819203333865385`*^9, 3.581920380124221*^9}, 3.5819205149396577`*^9, {3.581920548245716*^9, 3.5819206257622523`*^9}, 3.581921234646922*^9, 3.581921278404999*^9, { 3.5819213322562933`*^9, 3.581921369368758*^9}, {3.581921401146014*^9, 3.581921440894884*^9}, 3.581921471642538*^9, {3.581921540547859*^9, 3.5819215850079374`*^9}, 3.581921616161192*^9, 3.581921652478056*^9, 3.5819217025697436`*^9, 3.5819313711202173`*^9, {3.5819314017898717`*^9, 3.581931426609515*^9}, 3.581931485078418*^9, {3.581931523376485*^9, 3.581931549646931*^9}, {3.581931598381417*^9, 3.5819316880503745`*^9}, 3.5819317957997637`*^9, 3.5819318651262856`*^9, {3.5819318976367426`*^9, 3.581931942362021*^9}, {3.5819319736088758`*^9, 3.581932026024968*^9}}], Cell[BoxData["53.65597969924163`"], "Output", CellChangeTimes->{ 3.581919805918412*^9, 3.5819200165343823`*^9, 3.581920122302568*^9, { 3.5819202084303193`*^9, 3.5819202251691484`*^9}, {3.5819203333865385`*^9, 3.581920380124221*^9}, 3.5819205149396577`*^9, {3.581920548245716*^9, 3.5819206257622523`*^9}, 3.581921234646922*^9, 3.581921278404999*^9, { 3.5819213322562933`*^9, 3.581921369368758*^9}, {3.581921401146014*^9, 3.581921440894884*^9}, 3.581921471642538*^9, {3.581921540547859*^9, 3.5819215850079374`*^9}, 3.581921616161192*^9, 3.581921652478056*^9, 3.5819217025697436`*^9, 3.5819313711202173`*^9, {3.5819314017898717`*^9, 3.581931426609515*^9}, 3.581931485078418*^9, {3.581931523376485*^9, 3.581931549646931*^9}, {3.581931598381417*^9, 3.5819316880503745`*^9}, 3.5819317957997637`*^9, 3.5819318651262856`*^9, {3.5819318976367426`*^9, 3.581931942362021*^9}, {3.5819319736088758`*^9, 3.581932026024968*^9}}], Cell[BoxData["5.080481444811868`"], "Output", CellChangeTimes->{ 3.581919805918412*^9, 3.5819200165343823`*^9, 3.581920122302568*^9, { 3.5819202084303193`*^9, 3.5819202251691484`*^9}, {3.5819203333865385`*^9, 3.581920380124221*^9}, 3.5819205149396577`*^9, {3.581920548245716*^9, 3.5819206257622523`*^9}, 3.581921234646922*^9, 3.581921278404999*^9, { 3.5819213322562933`*^9, 3.581921369368758*^9}, {3.581921401146014*^9, 3.581921440894884*^9}, 3.581921471642538*^9, {3.581921540547859*^9, 3.5819215850079374`*^9}, 3.581921616161192*^9, 3.581921652478056*^9, 3.5819217025697436`*^9, 3.5819313711202173`*^9, {3.5819314017898717`*^9, 3.581931426609515*^9}, 3.581931485078418*^9, {3.581931523376485*^9, 3.581931549646931*^9}, {3.581931598381417*^9, 3.5819316880503745`*^9}, 3.5819317957997637`*^9, 3.5819318651262856`*^9, {3.5819318976367426`*^9, 3.581931942362021*^9}, {3.5819319736088758`*^9, 3.581932026024968*^9}}], Cell[BoxData["0.`"], "Output", CellChangeTimes->{ 3.581919805918412*^9, 3.5819200165343823`*^9, 3.581920122302568*^9, { 3.5819202084303193`*^9, 3.5819202251691484`*^9}, {3.5819203333865385`*^9, 3.581920380124221*^9}, 3.5819205149396577`*^9, {3.581920548245716*^9, 3.5819206257622523`*^9}, 3.581921234646922*^9, 3.581921278404999*^9, { 3.5819213322562933`*^9, 3.581921369368758*^9}, {3.581921401146014*^9, 3.581921440894884*^9}, 3.581921471642538*^9, {3.581921540547859*^9, 3.5819215850079374`*^9}, 3.581921616161192*^9, 3.581921652478056*^9, 3.5819217025697436`*^9, 3.5819313711202173`*^9, {3.5819314017898717`*^9, 3.581931426609515*^9}, 3.581931485078418*^9, {3.581931523376485*^9, 3.581931549646931*^9}, {3.581931598381417*^9, 3.5819316880503745`*^9}, 3.5819317957997637`*^9, 3.5819318651262856`*^9, {3.5819318976367426`*^9, 3.581931942362021*^9}, {3.5819319736088758`*^9, 3.581932026024968*^9}}] }, Open ]], Cell[BoxData[ RowBox[{"\[IndentingNewLine]", RowBox[{ RowBox[{ RowBox[{"Mij", "=", RowBox[{"Prepend", "[", RowBox[{"Qij", ",", "u"}], "]"}]}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"Oij", "=", RowBox[{"Transpose", "[", "Mij", "]"}]}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"Pij", "=", RowBox[{"Prepend", "[", RowBox[{"Oij", ",", RowBox[{"Prepend", "[", RowBox[{"u", ",", "\"\< \>\""}], "]"}]}], "]"}]}], ";"}]}]}]], "Input", CellChangeTimes->{{3.568045828002715*^9, 3.56804588761042*^9}, 3.5680459828797874`*^9, {3.568046033938677*^9, 3.5680460518787084`*^9}, { 3.568046989190755*^9, 3.5680470284404235`*^9}, {3.568047061028881*^9, 3.568047085567724*^9}, {3.5680471562982483`*^9, 3.568047169199471*^9}, { 3.568047223393966*^9, 3.568047364059413*^9}, {3.568047417286707*^9, 3.5680474225127163`*^9}, {3.5680474583459787`*^9, 3.568047487861231*^9}, { 3.5680475345521126`*^9, 3.5680475468605347`*^9}, {3.5680479168775845`*^9, 3.5680479311516094`*^9}, {3.568048066918648*^9, 3.568048067667449*^9}, { 3.5680483816336*^9, 3.5680483930216208`*^9}, {3.568048424159275*^9, 3.568048450211321*^9}, {3.5680486326224413`*^9, 3.5680486370996494`*^9}, { 3.5680487358166227`*^9, 3.5680487967191296`*^9}, 3.568048834377596*^9, 3.568048984418659*^9, {3.5680490255559316`*^9, 3.5680490790796256`*^9}, { 3.5680491274553103`*^9, 3.5680491280949116`*^9}, {3.5680491782333994`*^9, 3.568049231944294*^9}, {3.568049361533722*^9, 3.5680493691933355`*^9}, { 3.568049422171028*^9, 3.568049427490638*^9}, {3.568049476427923*^9, 3.5680495489368505`*^9}, {3.568049620634577*^9, 3.5680496274361887`*^9}, { 3.5680496655314555`*^9, 3.568049693876705*^9}, 3.568049746573598*^9, { 3.568049846460573*^9, 3.568049932759925*^9}, {3.568050009059659*^9, 3.5680500167348723`*^9}, {3.5680501572755194`*^9, 3.568050179911159*^9}, 3.5681087021497335`*^9}], Cell[BoxData[ RowBox[{ RowBox[{"Eij", "=", RowBox[{"Table", "[", RowBox[{ RowBox[{"If", "[", RowBox[{ RowBox[{"i", "\[GreaterEqual]", "j"}], ",", RowBox[{"Dij", "[", RowBox[{"[", RowBox[{"i", ",", "j"}], "]"}], "]"}], ",", "0"}], "]"}], ",", RowBox[{"{", RowBox[{"i", ",", "1", ",", RowBox[{"bc", "-", "1"}]}], "}"}], ",", RowBox[{"{", RowBox[{"j", ",", "1", ",", RowBox[{"bc", "-", "1"}]}], "}"}]}], "]"}]}], ";"}]], "Input", CellChangeTimes->{{3.568045828002715*^9, 3.56804588761042*^9}, 3.5680459828797874`*^9, {3.568046033938677*^9, 3.5680460518787084`*^9}, { 3.568046989190755*^9, 3.5680470284404235`*^9}, {3.568047061028881*^9, 3.568047085567724*^9}, {3.5680471562982483`*^9, 3.568047169199471*^9}, { 3.568047223393966*^9, 3.568047364059413*^9}, {3.568047417286707*^9, 3.5680474225127163`*^9}, {3.5680474583459787`*^9, 3.568047487861231*^9}, { 3.5680475345521126`*^9, 3.5680475468605347`*^9}, {3.5680479168775845`*^9, 3.5680479311516094`*^9}, {3.568048066918648*^9, 3.568048067667449*^9}, { 3.5680483816336*^9, 3.5680483930216208`*^9}, {3.568048424159275*^9, 3.568048450211321*^9}, {3.5680486326224413`*^9, 3.5680486370996494`*^9}, { 3.5680487358166227`*^9, 3.5680487967191296`*^9}, 3.568048834377596*^9, 3.568048984418659*^9, {3.5680490255559316`*^9, 3.5680490790796256`*^9}, { 3.5680491274553103`*^9, 3.5680491280949116`*^9}, {3.5680491782333994`*^9, 3.568049231944294*^9}, {3.568049361533722*^9, 3.5680493691933355`*^9}, { 3.568049422171028*^9, 3.568049427490638*^9}, {3.568049476427923*^9, 3.5680495489368505`*^9}, {3.568049620634577*^9, 3.5680496274361887`*^9}, { 3.5680496655314555`*^9, 3.568049693876705*^9}, 3.568049746573598*^9, { 3.568049846460573*^9, 3.568049932759925*^9}, {3.568050009059659*^9, 3.5680500167348723`*^9}, {3.5680501572755194`*^9, 3.568050179911159*^9}, { 3.5681087021497335`*^9, 3.5681087223049684`*^9}, 3.568114284401138*^9, 3.5681220092695055`*^9, {3.5804479260534477`*^9, 3.580447971730328*^9}, { 3.580449452781329*^9, 3.5804494665249534`*^9}, 3.5804629573930435`*^9, 3.5804651851393557`*^9}], Cell[CellGroupData[{ Cell[BoxData[{ RowBox[{ RowBox[{ RowBox[{"nc", "=", "0"}], ";"}], " "}], "\n", RowBox[{"For", "[", RowBox[{ RowBox[{"i", "=", "1"}], ",", RowBox[{"i", "<", RowBox[{"bc", "+", "1"}]}], ",", RowBox[{"i", "++"}], ",", RowBox[{"If", "[", RowBox[{ RowBox[{ RowBox[{"u", "[", RowBox[{"[", "i", "]"}], "]"}], "\[Equal]", "\"\\""}], ",", RowBox[{"nc", "=", RowBox[{"nc", "+", "1"}]}], ",", "nc"}], "]"}]}], "]"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"cnt", "=", RowBox[{"Table", "[", RowBox[{"0", ",", RowBox[{"{", "nc", "}"}]}], "]"}]}], ";"}], "\[IndentingNewLine]", "nc", "\[IndentingNewLine]", RowBox[{ RowBox[{ RowBox[{"no", "=", "0"}], ";"}], " "}], "\n", RowBox[{"For", "[", RowBox[{ RowBox[{"i", "=", "1"}], ",", RowBox[{"i", "<", RowBox[{"bc", "+", "1"}]}], ",", RowBox[{"i", "++"}], ",", RowBox[{"If", "[", RowBox[{ RowBox[{ RowBox[{"u", "[", RowBox[{"[", "i", "]"}], "]"}], "\[Equal]", "\"\\""}], ",", RowBox[{"no", "=", RowBox[{"no", "+", "1"}]}], ",", "no"}], "]"}]}], "]"}], "\[IndentingNewLine]", "no"}], "Input", CellChangeTimes->{{3.5804503559293156`*^9, 3.5804503572241178`*^9}, { 3.580450419593027*^9, 3.5804504349902544`*^9}, 3.5804645273330007`*^9, 3.580465176465741*^9}], Cell[BoxData["0"], "Output", CellChangeTimes->{ 3.5819198059496126`*^9, 3.581920016549982*^9, 3.581920122333768*^9, { 3.5819202084615192`*^9, 3.5819202251847486`*^9}, {3.5819203334021387`*^9, 3.581920380155421*^9}, 3.5819205149552574`*^9, {3.5819205482613163`*^9, 3.5819206257934523`*^9}, 3.5819212346781216`*^9, 3.5819212784361987`*^9, { 3.5819213322718935`*^9, 3.5819213693999586`*^9}, {3.5819214011616144`*^9, 3.5819214409104843`*^9}, 3.581921471673738*^9, {3.5819215405634594`*^9, 3.581921585039137*^9}, 3.581921616176792*^9, 3.5819216524936557`*^9, 3.5819217026009436`*^9, 3.5819313711514177`*^9, {3.5819314018210716`*^9, 3.581931426640715*^9}, 3.5819314851096177`*^9, {3.5819315234076853`*^9, 3.581931549678131*^9}, {3.5819315983970165`*^9, 3.5819316880815744`*^9}, 3.581931795815364*^9, 3.5819318651418853`*^9, {3.581931897667942*^9, 3.5819319423776207`*^9}, {3.581931973624476*^9, 3.5819320260405684`*^9}}], Cell[BoxData["0"], "Output", CellChangeTimes->{ 3.5819198059496126`*^9, 3.581920016549982*^9, 3.581920122333768*^9, { 3.5819202084615192`*^9, 3.5819202251847486`*^9}, {3.5819203334021387`*^9, 3.581920380155421*^9}, 3.5819205149552574`*^9, {3.5819205482613163`*^9, 3.5819206257934523`*^9}, 3.5819212346781216`*^9, 3.5819212784361987`*^9, { 3.5819213322718935`*^9, 3.5819213693999586`*^9}, {3.5819214011616144`*^9, 3.5819214409104843`*^9}, 3.581921471673738*^9, {3.5819215405634594`*^9, 3.581921585039137*^9}, 3.581921616176792*^9, 3.5819216524936557`*^9, 3.5819217026009436`*^9, 3.5819313711514177`*^9, {3.5819314018210716`*^9, 3.581931426640715*^9}, 3.5819314851096177`*^9, {3.5819315234076853`*^9, 3.581931549678131*^9}, {3.5819315983970165`*^9, 3.5819316880815744`*^9}, 3.581931795815364*^9, 3.5819318651418853`*^9, {3.581931897667942*^9, 3.5819319423776207`*^9}, {3.581931973624476*^9, 3.5819320260405684`*^9}}] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[{ RowBox[{ RowBox[{"For", "[", RowBox[{ RowBox[{"j", "=", "1"}], ",", RowBox[{"j", "\[LessEqual]", "nc"}], ",", RowBox[{"j", "++"}], ",", "\[IndentingNewLine]", RowBox[{"For", "[", RowBox[{ RowBox[{"i", "=", RowBox[{"bc", "+", "1"}]}], ",", RowBox[{"i", "\[LessEqual]", "n"}], ",", RowBox[{"i", "++"}], ",", RowBox[{"If", "[", " ", RowBox[{ RowBox[{ RowBox[{"Dij", "[", RowBox[{"[", RowBox[{"i", ",", "j"}], "]"}], "]"}], "\[NotEqual]", "0"}], " ", ",", RowBox[{ RowBox[{"cnt", "[", RowBox[{"[", "j", "]"}], "]"}], "=", RowBox[{ RowBox[{"cnt", "[", RowBox[{"[", "j", "]"}], "]"}], "+", "1"}]}], ",", "0"}], "]"}]}], "]"}]}], "]"}], ";"}], "\[IndentingNewLine]", "cnt"}], "Input"], Cell[BoxData[ RowBox[{"{", "}"}]], "Output", CellChangeTimes->{ 3.5819198059652123`*^9, 3.5819200165655823`*^9, 3.581920122333768*^9, { 3.5819202084771194`*^9, 3.581920225200349*^9}, {3.581920333417739*^9, 3.581920380155421*^9}, 3.5819205149708576`*^9, {3.5819205482769165`*^9, 3.5819206257934523`*^9}, 3.581921234693722*^9, 3.581921278451799*^9, { 3.581921332287493*^9, 3.5819213694155583`*^9}, {3.5819214011772146`*^9, 3.581921440926084*^9}, 3.5819214716893377`*^9, {3.581921540579059*^9, 3.581921585054737*^9}, 3.5819216161923923`*^9, 3.5819216525092554`*^9, 3.581921702616544*^9, 3.5819313711514177`*^9, {3.581931401836672*^9, 3.581931426656315*^9}, 3.581931485125218*^9, {3.5819315234076853`*^9, 3.5819315496937313`*^9}, {3.5819315984126167`*^9, 3.5819316880815744`*^9}, 3.5819317958309636`*^9, 3.5819318651574855`*^9, {3.5819318976835423`*^9, 3.581931942393221*^9}, {3.5819319736400757`*^9, 3.581932026056168*^9}}] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[{ RowBox[{ RowBox[{"con", "=", RowBox[{"Table", "[", RowBox[{ RowBox[{"{", "i", "}"}], ",", RowBox[{"{", RowBox[{"i", ",", "1", ",", "n"}], "}"}]}], "]"}]}], ";", " ", RowBox[{"conj", "=", RowBox[{"Table", "[", RowBox[{"0", ",", RowBox[{"{", "nc", "}"}]}], "]"}]}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"For", "[", RowBox[{ RowBox[{"i", "=", "1"}], ",", RowBox[{"i", "\[LessEqual]", "n"}], ",", RowBox[{"i", "++"}], ",", "\[IndentingNewLine]", RowBox[{"For", "[", RowBox[{ RowBox[{"j", "=", "1"}], ",", RowBox[{"j", "\[LessEqual]", "n"}], ",", RowBox[{"j", "++"}], ",", RowBox[{"If", "[", " ", RowBox[{ RowBox[{ RowBox[{"Dij", "[", RowBox[{"[", RowBox[{"i", ",", "j"}], "]"}], "]"}], "\[NotEqual]", "0"}], " ", ",", RowBox[{ RowBox[{"con", "[", RowBox[{"[", "i", "]"}], "]"}], "=", RowBox[{"{", RowBox[{ RowBox[{"con", "[", RowBox[{"[", "i", "]"}], "]"}], ",", "j"}], "}"}]}]}], "]"}]}], "]"}]}], "]"}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{ RowBox[{"conn", "=", RowBox[{"Table", "[", RowBox[{ RowBox[{"Flatten", "[", RowBox[{"con", "[", RowBox[{"[", "i", "]"}], "]"}], "]"}], ",", RowBox[{"{", RowBox[{"i", ",", "1", ",", "n"}], "}"}]}], "]"}]}], ";"}], "\[IndentingNewLine]", RowBox[{"(*", " ", RowBox[{ "identify", " ", "C", " ", "atoms", " ", "at", " ", "double", " ", "bonds"}], " ", "*)"}]}], "\[IndentingNewLine]", RowBox[{ RowBox[{"j", "=", "0"}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"For", "[", RowBox[{ RowBox[{"i", "=", "1"}], ",", RowBox[{"i", "\[LessEqual]", "nc"}], ",", RowBox[{"i", "++"}], ",", RowBox[{"If", "[", RowBox[{ RowBox[{"(", RowBox[{ RowBox[{ RowBox[{"Length", "[", RowBox[{"conn", "[", RowBox[{"[", "i", "]"}], "]"}], "]"}], "\[Equal]", "4"}], " ", "&&", " ", RowBox[{ RowBox[{"u", "[", RowBox[{"[", RowBox[{"conn", "[", RowBox[{"[", RowBox[{"i", ",", "4"}], "]"}], "]"}], "]"}], "]"}], "\[NotEqual]", "\"\\""}]}], ")"}], ",", RowBox[{ RowBox[{"j", "=", RowBox[{"j", "+", "1"}]}], ";", RowBox[{ RowBox[{"conj", "[", RowBox[{"[", "j", "]"}], "]"}], "=", "i"}]}]}], "]"}]}], "]"}], ";"}], "\[IndentingNewLine]", RowBox[{"conj", "=", RowBox[{"Take", "[", RowBox[{"conj", ",", RowBox[{"{", RowBox[{"1", ",", "j"}], "}"}]}], "]"}]}], "\[IndentingNewLine]", RowBox[{"nj", "=", RowBox[{"Length", "[", "conj", "]"}]}], "\[IndentingNewLine]", RowBox[{"MatrixForm", "[", RowBox[{"conn", ",", " ", RowBox[{"TableAlignments", "\[Rule]", "Left"}]}], "]"}]}], "Input", CellChangeTimes->{{3.5804504793099327`*^9, 3.580450480916735*^9}}], Cell[BoxData[ RowBox[{"{", "}"}]], "Output", CellChangeTimes->{ 3.581919805980812*^9, 3.5819200165811825`*^9, 3.581920122349368*^9, { 3.5819202084927197`*^9, 3.581920225215949*^9}, {3.581920333433339*^9, 3.581920380171021*^9}, 3.581920514986458*^9, {3.581920548292516*^9, 3.5819206258090525`*^9}, 3.581921234709322*^9, 3.5819212784673986`*^9, { 3.581921332303093*^9, 3.581921369431158*^9}, {3.5819214011928144`*^9, 3.581921440941684*^9}, 3.5819214716893377`*^9, {3.581921540594659*^9, 3.5819215850703373`*^9}, 3.581921616207992*^9, 3.5819216525248556`*^9, 3.5819217026321435`*^9, 3.581931371167018*^9, {3.5819314018522716`*^9, 3.581931426656315*^9}, 3.581931485140818*^9, {3.5819315234232855`*^9, 3.5819315497093315`*^9}, {3.581931598428217*^9, 3.5819316880971746`*^9}, 3.5819317958465633`*^9, 3.581931865173085*^9, {3.5819318976991425`*^9, 3.581931942408821*^9}, {3.581931973655676*^9, 3.581932026071768*^9}}], Cell[BoxData["0"], "Output", CellChangeTimes->{ 3.581919805980812*^9, 3.5819200165811825`*^9, 3.581920122349368*^9, { 3.5819202084927197`*^9, 3.581920225215949*^9}, {3.581920333433339*^9, 3.581920380171021*^9}, 3.581920514986458*^9, {3.581920548292516*^9, 3.5819206258090525`*^9}, 3.581921234709322*^9, 3.5819212784673986`*^9, { 3.581921332303093*^9, 3.581921369431158*^9}, {3.5819214011928144`*^9, 3.581921440941684*^9}, 3.5819214716893377`*^9, {3.581921540594659*^9, 3.5819215850703373`*^9}, 3.581921616207992*^9, 3.5819216525248556`*^9, 3.5819217026321435`*^9, 3.581931371167018*^9, {3.5819314018522716`*^9, 3.581931426656315*^9}, 3.581931485140818*^9, {3.5819315234232855`*^9, 3.5819315497093315`*^9}, {3.581931598428217*^9, 3.5819316880971746`*^9}, 3.5819317958465633`*^9, 3.581931865173085*^9, {3.5819318976991425`*^9, 3.581931942408821*^9}, {3.581931973655676*^9, 3.581932026071768*^9}}], Cell[BoxData[ TagBox[ RowBox[{"(", "\[NoBreak]", TagBox[GridBox[{ { RowBox[{"{", RowBox[{"1", ",", "2", ",", "3", ",", "4"}], "}"}]}, { RowBox[{"{", RowBox[{"2", ",", "1"}], "}"}]}, { RowBox[{"{", RowBox[{"3", ",", "1"}], "}"}]}, { RowBox[{"{", RowBox[{"4", ",", "1"}], "}"}]} }, GridBoxAlignment->{ "Columns" -> {{Left}}, "ColumnsIndexed" -> {}, "Rows" -> {{Baseline}}, "RowsIndexed" -> {}}, GridBoxSpacings->{"Columns" -> { Offset[0.27999999999999997`], { Offset[0.5599999999999999]}, Offset[0.27999999999999997`]}, "ColumnsIndexed" -> {}, "Rows" -> { Offset[0.2], { Offset[0.4]}, Offset[0.2]}, "RowsIndexed" -> {}}], Column], "\[NoBreak]", ")"}], Function[BoxForm`e$, MatrixForm[BoxForm`e$, TableAlignments -> Left]]]], "Output", CellChangeTimes->{ 3.581919805980812*^9, 3.5819200165811825`*^9, 3.581920122349368*^9, { 3.5819202084927197`*^9, 3.581920225215949*^9}, {3.581920333433339*^9, 3.581920380171021*^9}, 3.581920514986458*^9, {3.581920548292516*^9, 3.5819206258090525`*^9}, 3.581921234709322*^9, 3.5819212784673986`*^9, { 3.581921332303093*^9, 3.581921369431158*^9}, {3.5819214011928144`*^9, 3.581921440941684*^9}, 3.5819214716893377`*^9, {3.581921540594659*^9, 3.5819215850703373`*^9}, 3.581921616207992*^9, 3.5819216525248556`*^9, 3.5819217026321435`*^9, 3.581931371167018*^9, {3.5819314018522716`*^9, 3.581931426656315*^9}, 3.581931485140818*^9, {3.5819315234232855`*^9, 3.5819315497093315`*^9}, {3.581931598428217*^9, 3.5819316880971746`*^9}, 3.5819317958465633`*^9, 3.581931865173085*^9, {3.5819318976991425`*^9, 3.581931942408821*^9}, {3.581931973655676*^9, 3.581932026071768*^9}}] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[{ RowBox[{ RowBox[{"j", "=", "0"}], ";", " ", RowBox[{"h", "=", "0"}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"coco", "=", RowBox[{"Table", "[", RowBox[{ RowBox[{"{", RowBox[{"0", ",", "0", ",", "0", ",", "0"}], "}"}], ",", RowBox[{"{", "no", "}"}]}], "]"}]}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"coch", "=", "coco"}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"For", "[", RowBox[{ RowBox[{"i", "=", RowBox[{"nc", "+", "1"}]}], ",", " ", RowBox[{"i", "\[LessEqual]", RowBox[{"nc", "+", "no"}]}], ",", " ", RowBox[{"i", "++"}], ",", RowBox[{"If", "[", RowBox[{ RowBox[{ RowBox[{"Length", "[", RowBox[{"conn", "[", RowBox[{"[", "i", "]"}], "]"}], "]"}], "\[Equal]", "2"}], ",", RowBox[{ RowBox[{"j", "=", RowBox[{"j", "+", "1"}]}], ";", RowBox[{ RowBox[{"coco", "[", RowBox[{"[", "j", "]"}], "]"}], "=", RowBox[{"Join", "[", RowBox[{ RowBox[{"{", RowBox[{"conn", "[", RowBox[{"[", RowBox[{"i", ",", "1"}], "]"}], "]"}], "}"}], ",", RowBox[{"Take", "[", RowBox[{ RowBox[{"conn", "[", RowBox[{"[", RowBox[{"conn", "[", RowBox[{"[", RowBox[{"i", ",", "2"}], "]"}], "]"}], "]"}], "]"}], ",", "3"}], "]"}]}], "]"}]}]}], ",", RowBox[{ RowBox[{"h", "=", RowBox[{"h", "+", "1"}]}], ";", RowBox[{ RowBox[{"coch", "[", RowBox[{"[", "h", "]"}], "]"}], "=", RowBox[{"conn", "[", RowBox[{"[", "i", "]"}], "]"}]}]}]}], "]"}]}], "]"}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"coco", "=", RowBox[{"Take", "[", RowBox[{"coco", ",", RowBox[{"{", RowBox[{"1", ",", "j"}], "}"}]}], "]"}]}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"coch", "=", RowBox[{"Take", "[", RowBox[{"coch", ",", RowBox[{"{", RowBox[{"1", ",", "h"}], "}"}]}], "]"}]}], ";"}], "\[IndentingNewLine]", RowBox[{"oj", "=", RowBox[{"Length", "[", "coco", "]"}]}], "\[IndentingNewLine]", RowBox[{"hj", "=", RowBox[{"Length", "[", "coch", "]"}]}]}], "Input", CellChangeTimes->{{3.5804505432700443`*^9, 3.5804506082285585`*^9}, { 3.5804506582734466`*^9, 3.5804506742478747`*^9}, 3.5804507096443367`*^9, { 3.5804508095313125`*^9, 3.5804508306849494`*^9}, 3.5804510247492905`*^9, 3.5804511224366617`*^9, {3.580460502510331*^9, 3.580460514147952*^9}, { 3.58046055297642*^9, 3.5804605556908245`*^9}, 3.580460689991461*^9, { 3.5804610478404894`*^9, 3.5804610672625237`*^9}, {3.5804611544354763`*^9, 3.5804611697547035`*^9}, {3.580464611183148*^9, 3.5804646160191565`*^9}}], Cell[BoxData["0"], "Output", CellChangeTimes->{ 3.5819198059964123`*^9, 3.5819200166123824`*^9, 3.5819201223649683`*^9, { 3.5819202085083194`*^9, 3.581920225231549*^9}, {3.581920333448939*^9, 3.5819203801866207`*^9}, 3.581920515002058*^9, {3.5819205483081164`*^9, 3.5819206258246527`*^9}, 3.581921234724922*^9, 3.581921278482999*^9, { 3.581921332318693*^9, 3.5819213694467583`*^9}, {3.581921401208414*^9, 3.581921440957284*^9}, 3.581921471704938*^9, {3.581921540610259*^9, 3.5819215850859375`*^9}, 3.581921616223592*^9, 3.581921652540456*^9, 3.5819217026477437`*^9, 3.581931371198218*^9, {3.5819314018678713`*^9, 3.581931426671915*^9}, 3.581931485156418*^9, {3.581931523438885*^9, 3.5819315497249312`*^9}, {3.581931598443817*^9, 3.581931688128374*^9}, 3.5819317958621635`*^9, 3.5819318651886854`*^9, {3.5819318977147427`*^9, 3.5819319424244213`*^9}, {3.581931973671276*^9, 3.581932026087368*^9}}], Cell[BoxData["0"], "Output", CellChangeTimes->{ 3.5819198059964123`*^9, 3.5819200166123824`*^9, 3.5819201223649683`*^9, { 3.5819202085083194`*^9, 3.581920225231549*^9}, {3.581920333448939*^9, 3.5819203801866207`*^9}, 3.581920515002058*^9, {3.5819205483081164`*^9, 3.5819206258246527`*^9}, 3.581921234724922*^9, 3.581921278482999*^9, { 3.581921332318693*^9, 3.5819213694467583`*^9}, {3.581921401208414*^9, 3.581921440957284*^9}, 3.581921471704938*^9, {3.581921540610259*^9, 3.5819215850859375`*^9}, 3.581921616223592*^9, 3.581921652540456*^9, 3.5819217026477437`*^9, 3.581931371198218*^9, {3.5819314018678713`*^9, 3.581931426671915*^9}, 3.581931485156418*^9, {3.581931523438885*^9, 3.5819315497249312`*^9}, {3.581931598443817*^9, 3.581931688128374*^9}, 3.5819317958621635`*^9, 3.5819318651886854`*^9, {3.5819318977147427`*^9, 3.5819319424244213`*^9}, {3.581931973671276*^9, 3.581932026087368*^9}}] }, Open ]], Cell[BoxData[ RowBox[{ StyleBox[ RowBox[{"(*", RowBox[{"--", RowBox[{"--", RowBox[{"--", RowBox[{"--", RowBox[{"--", RowBox[{"--", RowBox[{"--", RowBox[{"--", RowBox[{"--", RowBox[{"--", RowBox[{"--", RowBox[{"--", RowBox[{"--", RowBox[{"--", RowBox[{"--", RowBox[{"--", RowBox[{"--", RowBox[{"--", RowBox[{"--", RowBox[{"--", RowBox[{"--", RowBox[{"--", RowBox[{"--", RowBox[{"--", RowBox[{"--", RowBox[{"--", RowBox[{"--", RowBox[{"--", RowBox[{"--", RowBox[{"--", RowBox[{"--", RowBox[{"--", RowBox[{"--", RowBox[{"--", RowBox[{"--", RowBox[{ "--", "-"}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}\ ]}]}]}]}]}]}]}]}]}]}]}], "*)"}], "Text"], "\[IndentingNewLine]", StyleBox[ RowBox[{"(*", RowBox[{"next", ":", " ", RowBox[{"N", " ", "LP"}]}], "*)"}], "Text"], "\n", RowBox[{ StyleBox[ RowBox[{ RowBox[{"k", " ", "=", " ", "1"}], ";"}], "Input"], "\n", StyleBox[ RowBox[{ RowBox[{"Clear", "[", RowBox[{"conn", ",", "P"}], "]"}], ";"}], "Input"], "\n", RowBox[{ StyleBox[ RowBox[{"P", " ", "=", " ", "4"}], "Input"], StyleBox[";", "Input"], RowBox[{"rln", "=", "1.154"}], ";"}], "\n", RowBox[{ RowBox[{ StyleBox["tpyrn", "Input"], StyleBox[" ", "Input"], StyleBox["=", "Input"], StyleBox[" ", "Input"], RowBox[{ StyleBox["{", "Input"], StyleBox[ RowBox[{"{", RowBox[{"0.0", ",", " ", "0.0", ",", " ", "0.0"}], "}"}], "Input"], "}"}]}], StyleBox[";", "Input"]}], "\n", StyleBox[ RowBox[{ RowBox[{"conn", " ", "=", " ", RowBox[{"{", RowBox[{"{", RowBox[{"2", ",", "3", ",", "4", ",", "1"}], "}"}], "}"}]}], ";"}], "Input"]}]}]], "Input", CellChangeTimes->{{3.5804505432700443`*^9, 3.5804506082285585`*^9}, { 3.5804506582734466`*^9, 3.5804506742478747`*^9}, 3.5804507096443367`*^9, { 3.5804508095313125`*^9, 3.5804508306849494`*^9}, 3.5804510247492905`*^9, 3.5804511224366617`*^9, {3.580460502510331*^9, 3.580460514147952*^9}, { 3.58046055297642*^9, 3.5804605556908245`*^9}, 3.580460689991461*^9, { 3.5804610478404894`*^9, 3.5804610672625237`*^9}, {3.5804611544354763`*^9, 3.5804611697547035`*^9}, 3.580464611183148*^9, {3.5804885900917444`*^9, 3.5804886187021947`*^9}, {3.5804887019907413`*^9, 3.580488708293152*^9}, { 3.580489378080329*^9, 3.5804893866759434`*^9}, {3.580525866734337*^9, 3.5805259166232247`*^9}, {3.5806227077140474`*^9, 3.5806227086032486`*^9}, {3.581918474448312*^9, 3.5819184886287365`*^9}, { 3.5819188422033577`*^9, 3.581918845245363*^9}, {3.5819313655042076`*^9, 3.5819313663622093`*^9}, {3.581931789294552*^9, 3.581931790339754*^9}}], Cell[BoxData[ RowBox[{ RowBox[{"Do", "[", RowBox[{ RowBox[{"(", RowBox[{ RowBox[{"c", " ", "=", " ", RowBox[{"conn", "[", RowBox[{"[", "k", "]"}], "]"}]}], ";", "\n", " ", RowBox[{"a1", " ", "=", " ", RowBox[{"dc", "[", RowBox[{"[", RowBox[{ RowBox[{"c", "[", RowBox[{"[", "2", "]"}], "]"}], ",", " ", RowBox[{"c", "[", RowBox[{"[", "1", "]"}], "]"}]}], "]"}], "]"}]}], ";", " ", RowBox[{"a2", " ", "=", " ", RowBox[{"dc", "[", RowBox[{"[", RowBox[{ RowBox[{"c", "[", RowBox[{"[", "2", "]"}], "]"}], ",", " ", RowBox[{"c", "[", RowBox[{"[", "3", "]"}], "]"}]}], "]"}], "]"}]}], ";", " ", "\n", " ", RowBox[{"d1", " ", "=", " ", RowBox[{"dc", "[", RowBox[{"[", RowBox[{ RowBox[{"c", "[", RowBox[{"[", "1", "]"}], "]"}], ",", " ", RowBox[{"c", "[", RowBox[{"[", "3", "]"}], "]"}]}], "]"}], "]"}]}], ";", "\n", " ", RowBox[{"\[Alpha]", " ", "=", " ", RowBox[{"ArcCos", "[", RowBox[{ RowBox[{"(", RowBox[{ RowBox[{"a1", "^", "2"}], " ", "+", " ", RowBox[{"a2", "^", "2"}], " ", "-", " ", RowBox[{"d1", "^", "2"}]}], ")"}], "/", RowBox[{"(", RowBox[{"2", "*", "a1", "*", "a2"}], ")"}]}], "]"}]}], ";", "\n", " ", RowBox[{"L", " ", "=", " ", RowBox[{"(", RowBox[{ RowBox[{"u2", "[", RowBox[{"[", RowBox[{"c", "[", RowBox[{"[", "2", "]"}], "]"}], "]"}], "]"}], " ", "+", " ", "rln"}], ")"}]}], ";", "\n", " ", RowBox[{"\[Beta]", " ", "=", " ", RowBox[{"ArcSin", "[", RowBox[{"rln", "/", "L"}], "]"}]}], ";", "\n", " ", RowBox[{"\[Gamma]", " ", "=", " ", RowBox[{ RowBox[{"\[Pi]", "/", "2"}], " ", "-", " ", RowBox[{"\[Alpha]", "/", "2"}]}]}], ";", " ", RowBox[{"(*", RowBox[{ RowBox[{"\[Gamma]", "=", RowBox[{ RowBox[{"3", "*", RowBox[{"\[Pi]", "/", "2"}]}], "+", RowBox[{"\[Alpha]", "/", "2"}]}]}], ";"}], "*)"}], "\n", " ", RowBox[{"v", " ", "=", " ", RowBox[{"Table", "[", RowBox[{ RowBox[{"Join", "[", RowBox[{ RowBox[{"t", "[", RowBox[{"[", RowBox[{"c", "[", RowBox[{"[", "i", "]"}], "]"}], "]"}], "]"}], ",", " ", RowBox[{"{", "1", "}"}]}], "]"}], ",", " ", RowBox[{"{", RowBox[{"i", ",", " ", "1", ",", " ", "P"}], "}"}]}], "]"}]}], ";", "\n", " ", RowBox[{"x2", " ", "=", " ", RowBox[{"t", "[", RowBox[{"[", RowBox[{ RowBox[{"c", "[", RowBox[{"[", "2", "]"}], "]"}], ",", " ", "1"}], "]"}], "]"}]}], ";", "\n", " ", RowBox[{"y2", " ", "=", " ", RowBox[{"t", "[", RowBox[{"[", RowBox[{ RowBox[{"c", "[", RowBox[{"[", "2", "]"}], "]"}], ",", " ", "2"}], "]"}], "]"}]}], ";", " ", "\n", " ", RowBox[{"z2", " ", "=", " ", RowBox[{"t", "[", RowBox[{"[", RowBox[{ RowBox[{"c", "[", RowBox[{"[", "2", "]"}], "]"}], ",", " ", "3"}], "]"}], "]"}]}], ";", "\n", " ", RowBox[{"Q", " ", "=", " ", RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{"1", ",", " ", "0", ",", " ", "0", ",", " ", "0"}], "}"}], ",", "\n", " ", RowBox[{"{", RowBox[{"0", ",", " ", "1", ",", " ", "0", ",", " ", "0"}], "}"}], ",", "\n", " ", RowBox[{"{", RowBox[{"0", ",", " ", "0", ",", " ", "1", ",", " ", "0"}], "}"}], ",", "\n", " ", RowBox[{"{", RowBox[{ RowBox[{"-", "x2"}], ",", " ", RowBox[{"-", "y2"}], ",", " ", RowBox[{"-", "z2"}], ",", " ", "1"}], "}"}]}], "}"}]}], ";", "\n", " ", RowBox[{"p", " ", "=", " ", RowBox[{"v", ".", "Q"}]}], ";", "\n", " ", RowBox[{"p", " ", "=", " ", RowBox[{"Table", "[", RowBox[{ RowBox[{"Take", "[", RowBox[{ RowBox[{"p", "[", RowBox[{"[", "i", "]"}], "]"}], ",", " ", "3"}], "]"}], ",", " ", RowBox[{"{", RowBox[{"i", ",", " ", "1", ",", " ", "P"}], "}"}]}], "]"}]}], ";", "\n", " ", RowBox[{"T1", " ", "=", " ", RowBox[{"ArcTan", "[", RowBox[{ RowBox[{"p", "[", RowBox[{"[", RowBox[{"1", ",", " ", "3"}], "]"}], "]"}], "/", RowBox[{"p", "[", RowBox[{"[", RowBox[{"1", ",", " ", "2"}], "]"}], "]"}]}], "]"}]}], ";", "\n", " ", RowBox[{"U", " ", "=", " ", "p"}], ";", "\n", " ", RowBox[{"T", " ", "=", " ", RowBox[{"RotationMatrix", "[", RowBox[{"T1", ",", " ", RowBox[{"{", RowBox[{"1", ",", " ", "0", ",", " ", "0"}], "}"}]}], "]"}]}], ";", "\n", " ", RowBox[{"p", " ", "=", " ", RowBox[{"U", ".", "T"}]}], ";", "\n", " ", RowBox[{"T2", " ", "=", " ", RowBox[{"ArcTan", "[", RowBox[{ RowBox[{"p", "[", RowBox[{"[", RowBox[{"1", ",", " ", "2"}], "]"}], "]"}], "/", RowBox[{"p", "[", RowBox[{"[", RowBox[{"1", ",", " ", "1"}], "]"}], "]"}]}], "]"}]}], ";", "\n", " ", RowBox[{"U", " ", "=", " ", "p"}], ";", "\n", " ", RowBox[{"T", " ", "=", " ", RowBox[{"RotationMatrix", "[", RowBox[{"T2", ",", " ", RowBox[{"{", RowBox[{"0", ",", " ", "0", ",", " ", "1"}], "}"}]}], "]"}]}], ";", "\n", " ", RowBox[{"p", " ", "=", " ", RowBox[{"U", ".", "T"}]}], ";", "\n", " ", RowBox[{"T3", " ", "=", " ", RowBox[{"ArcTan", "[", RowBox[{ RowBox[{"p", "[", RowBox[{"[", RowBox[{"3", ",", " ", "3"}], "]"}], "]"}], "/", RowBox[{"p", "[", RowBox[{"[", RowBox[{"3", ",", " ", "2"}], "]"}], "]"}]}], "]"}]}], ";", "\n", " ", RowBox[{"U", " ", "=", " ", "p"}], ";", "\n", " ", RowBox[{"T", " ", "=", " ", RowBox[{"RotationMatrix", "[", RowBox[{"T3", ",", " ", RowBox[{"{", RowBox[{"1", ",", " ", "0", ",", " ", "0"}], "}"}]}], "]"}]}], ";", "\n", " ", RowBox[{"p", " ", "=", " ", RowBox[{"Chop", "[", RowBox[{"U", ".", "T"}], "]"}]}], ";", "\n", " ", RowBox[{"nk", " ", "=", " ", "p"}], ";", "\n", " ", RowBox[{"(*", RowBox[{ RowBox[{ RowBox[{"nk", "[", RowBox[{"[", RowBox[{"4", ",", "2"}], "]"}], "]"}], "=", RowBox[{"L", "*", RowBox[{"Cos", "[", "\[Gamma]", "]"}]}]}], ";", " ", RowBox[{ RowBox[{"nk", "[", RowBox[{"[", RowBox[{"4", ",", "1"}], "]"}], "]"}], "=", RowBox[{ RowBox[{"-", "L"}], "*", RowBox[{"Sin", "[", "\[Gamma]", "]"}]}]}], ";"}], "*)"}], "\n", " ", RowBox[{ RowBox[{"nk", "[", RowBox[{"[", RowBox[{"4", ",", "3"}], "]"}], "]"}], " ", "=", " ", RowBox[{ RowBox[{"nk", "[", RowBox[{"[", RowBox[{"4", ",", "3"}], "]"}], "]"}], " ", "-", " ", RowBox[{"u2", "[", RowBox[{"[", RowBox[{"c", "[", RowBox[{"[", "4", "]"}], "]"}], "]"}], "]"}], " ", "-", " ", "rln"}]}], ";", " ", "\n", " ", RowBox[{"U", " ", "=", " ", "p"}], ";", "\n", " ", RowBox[{"U1", " ", "=", " ", "nk"}], ";", "\n", " ", RowBox[{"T", " ", "=", " ", RowBox[{"RotationMatrix", "[", RowBox[{ RowBox[{"-", "T3"}], ",", " ", RowBox[{"{", RowBox[{"1", ",", " ", "0", ",", " ", "0"}], "}"}]}], "]"}]}], ";", "\n", " ", RowBox[{"p", " ", "=", " ", RowBox[{"U", ".", "T"}]}], ";", "\n", " ", RowBox[{"nk", " ", "=", " ", RowBox[{"U1", ".", "T"}]}], ";", "\n", " ", RowBox[{"U", " ", "=", " ", "p"}], ";", "\n", " ", RowBox[{"U1", " ", "=", " ", "nk"}], ";", "\n", " ", RowBox[{"T", " ", "=", " ", RowBox[{"RotationMatrix", "[", RowBox[{ RowBox[{"-", "T2"}], ",", " ", RowBox[{"{", RowBox[{"0", ",", " ", "0", ",", " ", "1"}], "}"}]}], "]"}]}], ";", "\n", " ", RowBox[{"p", " ", "=", " ", RowBox[{"U", ".", "T"}]}], ";", "\n", " ", RowBox[{"nk", " ", "=", " ", RowBox[{"U1", ".", "T"}]}], ";", "\n", " ", RowBox[{"U", " ", "=", " ", "p"}], ";", "\n", " ", RowBox[{"U1", " ", "=", " ", "nk"}], ";", "\n", " ", RowBox[{"T", " ", "=", " ", RowBox[{"RotationMatrix", "[", RowBox[{ RowBox[{"-", "T1"}], ",", " ", RowBox[{"{", RowBox[{"1", ",", " ", "0", ",", " ", "0"}], "}"}]}], "]"}]}], ";", "\n", " ", RowBox[{"p", " ", "=", " ", RowBox[{"U", ".", "T"}]}], ";", "\n", " ", RowBox[{"nk", " ", "=", " ", RowBox[{"U1", ".", "T"}]}], ";", "\n", " ", RowBox[{"Clear", "[", RowBox[{"v", ",", " ", "v1", ",", " ", "v2"}], "]"}], ";", "\n", " ", RowBox[{"v", " ", "=", " ", RowBox[{"Table", "[", RowBox[{ RowBox[{"Join", "[", RowBox[{ RowBox[{"p", "[", RowBox[{"[", "i", "]"}], "]"}], ",", " ", RowBox[{"{", "1", "}"}]}], "]"}], ",", " ", RowBox[{"{", RowBox[{"i", ",", " ", "1", ",", " ", "P"}], "}"}]}], "]"}]}], ";", "\n", " ", RowBox[{"v1", " ", "=", " ", RowBox[{"Table", "[", RowBox[{ RowBox[{"Join", "[", RowBox[{ RowBox[{"nk", "[", RowBox[{"[", "i", "]"}], "]"}], ",", " ", RowBox[{"{", "1", "}"}]}], "]"}], ",", " ", RowBox[{"{", RowBox[{"i", ",", " ", "1", ",", " ", "P"}], "}"}]}], "]"}]}], ";", "\n", " ", RowBox[{"Q", " ", "=", " ", RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{"1", ",", " ", "0", ",", " ", "0", ",", " ", "0"}], "}"}], ",", "\n", " ", RowBox[{"{", RowBox[{"0", ",", " ", "1", ",", " ", "0", ",", " ", "0"}], "}"}], ",", "\n", " ", RowBox[{"{", RowBox[{"0", ",", " ", "0", ",", " ", "1", ",", " ", "0"}], "}"}], ",", "\n", " ", RowBox[{"{", RowBox[{"x2", ",", " ", "y2", ",", " ", "z2", ",", " ", "1"}], "}"}]}], "}"}]}], ";", "\n", " ", RowBox[{"p", " ", "=", " ", RowBox[{"v", ".", "Q"}]}], ";", "\n", " ", RowBox[{"nk1", " ", "=", " ", RowBox[{"v1", ".", "Q"}]}], ";", "\n", " ", RowBox[{"p", " ", "=", " ", RowBox[{"Table", "[", RowBox[{ RowBox[{"Take", "[", RowBox[{ RowBox[{"p", "[", RowBox[{"[", "i", "]"}], "]"}], ",", " ", "3"}], "]"}], ",", " ", RowBox[{"{", RowBox[{"i", ",", " ", "1", ",", " ", "P"}], "}"}]}], "]"}]}], ";", "\n", " ", RowBox[{"nk", " ", "=", " ", RowBox[{"Table", "[", RowBox[{ RowBox[{"Take", "[", RowBox[{ RowBox[{"nk1", "[", RowBox[{"[", "i", "]"}], "]"}], ",", " ", "3"}], "]"}], ",", " ", RowBox[{"{", RowBox[{"i", ",", " ", "1", ",", " ", "P"}], "}"}]}], "]"}]}], ";", "\n", " ", RowBox[{ RowBox[{"tpyrn", "[", RowBox[{"[", "k", "]"}], "]"}], " ", "=", " ", RowBox[{"nk", "[", RowBox[{"[", "4", "]"}], "]"}]}]}], ")"}], ",", " ", RowBox[{"{", RowBox[{"k", ",", " ", "1"}], "}"}]}], "]"}], ";"}]], "Input", CellChangeTimes->{{3.580460580931669*^9, 3.5804605820704713`*^9}, 3.580460952617922*^9, {3.5805326737704744`*^9, 3.5805326831460915`*^9}, { 3.5805328566027956`*^9, 3.5805328613452044`*^9}, {3.581918437881848*^9, 3.581918441329454*^9}, 3.5819200872493067`*^9}], Cell[BoxData[ RowBox[{"(*", " ", RowBox[{"sigma", " ", "bond", " ", "cloud", " ", "radii"}], " ", "*)"}]], "Input", CellChangeTimes->{{3.568045828002715*^9, 3.56804588761042*^9}, 3.5680459828797874`*^9, {3.568046033938677*^9, 3.5680460518787084`*^9}, { 3.568046989190755*^9, 3.5680470284404235`*^9}, {3.568047061028881*^9, 3.568047085567724*^9}, {3.5680471562982483`*^9, 3.568047169199471*^9}, { 3.568047223393966*^9, 3.568047364059413*^9}, {3.568047417286707*^9, 3.5680474225127163`*^9}, {3.5680474583459787`*^9, 3.568047487861231*^9}, { 3.5680475345521126`*^9, 3.5680475468605347`*^9}, {3.5680479168775845`*^9, 3.5680479311516094`*^9}, {3.568048066918648*^9, 3.568048067667449*^9}, { 3.5680483816336*^9, 3.5680483930216208`*^9}, {3.568048424159275*^9, 3.568048450211321*^9}, {3.5680486326224413`*^9, 3.5680486370996494`*^9}, { 3.5680487358166227`*^9, 3.5680487967191296`*^9}, 3.568048834377596*^9, 3.568048984418659*^9, {3.5680490255559316`*^9, 3.5680490790796256`*^9}, { 3.5680491274553103`*^9, 3.5680491280949116`*^9}, {3.5680491782333994`*^9, 3.568049231944294*^9}, {3.568049361533722*^9, 3.5680493691933355`*^9}, { 3.568049422171028*^9, 3.568049427490638*^9}, {3.568049476427923*^9, 3.5680495489368505`*^9}, {3.568049620634577*^9, 3.5680496274361887`*^9}, { 3.5680496655314555`*^9, 3.568049693876705*^9}, 3.568049746573598*^9, { 3.568049846460573*^9, 3.568049932759925*^9}, {3.568050009059659*^9, 3.5680500167348723`*^9}, {3.5680501572755194`*^9, 3.568050179911159*^9}, { 3.5681087021497335`*^9, 3.5681087223049684`*^9}, {3.5681133837179556`*^9, 3.5681133888191648`*^9}}], Cell[BoxData[{ RowBox[{ RowBox[{"DeleteFile", "[", " ", "\"\\"", "]"}], ";"}], "\[IndentingNewLine]", RowBox[{"For", "[", RowBox[{ RowBox[{"i", "=", "2"}], ",", RowBox[{"i", "<", RowBox[{"n", "+", "2"}]}], ",", RowBox[{"i", "++"}], ",", "\[IndentingNewLine]", RowBox[{"For", "[", RowBox[{ RowBox[{"j", "=", "2"}], ",", RowBox[{"j", "\[LessEqual]", "i"}], ",", RowBox[{"j", "++"}], ",", "\[IndentingNewLine]", RowBox[{"If", "[", RowBox[{ RowBox[{ RowBox[{"Pij", "[", RowBox[{"[", RowBox[{"i", ",", "j"}], "]"}], "]"}], ">", "0"}], ",", RowBox[{ RowBox[{"{", RowBox[{ RowBox[{"i", "-", "1"}], ",", RowBox[{"j", "-", "1"}], ",", RowBox[{"Extract", "[", RowBox[{"Pij", ",", RowBox[{"{", RowBox[{"i", ",", "j"}], "}"}]}], "]"}]}], "}"}], ">>>", " ", "\"\\""}]}], "]"}]}], "]"}]}], "]"}]}], "Input", CellChangeTimes->{{3.5681154444347754`*^9, 3.568115497147268*^9}, { 3.568127214924899*^9, 3.568127265796589*^9}, {3.568128215276656*^9, 3.568128238536297*^9}, {3.568130718566253*^9, 3.5681307485339055`*^9}, 3.5681308175952272`*^9, {3.5681308916497574`*^9, 3.5681309458598523`*^9}, { 3.5681309983383446`*^9, 3.5681310118947687`*^9}, {3.5681310723448744`*^9, 3.568131074357278*^9}, {3.5681315215476637`*^9, 3.568131584509374*^9}, { 3.56813162789305*^9, 3.5681316427754765`*^9}, {3.5681317113063965`*^9, 3.568131715268804*^9}, {3.5681323203938665`*^9, 3.5681323260098763`*^9}, { 3.568132387567585*^9, 3.568132440014877*^9}, {3.5681325121026034`*^9, 3.568132590945142*^9}, {3.56813274298981*^9, 3.5681327548302307`*^9}, { 3.568132877867647*^9, 3.568132888335265*^9}, {3.568133052345154*^9, 3.568133072344389*^9}, {3.5681331740533676`*^9, 3.5681331951446047`*^9}, { 3.568133267793932*^9, 3.5681332684803333`*^9}, {3.5681335079111547`*^9, 3.568133536833606*^9}, {3.5681336272201643`*^9, 3.5681336314945717`*^9}, { 3.568133737994359*^9, 3.568133744000369*^9}, {3.568133978515581*^9, 3.5681339917912045`*^9}, {3.5681340324916763`*^9, 3.5681340418204927`*^9}, {3.568134244262048*^9, 3.5681342454944506`*^9}, { 3.5681343354754086`*^9, 3.568134336099409*^9}, {3.5681345828762426`*^9, 3.568134583952645*^9}, {3.5681348406666956`*^9, 3.5681348474683075`*^9}, 3.568134889151581*^9, {3.5681352914606876`*^9, 3.568135296265496*^9}, { 3.568135518877887*^9, 3.568135519595488*^9}, 3.5681357593679094`*^9, { 3.5681787035360527`*^9, 3.568178728449296*^9}, 3.5682779128076954`*^9, 3.5804489138003826`*^9}], Cell[CellGroupData[{ Cell[BoxData[{ RowBox[{"a", "=", RowBox[{ "ReadList", "[", "\"\\"", "]"}]}], "\[IndentingNewLine]", RowBox[{"nb", "=", RowBox[{"Length", "[", "a", "]"}]}], "\[IndentingNewLine]", RowBox[{"cw", "=", RowBox[{"nb", "-", "bh"}]}]}], "Input", CellChangeTimes->{{3.5681343270045934`*^9, 3.568134331481801*^9}, 3.5681343823222904`*^9, {3.5681345934218616`*^9, 3.5681345986322703`*^9}, { 3.568134635479535*^9, 3.5681346521559644`*^9}, {3.5681351451792307`*^9, 3.568135145428831*^9}, {3.5681351781888885`*^9, 3.5681352349417877`*^9}, { 3.568135340163973*^9, 3.568135340335573*^9}, {3.568135523495495*^9, 3.5681355244314966`*^9}, {3.5681357674799232`*^9, 3.5681357771675406`*^9}, {3.568136284433632*^9, 3.5681362987700567`*^9}, { 3.568136395053426*^9, 3.5681363965510283`*^9}, {3.568303192134327*^9, 3.568303196237134*^9}, {3.568307596598462*^9, 3.5683075983924656`*^9}, 3.5804489330664167`*^9, {3.580526129501199*^9, 3.580526130624401*^9}, { 3.5819194987382727`*^9, 3.581919499346674*^9}}], Cell[BoxData[ RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{"2", ",", "1", ",", "1.1526553314099903`"}], "}"}], ",", RowBox[{"{", RowBox[{"3", ",", "1", ",", "1.1526552850062577`"}], "}"}], ",", RowBox[{"{", RowBox[{"4", ",", "1", ",", "1.1526552844103315`"}], "}"}]}], "}"}]], "Output", CellChangeTimes->{ 3.581919806121213*^9, 3.5819200166903825`*^9, 3.581920122411768*^9, { 3.5819202085551195`*^9, 3.581920225278349*^9}, {3.581920333480139*^9, 3.5819203802334213`*^9}, 3.5819205150332575`*^9, {3.5819205483393164`*^9, 3.5819206258714523`*^9}, 3.581921234756122*^9, 3.581921278514199*^9, { 3.5819213323654933`*^9, 3.5819213694779587`*^9}, {3.5819214012396145`*^9, 3.581921441004084*^9}, 3.5819214717517385`*^9, {3.5819215406414595`*^9, 3.581921585117137*^9}, 3.581921616270392*^9, 3.5819216525872555`*^9, 3.5819217026789436`*^9, 3.581931371229418*^9, {3.5819314018990717`*^9, 3.581931426718715*^9}, 3.5819314851876183`*^9, {3.5819315234856853`*^9, 3.581931549756131*^9}, {3.581931598490617*^9, 3.5819316881595745`*^9}, 3.5819317959089637`*^9, 3.5819318652354856`*^9, {3.5819318977615423`*^9, 3.581931942471221*^9}, {3.5819319737180758`*^9, 3.5819320261341677`*^9}}], Cell[BoxData["3"], "Output", CellChangeTimes->{ 3.581919806121213*^9, 3.5819200166903825`*^9, 3.581920122411768*^9, { 3.5819202085551195`*^9, 3.581920225278349*^9}, {3.581920333480139*^9, 3.5819203802334213`*^9}, 3.5819205150332575`*^9, {3.5819205483393164`*^9, 3.5819206258714523`*^9}, 3.581921234756122*^9, 3.581921278514199*^9, { 3.5819213323654933`*^9, 3.5819213694779587`*^9}, {3.5819214012396145`*^9, 3.581921441004084*^9}, 3.5819214717517385`*^9, {3.5819215406414595`*^9, 3.581921585117137*^9}, 3.581921616270392*^9, 3.5819216525872555`*^9, 3.5819217026789436`*^9, 3.581931371229418*^9, {3.5819314018990717`*^9, 3.581931426718715*^9}, 3.5819314851876183`*^9, {3.5819315234856853`*^9, 3.581931549756131*^9}, {3.581931598490617*^9, 3.5819316881595745`*^9}, 3.5819317959089637`*^9, 3.5819318652354856`*^9, {3.5819318977615423`*^9, 3.581931942471221*^9}, {3.5819319737180758`*^9, 3.5819320261341677`*^9}}], Cell[BoxData["0"], "Output", CellChangeTimes->{ 3.581919806121213*^9, 3.5819200166903825`*^9, 3.581920122411768*^9, { 3.5819202085551195`*^9, 3.581920225278349*^9}, {3.581920333480139*^9, 3.5819203802334213`*^9}, 3.5819205150332575`*^9, {3.5819205483393164`*^9, 3.5819206258714523`*^9}, 3.581921234756122*^9, 3.581921278514199*^9, { 3.5819213323654933`*^9, 3.5819213694779587`*^9}, {3.5819214012396145`*^9, 3.581921441004084*^9}, 3.5819214717517385`*^9, {3.5819215406414595`*^9, 3.581921585117137*^9}, 3.581921616270392*^9, 3.5819216525872555`*^9, 3.5819217026789436`*^9, 3.581931371229418*^9, {3.5819314018990717`*^9, 3.581931426718715*^9}, 3.5819314851876183`*^9, {3.5819315234856853`*^9, 3.581931549756131*^9}, {3.581931598490617*^9, 3.5819316881595745`*^9}, 3.5819317959089637`*^9, 3.5819318652354856`*^9, {3.5819318977615423`*^9, 3.581931942471221*^9}, {3.5819319737180758`*^9, 3.5819320261341677`*^9}}] }, Open ]], Cell[BoxData[ RowBox[{" ", RowBox[{ RowBox[{ RowBox[{"wx", "=", RowBox[{"Table", "[", RowBox[{ RowBox[{ RowBox[{ RowBox[{ RowBox[{"(", RowBox[{ RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "3"}], "]"}], "]"}], "+", RowBox[{"u2", "[", RowBox[{"[", RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "1"}], "]"}], "]"}], "]"}], "]"}]}], ")"}], "/", RowBox[{"(", RowBox[{ RowBox[{"u2", "[", RowBox[{"[", RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "1"}], "]"}], "]"}], "]"}], "]"}], "+", RowBox[{"2", "*", RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "3"}], "]"}], "]"}]}], "+", RowBox[{"u2", "[", RowBox[{"[", RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "2"}], "]"}], "]"}], "]"}], "]"}]}], ")"}]}], "*", RowBox[{"(", RowBox[{ RowBox[{"x", "[", RowBox[{"[", RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "2"}], "]"}], "]"}], "]"}], "]"}], "-", RowBox[{"x", "[", RowBox[{"[", RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "1"}], "]"}], "]"}], "]"}], "]"}]}], ")"}]}], "+", RowBox[{"x", "[", RowBox[{"[", RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "1"}], "]"}], "]"}], "]"}], "]"}]}], ",", RowBox[{"{", RowBox[{"i", ",", "1", ",", "cw"}], "}"}]}], "]"}]}], ";", " ", RowBox[{"wy", "=", RowBox[{"Table", "[", RowBox[{ RowBox[{ RowBox[{ RowBox[{ RowBox[{"(", RowBox[{ RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "3"}], "]"}], "]"}], "+", RowBox[{"u2", "[", RowBox[{"[", RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "1"}], "]"}], "]"}], "]"}], "]"}]}], ")"}], "/", RowBox[{"(", RowBox[{ RowBox[{"u2", "[", RowBox[{"[", RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "1"}], "]"}], "]"}], "]"}], "]"}], "+", RowBox[{"2", "*", RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "3"}], "]"}], "]"}]}], "+", RowBox[{"u2", "[", RowBox[{"[", RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "2"}], "]"}], "]"}], "]"}], "]"}]}], ")"}]}], "*", RowBox[{"(", RowBox[{ RowBox[{"y", "[", RowBox[{"[", RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "2"}], "]"}], "]"}], "]"}], "]"}], "-", RowBox[{"y", "[", RowBox[{"[", RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "1"}], "]"}], "]"}], "]"}], "]"}]}], ")"}]}], "+", RowBox[{"y", "[", RowBox[{"[", RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "1"}], "]"}], "]"}], "]"}], "]"}]}], ",", RowBox[{"{", RowBox[{"i", ",", "1", ",", "cw"}], "}"}]}], "]"}]}], ";", " ", RowBox[{"wz", "=", RowBox[{"Table", "[", RowBox[{ RowBox[{ RowBox[{ RowBox[{ RowBox[{"(", RowBox[{ RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "3"}], "]"}], "]"}], "+", RowBox[{"u2", "[", RowBox[{"[", RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "1"}], "]"}], "]"}], "]"}], "]"}]}], ")"}], "/", RowBox[{"(", RowBox[{ RowBox[{"u2", "[", RowBox[{"[", RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "1"}], "]"}], "]"}], "]"}], "]"}], "+", RowBox[{"2", "*", RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "3"}], "]"}], "]"}]}], "+", RowBox[{"u2", "[", RowBox[{"[", RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "2"}], "]"}], "]"}], "]"}], "]"}]}], ")"}]}], "*", RowBox[{"(", RowBox[{ RowBox[{"z", "[", RowBox[{"[", RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "2"}], "]"}], "]"}], "]"}], "]"}], "-", RowBox[{"z", "[", RowBox[{"[", RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "1"}], "]"}], "]"}], "]"}], "]"}]}], ")"}]}], "+", RowBox[{"z", "[", RowBox[{"[", RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "1"}], "]"}], "]"}], "]"}], "]"}]}], ",", RowBox[{"{", RowBox[{"i", ",", "1", ",", "cw"}], "}"}]}], "]"}]}], ";"}], "\n", RowBox[{ RowBox[{"Plot7", "=", RowBox[{"Table", "[", RowBox[{ RowBox[{"Graphics3D", "[", RowBox[{"{", RowBox[{ RowBox[{"Opacity", "[", "0.5", "]"}], ",", RowBox[{"Sphere", "[", RowBox[{ RowBox[{"{", RowBox[{ RowBox[{"wx", "[", RowBox[{"[", "i", "]"}], "]"}], ",", RowBox[{"wy", "[", RowBox[{"[", "i", "]"}], "]"}], ",", RowBox[{"wz", "[", RowBox[{"[", "i", "]"}], "]"}]}], "}"}], ",", RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "3"}], "]"}], "]"}]}], "]"}]}], "}"}], "]"}], ",", RowBox[{"{", RowBox[{"i", ",", "1", ",", "cw"}], "}"}]}], "]"}]}], ";"}]}]}]], "Input", CellChangeTimes->{{3.5681365021632137`*^9, 3.5681365171392403`*^9}, { 3.568136560351316*^9, 3.5681365863097615`*^9}, {3.5681369135895367`*^9, 3.5681369265999594`*^9}, {3.568137821916732*^9, 3.5681378378443604`*^9}, { 3.5682072492149415`*^9, 3.5682072529901485`*^9}, 3.568209802830227*^9, { 3.5682216503836985`*^9, 3.5682217583046885`*^9}, {3.5682217912831464`*^9, 3.568221843465238*^9}, {3.5682219760654707`*^9, 3.5682221133457117`*^9}, { 3.568222159615393*^9, 3.5682221693498106`*^9}, {3.5682222565227633`*^9, 3.5682222578487663`*^9}, 3.5682224736283445`*^9, 3.5682227227607822`*^9, 3.5682227558640404`*^9, {3.568222818810151*^9, 3.5682228486062036`*^9}, { 3.5682230057764797`*^9, 3.5682230079916835`*^9}, {3.568223041952943*^9, 3.5682230548229656`*^9}, 3.5682232619601297`*^9, 3.5682233000709963`*^9, { 3.568223536645412*^9, 3.5682235381118145`*^9}, {3.568223591151908*^9, 3.568223591526308*^9}, {3.5682236491528096`*^9, 3.568223657483224*^9}, { 3.568223713222122*^9, 3.5682237532361927`*^9}, {3.568223800379475*^9, 3.568223827648323*^9}, {3.5682238887380304`*^9, 3.5682238893152313`*^9}, { 3.5682240287170763`*^9, 3.5682240612431335`*^9}, 3.5682241088076167`*^9, { 3.568224198772975*^9, 3.5682242396450467`*^9}, {3.568224282170721*^9, 3.5682243185031853`*^9}, {3.568224437890195*^9, 3.568224439590598*^9}, { 3.568224572253231*^9, 3.5682245867144566`*^9}, {3.5682247081762695`*^9, 3.568224733557514*^9}, {3.56822480520844*^9, 3.5682248433505073`*^9}, { 3.568224884206979*^9, 3.5682248959069996`*^9}, {3.568224982830352*^9, 3.5682250047639904`*^9}, {3.56822503870965*^9, 3.5682250803305235`*^9}, { 3.5682251223413973`*^9, 3.568225141451431*^9}, {3.568225234177994*^9, 3.5682252929588966`*^9}, {3.5682253775890455`*^9, 3.568225482140429*^9}, { 3.56822551694409*^9, 3.5682255297205124`*^9}, {3.568225573197789*^9, 3.5682255809666023`*^9}, 3.568225660698343*^9, 3.5682257301964645`*^9, { 3.568225765078126*^9, 3.5682257828933573`*^9}, {3.568225927026843*^9, 3.568225927416844*^9}, {3.568267062420238*^9, 3.568267081358671*^9}, { 3.568267188328059*^9, 3.5682672830358257`*^9}, {3.5682676367040462`*^9, 3.568267747979042*^9}, 3.5682678404716043`*^9, 3.568267882030078*^9, { 3.5682679252577534`*^9, 3.568267996612279*^9}, {3.5682680488879704`*^9, 3.568268061133992*^9}, {3.568268100914062*^9, 3.5682681150944867`*^9}, { 3.5682681672609787`*^9, 3.5682681709113846`*^9}, {3.568268272904364*^9, 3.5682683182536435`*^9}, {3.5682685202739983`*^9, 3.568268599194537*^9}, { 3.5682686348873997`*^9, 3.568268637773405*^9}, {3.5682686944951043`*^9, 3.568268872273017*^9}, {3.5682689420207396`*^9, 3.568269016947671*^9}, { 3.5682695040741262`*^9, 3.568269601153097*^9}, {3.5682696652380095`*^9, 3.5682696728352227`*^9}, {3.5682697489633565`*^9, 3.5682698308635006`*^9}, {3.568271156491429*^9, 3.568271160063835*^9}, { 3.568271244927984*^9, 3.568271369010602*^9}, {3.5682716250070515`*^9, 3.5682717312276382`*^9}, {3.5682717843301315`*^9, 3.5682718576814604`*^9}, {3.568271940673606*^9, 3.5682720536490045`*^9}, { 3.5682722259669075`*^9, 3.5682723223126764`*^9}, {3.568272370813162*^9, 3.568272411466833*^9}, {3.5682725893539457`*^9, 3.568272622238803*^9}, { 3.5682726936713285`*^9, 3.5682726960113325`*^9}, {3.568272741079812*^9, 3.56827275143823*^9}, {3.5682729218373294`*^9, 3.568272991070251*^9}, { 3.5682734285574193`*^9, 3.5682734302890224`*^9}, {3.5682734898811274`*^9, 3.5682735111595645`*^9}, {3.5682736115925407`*^9, 3.5682736313577757`*^9}, {3.5682738601945777`*^9, 3.568273987272401*^9}, { 3.5682763944346285`*^9, 3.5682764313910933`*^9}, 3.5682765128232365`*^9, { 3.5682766527398825`*^9, 3.568276660976697*^9}, {3.5682774496048822`*^9, 3.568277461663703*^9}, {3.5682852978767633`*^9, 3.568285382460112*^9}, { 3.568285675366227*^9, 3.568285707861084*^9}, {3.568285985822372*^9, 3.568285991485182*^9}, {3.568286358600627*^9, 3.568286369505046*^9}, { 3.5682869898869357`*^9, 3.568287001134555*^9}, {3.5682977174462996`*^9, 3.568297735994732*^9}, {3.568305934649544*^9, 3.5683059800144234`*^9}, { 3.5804489722380853`*^9, 3.580449074449465*^9}, {3.580449125945155*^9, 3.580449181777653*^9}, 3.580449245191765*^9, 3.580449330789115*^9, { 3.5804589977940884`*^9, 3.580459000102893*^9}, {3.5804590597729974`*^9, 3.5804590762778263`*^9}, 3.5804591100518856`*^9, 3.580459208191658*^9, { 3.5804592899358015`*^9, 3.580459292322606*^9}, {3.580459332664277*^9, 3.5804593337250786`*^9}, {3.5804599640909853`*^9, 3.5804599656041884`*^9}, {3.580460783217224*^9, 3.580460832840912*^9}, { 3.580460867847373*^9, 3.5804608846018023`*^9}, {3.580465026299877*^9, 3.5804650871087837`*^9}}], Cell[BoxData[ RowBox[{ RowBox[{"wxh", "=", RowBox[{"Table", "[", RowBox[{ RowBox[{ RowBox[{ RowBox[{ RowBox[{"(", RowBox[{ RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "3"}], "]"}], "]"}], "+", RowBox[{"u2", "[", RowBox[{"[", RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "2"}], "]"}], "]"}], "]"}], "]"}]}], ")"}], "/", RowBox[{"(", RowBox[{ RowBox[{"u2", "[", RowBox[{"[", RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "1"}], "]"}], "]"}], "]"}], "]"}], "+", RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "3"}], "]"}], "]"}], "+", RowBox[{"u2", "[", RowBox[{"[", RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "2"}], "]"}], "]"}], "]"}], "]"}]}], ")"}]}], "*", RowBox[{"(", RowBox[{ RowBox[{"x", "[", RowBox[{"[", RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "1"}], "]"}], "]"}], "]"}], "]"}], "-", RowBox[{"x", "[", RowBox[{"[", RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "2"}], "]"}], "]"}], "]"}], "]"}]}], ")"}]}], "+", RowBox[{"x", "[", RowBox[{"[", RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "2"}], "]"}], "]"}], "]"}], "]"}]}], ",", RowBox[{"{", RowBox[{"i", ",", RowBox[{"cw", "+", "1"}], ",", "nb"}], "}"}]}], "]"}]}], ";", " ", RowBox[{"wyh", "=", RowBox[{"Table", "[", RowBox[{ RowBox[{ RowBox[{ RowBox[{ RowBox[{"(", RowBox[{ RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "3"}], "]"}], "]"}], "+", RowBox[{"u2", "[", RowBox[{"[", RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "2"}], "]"}], "]"}], "]"}], "]"}]}], ")"}], "/", RowBox[{"(", RowBox[{ RowBox[{"u2", "[", RowBox[{"[", RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "1"}], "]"}], "]"}], "]"}], "]"}], "+", RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "3"}], "]"}], "]"}], "+", RowBox[{"u2", "[", RowBox[{"[", RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "2"}], "]"}], "]"}], "]"}], "]"}]}], ")"}]}], "*", RowBox[{"(", RowBox[{ RowBox[{"y", "[", RowBox[{"[", RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "1"}], "]"}], "]"}], "]"}], "]"}], "-", RowBox[{"y", "[", RowBox[{"[", RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "2"}], "]"}], "]"}], "]"}], "]"}]}], ")"}]}], "+", RowBox[{"y", "[", RowBox[{"[", RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "2"}], "]"}], "]"}], "]"}], "]"}]}], ",", RowBox[{"{", RowBox[{"i", ",", RowBox[{"cw", "+", "1"}], ",", "nb"}], "}"}]}], "]"}]}], ";", " ", RowBox[{"wzh", "=", RowBox[{"Table", "[", RowBox[{ RowBox[{ RowBox[{ RowBox[{ RowBox[{"(", RowBox[{ RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "3"}], "]"}], "]"}], "+", RowBox[{"u2", "[", RowBox[{"[", RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "2"}], "]"}], "]"}], "]"}], "]"}]}], ")"}], "/", RowBox[{"(", RowBox[{ RowBox[{"u2", "[", RowBox[{"[", RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "1"}], "]"}], "]"}], "]"}], "]"}], "+", RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "3"}], "]"}], "]"}], "+", RowBox[{"u2", "[", RowBox[{"[", RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "2"}], "]"}], "]"}], "]"}], "]"}]}], ")"}]}], "*", RowBox[{"(", RowBox[{ RowBox[{"z", "[", RowBox[{"[", RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "1"}], "]"}], "]"}], "]"}], "]"}], "-", RowBox[{"z", "[", RowBox[{"[", RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "2"}], "]"}], "]"}], "]"}], "]"}]}], ")"}]}], "+", RowBox[{"z", "[", RowBox[{"[", RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "2"}], "]"}], "]"}], "]"}], "]"}]}], ",", RowBox[{"{", RowBox[{"i", ",", RowBox[{"cw", "+", "1"}], ",", "nb"}], "}"}]}], "]"}]}], ";"}]], "Input", CellChangeTimes->{{3.5681365021632137`*^9, 3.5681365171392403`*^9}, { 3.568136560351316*^9, 3.5681365863097615`*^9}, {3.5681369135895367`*^9, 3.5681369265999594`*^9}, {3.568137821916732*^9, 3.5681378378443604`*^9}, { 3.5682072492149415`*^9, 3.5682072529901485`*^9}, 3.568209802830227*^9, { 3.5682216503836985`*^9, 3.5682217583046885`*^9}, {3.5682217912831464`*^9, 3.568221843465238*^9}, {3.5682219760654707`*^9, 3.5682221133457117`*^9}, { 3.568222159615393*^9, 3.5682221693498106`*^9}, {3.5682222565227633`*^9, 3.5682222578487663`*^9}, 3.5682224736283445`*^9, 3.5682227227607822`*^9, 3.5682227558640404`*^9, {3.568222818810151*^9, 3.5682228486062036`*^9}, { 3.5682230057764797`*^9, 3.5682230079916835`*^9}, {3.568223041952943*^9, 3.5682230548229656`*^9}, 3.5682232619601297`*^9, 3.5682233000709963`*^9, { 3.568223536645412*^9, 3.5682235381118145`*^9}, {3.568223591151908*^9, 3.568223591526308*^9}, {3.5682236491528096`*^9, 3.568223657483224*^9}, { 3.568223713222122*^9, 3.5682237532361927`*^9}, {3.568223800379475*^9, 3.568223827648323*^9}, {3.5682238887380304`*^9, 3.5682238893152313`*^9}, { 3.5682240287170763`*^9, 3.5682240612431335`*^9}, 3.5682241088076167`*^9, { 3.568224198772975*^9, 3.5682242396450467`*^9}, {3.568224282170721*^9, 3.5682243185031853`*^9}, {3.568224437890195*^9, 3.568224439590598*^9}, { 3.568224572253231*^9, 3.5682245867144566`*^9}, {3.5682247081762695`*^9, 3.568224733557514*^9}, {3.56822480520844*^9, 3.5682248433505073`*^9}, { 3.568224884206979*^9, 3.5682248959069996`*^9}, {3.568224982830352*^9, 3.5682250047639904`*^9}, {3.56822503870965*^9, 3.5682250803305235`*^9}, { 3.5682251223413973`*^9, 3.568225141451431*^9}, {3.568225234177994*^9, 3.5682252929588966`*^9}, {3.5682253775890455`*^9, 3.568225482140429*^9}, { 3.56822551694409*^9, 3.5682255297205124`*^9}, {3.568225573197789*^9, 3.5682255809666023`*^9}, 3.568225660698343*^9, 3.5682257301964645`*^9, { 3.568225765078126*^9, 3.5682257828933573`*^9}, {3.568225927026843*^9, 3.568225927416844*^9}, {3.568267062420238*^9, 3.568267081358671*^9}, { 3.568267188328059*^9, 3.5682672830358257`*^9}, {3.5682676367040462`*^9, 3.568267747979042*^9}, 3.5682678404716043`*^9, 3.568267882030078*^9, { 3.5682679252577534`*^9, 3.568267996612279*^9}, {3.5682680488879704`*^9, 3.568268061133992*^9}, {3.568268100914062*^9, 3.5682681150944867`*^9}, { 3.5682681672609787`*^9, 3.5682681709113846`*^9}, {3.568268272904364*^9, 3.5682683182536435`*^9}, {3.5682685202739983`*^9, 3.568268599194537*^9}, { 3.5682686348873997`*^9, 3.568268637773405*^9}, {3.5682686944951043`*^9, 3.568268872273017*^9}, {3.5682689420207396`*^9, 3.568269016947671*^9}, { 3.5682695040741262`*^9, 3.568269601153097*^9}, {3.5682696652380095`*^9, 3.5682696728352227`*^9}, {3.5682697489633565`*^9, 3.5682698308635006`*^9}, {3.568271156491429*^9, 3.568271160063835*^9}, { 3.568271244927984*^9, 3.568271369010602*^9}, {3.5682716250070515`*^9, 3.5682717312276382`*^9}, {3.5682717843301315`*^9, 3.5682718576814604`*^9}, {3.568271940673606*^9, 3.5682720536490045`*^9}, { 3.5682722259669075`*^9, 3.5682723223126764`*^9}, {3.568272370813162*^9, 3.568272411466833*^9}, {3.5682725893539457`*^9, 3.568272622238803*^9}, { 3.5682726936713285`*^9, 3.5682726960113325`*^9}, {3.568272741079812*^9, 3.56827275143823*^9}, {3.5682729218373294`*^9, 3.568272991070251*^9}, { 3.5682734285574193`*^9, 3.5682734302890224`*^9}, {3.5682734898811274`*^9, 3.5682735111595645`*^9}, {3.5682736115925407`*^9, 3.5682736313577757`*^9}, {3.5682738601945777`*^9, 3.568273987272401*^9}, { 3.5682763944346285`*^9, 3.5682764313910933`*^9}, 3.5682765128232365`*^9, { 3.5682766527398825`*^9, 3.568276660976697*^9}, {3.5682774496048822`*^9, 3.568277461663703*^9}, {3.5682852978767633`*^9, 3.568285382460112*^9}, { 3.568285675366227*^9, 3.568285707861084*^9}, {3.568285985822372*^9, 3.568285991485182*^9}, {3.568286358600627*^9, 3.568286369505046*^9}, { 3.5682869898869357`*^9, 3.568287001134555*^9}, {3.5682977174462996`*^9, 3.568297735994732*^9}, {3.568305934649544*^9, 3.5683059800144234`*^9}, { 3.5804489722380853`*^9, 3.580449074449465*^9}, {3.580449125945155*^9, 3.580449181777653*^9}, 3.580449245191765*^9, 3.580449330789115*^9, { 3.5804589977940884`*^9, 3.580459000102893*^9}, {3.5804590597729974`*^9, 3.5804590762778263`*^9}, 3.5804591100518856`*^9, 3.580459208191658*^9, { 3.5804592899358015`*^9, 3.580459292322606*^9}, {3.580459332664277*^9, 3.5804593337250786`*^9}, {3.5804599640909853`*^9, 3.5804599656041884`*^9}, {3.580460783217224*^9, 3.580460832840912*^9}, { 3.580460867847373*^9, 3.5804608846018023`*^9}, {3.580465026299877*^9, 3.5804650896203885`*^9}}], Cell[BoxData[{ RowBox[{ RowBox[{"Plot8", "=", RowBox[{"Table", "[", RowBox[{ RowBox[{"Graphics3D", "[", RowBox[{"{", RowBox[{ RowBox[{"Opacity", "[", "0.5", "]"}], ",", RowBox[{"Sphere", "[", RowBox[{ RowBox[{"{", RowBox[{ RowBox[{"wxh", "[", RowBox[{"[", "i", "]"}], "]"}], ",", RowBox[{"wyh", "[", RowBox[{"[", "i", "]"}], "]"}], ",", RowBox[{"wzh", "[", RowBox[{"[", "i", "]"}], "]"}]}], "}"}], ",", RowBox[{"a", "[", RowBox[{"[", RowBox[{ RowBox[{"i", "+", "cw"}], ",", "3"}], "]"}], "]"}]}], "]"}]}], "}"}], "]"}], ",", RowBox[{"{", RowBox[{"i", ",", "1", ",", "bh"}], "}"}]}], "]"}]}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"Plot8ib", "=", RowBox[{"Table", "[", RowBox[{ RowBox[{"Graphics3D", "[", RowBox[{"{", RowBox[{ RowBox[{"Opacity", "[", "0.4", "]"}], ",", RowBox[{"Lighter", "[", "Blue", "]"}], ",", RowBox[{"Sphere", "[", RowBox[{ RowBox[{"tpyrn", "[", RowBox[{"[", "i", "]"}], "]"}], ",", "rln"}], "]"}]}], "}"}], "]"}], ",", RowBox[{"{", RowBox[{"i", ",", "1", ",", "1"}], "}"}]}], "]"}]}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"Plot9", "=", " ", RowBox[{"Table", "[", RowBox[{ RowBox[{"Graphics3D", "[", RowBox[{"{", RowBox[{ RowBox[{"Lighter", "[", RowBox[{"Gray", ",", "0.8"}], "]"}], ",", RowBox[{"Tube", "[", RowBox[{ RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{ RowBox[{"x", "[", RowBox[{"[", RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "1"}], "]"}], "]"}], "]"}], "]"}], ",", RowBox[{"y", "[", RowBox[{"[", RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "1"}], "]"}], "]"}], "]"}], "]"}], ",", RowBox[{"z", "[", RowBox[{"[", RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "1"}], "]"}], "]"}], "]"}], "]"}]}], "}"}], ",", RowBox[{"{", RowBox[{ RowBox[{"x", "[", RowBox[{"[", RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "2"}], "]"}], "]"}], "]"}], "]"}], ",", RowBox[{"y", "[", RowBox[{"[", RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "2"}], "]"}], "]"}], "]"}], "]"}], ",", RowBox[{"z", "[", RowBox[{"[", RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "2"}], "]"}], "]"}], "]"}], "]"}]}], "}"}]}], "}"}], ",", "0.07"}], "]"}]}], "}"}], "]"}], ",", RowBox[{"{", RowBox[{"i", ",", "1", ",", "nb"}], "}"}]}], "]"}]}], ";"}]}], "Input", CellChangeTimes->{{3.5681365021632137`*^9, 3.5681365171392403`*^9}, { 3.568136560351316*^9, 3.5681365863097615`*^9}, {3.5681369135895367`*^9, 3.5681369265999594`*^9}, {3.568137821916732*^9, 3.5681378378443604`*^9}, { 3.5682072492149415`*^9, 3.5682072529901485`*^9}, 3.568209802830227*^9, { 3.5682216503836985`*^9, 3.5682217583046885`*^9}, {3.5682217912831464`*^9, 3.568221843465238*^9}, {3.5682219760654707`*^9, 3.5682221133457117`*^9}, { 3.568222159615393*^9, 3.5682221693498106`*^9}, {3.5682222565227633`*^9, 3.5682222578487663`*^9}, 3.5682224736283445`*^9, 3.5682227227607822`*^9, 3.5682227558640404`*^9, {3.568222818810151*^9, 3.5682228486062036`*^9}, { 3.5682230057764797`*^9, 3.5682230079916835`*^9}, {3.568223041952943*^9, 3.5682230548229656`*^9}, 3.5682232619601297`*^9, 3.5682233000709963`*^9, { 3.568223536645412*^9, 3.5682235381118145`*^9}, {3.568223591151908*^9, 3.568223591526308*^9}, {3.5682236491528096`*^9, 3.568223657483224*^9}, { 3.568223713222122*^9, 3.5682237532361927`*^9}, {3.568223800379475*^9, 3.568223827648323*^9}, {3.5682238887380304`*^9, 3.5682238893152313`*^9}, { 3.5682240287170763`*^9, 3.5682240612431335`*^9}, 3.5682241088076167`*^9, { 3.568224198772975*^9, 3.5682242396450467`*^9}, {3.568224282170721*^9, 3.5682243185031853`*^9}, {3.568224437890195*^9, 3.568224439590598*^9}, { 3.568224572253231*^9, 3.5682245867144566`*^9}, {3.5682247081762695`*^9, 3.568224733557514*^9}, {3.56822480520844*^9, 3.5682248433505073`*^9}, { 3.568224884206979*^9, 3.5682248959069996`*^9}, {3.568224982830352*^9, 3.5682250047639904`*^9}, {3.56822503870965*^9, 3.5682250803305235`*^9}, { 3.5682251223413973`*^9, 3.568225141451431*^9}, {3.568225234177994*^9, 3.5682252929588966`*^9}, {3.5682253775890455`*^9, 3.568225482140429*^9}, { 3.56822551694409*^9, 3.5682255297205124`*^9}, {3.568225573197789*^9, 3.5682255809666023`*^9}, 3.568225660698343*^9, 3.5682257301964645`*^9, { 3.568225765078126*^9, 3.5682257828933573`*^9}, {3.568225927026843*^9, 3.568225927416844*^9}, {3.568267062420238*^9, 3.568267081358671*^9}, { 3.568267188328059*^9, 3.5682672830358257`*^9}, {3.5682676367040462`*^9, 3.568267747979042*^9}, 3.5682678404716043`*^9, 3.568267882030078*^9, { 3.5682679252577534`*^9, 3.568267996612279*^9}, {3.5682680488879704`*^9, 3.568268061133992*^9}, {3.568268100914062*^9, 3.5682681150944867`*^9}, { 3.5682681672609787`*^9, 3.5682681709113846`*^9}, {3.568268272904364*^9, 3.5682683182536435`*^9}, {3.5682685202739983`*^9, 3.568268599194537*^9}, { 3.5682686348873997`*^9, 3.568268637773405*^9}, {3.5682686944951043`*^9, 3.568268872273017*^9}, {3.5682689420207396`*^9, 3.568269016947671*^9}, { 3.5682695040741262`*^9, 3.568269601153097*^9}, {3.5682696652380095`*^9, 3.5682696728352227`*^9}, {3.5682697489633565`*^9, 3.5682698308635006`*^9}, {3.568271156491429*^9, 3.568271160063835*^9}, { 3.568271244927984*^9, 3.568271369010602*^9}, {3.5682716250070515`*^9, 3.5682717312276382`*^9}, {3.5682717843301315`*^9, 3.5682718576814604`*^9}, {3.568271940673606*^9, 3.5682720536490045`*^9}, { 3.5682722259669075`*^9, 3.5682723223126764`*^9}, {3.568272370813162*^9, 3.568272411466833*^9}, {3.5682725893539457`*^9, 3.568272622238803*^9}, { 3.5682726936713285`*^9, 3.5682726960113325`*^9}, {3.568272741079812*^9, 3.56827275143823*^9}, {3.5682729218373294`*^9, 3.568272991070251*^9}, { 3.5682734285574193`*^9, 3.5682734302890224`*^9}, {3.5682734898811274`*^9, 3.5682735111595645`*^9}, {3.5682736115925407`*^9, 3.5682736313577757`*^9}, {3.5682738601945777`*^9, 3.568273987272401*^9}, { 3.5682763944346285`*^9, 3.5682764313910933`*^9}, 3.5682765128232365`*^9, { 3.5682766527398825`*^9, 3.568276660976697*^9}, {3.5682774496048822`*^9, 3.568277461663703*^9}, {3.5682852978767633`*^9, 3.568285382460112*^9}, { 3.568285675366227*^9, 3.568285707861084*^9}, {3.568285985822372*^9, 3.568285991485182*^9}, {3.568286358600627*^9, 3.568286369505046*^9}, { 3.5682869898869357`*^9, 3.568287001134555*^9}, {3.5682977174462996`*^9, 3.568297735994732*^9}, {3.568305934649544*^9, 3.5683059800144234`*^9}, { 3.5804489722380853`*^9, 3.580449074449465*^9}, {3.580449125945155*^9, 3.580449181777653*^9}, 3.580449245191765*^9, 3.580449330789115*^9, { 3.5804589977940884`*^9, 3.580459000102893*^9}, {3.5804590597729974`*^9, 3.5804590762778263`*^9}, 3.5804591100518856`*^9, 3.580459208191658*^9, { 3.5804592899358015`*^9, 3.580459292322606*^9}, {3.580459332664277*^9, 3.5804593337250786`*^9}, {3.5804599640909853`*^9, 3.5804599656041884`*^9}, {3.580460783217224*^9, 3.580460832840912*^9}, { 3.580460867847373*^9, 3.5804608846018023`*^9}, {3.580465026299877*^9, 3.5804651023032103`*^9}, {3.5804653879553123`*^9, 3.580465390466917*^9}, { 3.5804654257853785`*^9, 3.580465427017781*^9}, {3.581920158213831*^9, 3.5819201805842705`*^9}, {3.581920216495534*^9, 3.581920218461137*^9}}], Cell[CellGroupData[{ Cell[BoxData[ RowBox[{"Show", "[", RowBox[{ "Plot1o", ",", "Plot2", ",", "Plot7", ",", "Plot8", ",", "Plot8ib", ",", "Plot8jb", ",", "Plot9", ",", RowBox[{"{", RowBox[{ RowBox[{"AspectRatio", "\[Rule]", "Automatic"}], ",", RowBox[{"Boxed", "\[Rule]", "False"}], ",", RowBox[{"SphericalRegion", "->", "True"}]}], "}"}]}], "]"}]], "Input", CellChangeTimes->{{3.5681365021632137`*^9, 3.5681365171392403`*^9}, { 3.568136560351316*^9, 3.5681365863097615`*^9}, {3.5681369135895367`*^9, 3.5681369265999594`*^9}, {3.568137821916732*^9, 3.5681378378443604`*^9}, { 3.5682072492149415`*^9, 3.5682072529901485`*^9}, 3.568209802830227*^9, { 3.5682216503836985`*^9, 3.5682217583046885`*^9}, {3.5682217912831464`*^9, 3.568221843465238*^9}, {3.5682219760654707`*^9, 3.5682221133457117`*^9}, { 3.568222159615393*^9, 3.5682221693498106`*^9}, {3.5682222565227633`*^9, 3.5682222578487663`*^9}, 3.5682224736283445`*^9, 3.5682227227607822`*^9, 3.5682227558640404`*^9, {3.568222818810151*^9, 3.5682228486062036`*^9}, { 3.5682230057764797`*^9, 3.5682230079916835`*^9}, {3.568223041952943*^9, 3.5682230548229656`*^9}, 3.5682232619601297`*^9, 3.5682233000709963`*^9, { 3.568223536645412*^9, 3.5682235381118145`*^9}, {3.568223591151908*^9, 3.568223591526308*^9}, {3.5682236491528096`*^9, 3.568223657483224*^9}, { 3.568223713222122*^9, 3.5682237532361927`*^9}, {3.568223800379475*^9, 3.568223827648323*^9}, {3.5682238887380304`*^9, 3.5682238893152313`*^9}, { 3.5682240287170763`*^9, 3.5682240612431335`*^9}, 3.5682241088076167`*^9, { 3.568224198772975*^9, 3.5682242396450467`*^9}, {3.568224282170721*^9, 3.5682243185031853`*^9}, {3.568224437890195*^9, 3.568224439590598*^9}, { 3.568224572253231*^9, 3.5682245867144566`*^9}, {3.5682247081762695`*^9, 3.568224733557514*^9}, {3.56822480520844*^9, 3.5682248433505073`*^9}, { 3.568224884206979*^9, 3.5682248959069996`*^9}, {3.568224982830352*^9, 3.5682250047639904`*^9}, {3.56822503870965*^9, 3.5682250803305235`*^9}, { 3.5682251223413973`*^9, 3.568225141451431*^9}, {3.568225234177994*^9, 3.5682252929588966`*^9}, {3.5682253775890455`*^9, 3.568225482140429*^9}, { 3.56822551694409*^9, 3.5682255297205124`*^9}, {3.568225573197789*^9, 3.5682255809666023`*^9}, 3.568225660698343*^9, 3.5682257301964645`*^9, { 3.568225765078126*^9, 3.5682257828933573`*^9}, {3.568225927026843*^9, 3.568225927416844*^9}, {3.568267062420238*^9, 3.568267081358671*^9}, { 3.568267188328059*^9, 3.5682672830358257`*^9}, {3.5682676367040462`*^9, 3.568267747979042*^9}, 3.5682678404716043`*^9, 3.568267882030078*^9, { 3.5682679252577534`*^9, 3.568267996612279*^9}, {3.5682680488879704`*^9, 3.568268061133992*^9}, {3.568268100914062*^9, 3.5682681150944867`*^9}, { 3.5682681672609787`*^9, 3.5682681709113846`*^9}, {3.568268272904364*^9, 3.5682683182536435`*^9}, {3.5682685202739983`*^9, 3.568268599194537*^9}, { 3.5682686348873997`*^9, 3.568268637773405*^9}, {3.5682686944951043`*^9, 3.568268872273017*^9}, {3.5682689420207396`*^9, 3.568269016947671*^9}, { 3.5682695040741262`*^9, 3.568269601153097*^9}, {3.5682696652380095`*^9, 3.5682696728352227`*^9}, {3.5682697489633565`*^9, 3.5682698308635006`*^9}, {3.568271156491429*^9, 3.568271160063835*^9}, { 3.568271244927984*^9, 3.568271369010602*^9}, {3.5682716250070515`*^9, 3.5682717312276382`*^9}, {3.5682717843301315`*^9, 3.5682718576814604`*^9}, {3.568271940673606*^9, 3.5682720536490045`*^9}, { 3.5682722259669075`*^9, 3.5682723223126764`*^9}, {3.568272370813162*^9, 3.568272411466833*^9}, {3.5682725893539457`*^9, 3.568272622238803*^9}, { 3.5682726936713285`*^9, 3.5682726960113325`*^9}, {3.568272741079812*^9, 3.56827275143823*^9}, {3.5682729218373294`*^9, 3.568272991070251*^9}, { 3.5682734285574193`*^9, 3.5682734302890224`*^9}, {3.5682734898811274`*^9, 3.5682735111595645`*^9}, {3.5682736115925407`*^9, 3.5682736313577757`*^9}, {3.5682738601945777`*^9, 3.568273987272401*^9}, { 3.5682763944346285`*^9, 3.5682764313910933`*^9}, 3.5682765128232365`*^9, { 3.5682766527398825`*^9, 3.568276660976697*^9}, {3.5682774496048822`*^9, 3.568277461663703*^9}, {3.5682852978767633`*^9, 3.568285382460112*^9}, { 3.568285675366227*^9, 3.568285707861084*^9}, {3.568285985822372*^9, 3.568285991485182*^9}, {3.568286358600627*^9, 3.568286369505046*^9}, { 3.5682869898869357`*^9, 3.568287001134555*^9}, {3.5682977174462996`*^9, 3.568297735994732*^9}, {3.568305934649544*^9, 3.5683059800144234`*^9}, { 3.5804489722380853`*^9, 3.580449074449465*^9}, {3.580449125945155*^9, 3.580449181777653*^9}, 3.580449245191765*^9, 3.580449330789115*^9, { 3.5804589977940884`*^9, 3.580459000102893*^9}, {3.5804590597729974`*^9, 3.5804590762778263`*^9}, 3.5804591100518856`*^9, 3.580459208191658*^9, { 3.5804592899358015`*^9, 3.580459292322606*^9}, {3.580459332664277*^9, 3.5804593337250786`*^9}, {3.5804599640909853`*^9, 3.5804599656041884`*^9}, {3.580460783217224*^9, 3.580460832840912*^9}, { 3.580460867847373*^9, 3.5804608846018023`*^9}, {3.580465026299877*^9, 3.580465098200403*^9}, 3.580465296975952*^9, {3.580488471874737*^9, 3.580488483902358*^9}}], Cell[BoxData[ Graphics3DBox[{ {RGBColor[ NCache[ Rational[1, 3], 0.3333333333333333], NCache[ Rational[1, 3], 0.3333333333333333], 1], Opacity[0.8], SphereBox[{{1.7007534*^-9, 3.5904794*^-9, -0.1499958505958386}}, 0.24]}, {RGBColor[1, 1, 1], Opacity[0.8], SphereBox[{{-2.6456164*^-9, -1.7760899227176337`, 0.5845065307586286}}, 0.12]}, {RGBColor[1, 1, 1], Opacity[0.8], SphereBox[{{-1.5381389454241607`, 0.8880449396269678, 0.5845065436087654}}, 0.12]}, {RGBColor[1, 1, 1], Opacity[0.8], SphereBox[{{1.5381389463690238`, 0.8880449432174472, 0.5845065428528751}}, 0.12]}, Text3DBox["1", {-0.4999999982992466, 3.5904794*^-9, -0.1499958505958386}, {1, 0}], Text3DBox["2", {-0.5000000026456164, -1.7760899227176337`, 0.5845065307586286}, {1, 0}], Text3DBox["3", {-2.0381389454241607`, 0.8880449396269678, 0.5845065436087654}, {1, 0}], Text3DBox["4", {1.0381389463690238`, 0.8880449432174472, 0.5845065428528751}, {1, 0}], {Opacity[0.5], SphereBox[{-1.392570397368313*^-9, -1.2640482684445002`, 0.3727515915264284}, 1.1526553314099903`]}, {Opacity[0.5], SphereBox[{-1.0946978682933797`, 0.6320241141270103, 0.3727515955593445}, 1.1526552850062577`]}, {Opacity[0.5], SphereBox[{1.094697869808993, 0.6320241166029831, 0.3727515949557186}, 1.1526552844103315`]}, {RGBColor[ NCache[ Rational[1, 3], 0.3333333333333333], NCache[ Rational[1, 3], 0.3333333333333333], 1], Opacity[0.4], SphereBox[{1.364313995111388*^-9, 1.0000505534790705`*^-8, -1.5192158505958386`}, 1.154]}, {RGBColor[0.9, 0.9, 0.9], TubeBox[{{-2.6456164*^-9, -1.7760899227176337`, 0.5845065307586286}, { 1.7007534*^-9, 3.5904794*^-9, -0.1499958505958386}}, 0.07]}, {RGBColor[0.9, 0.9, 0.9], TubeBox[{{-1.5381389454241607`, 0.8880449396269678, 0.5845065436087654}, { 1.7007534*^-9, 3.5904794*^-9, -0.1499958505958386}}, 0.07]}, {RGBColor[0.9, 0.9, 0.9], TubeBox[{{1.5381389463690238`, 0.8880449432174472, 0.5845065428528751}, { 1.7007534*^-9, 3.5904794*^-9, -0.1499958505958386}}, 0.07]}}, AspectRatio->Automatic, AutomaticImageSize->True, Boxed->False, ImageSize->{360., 360.}, SphericalRegion->True, ViewPoint->{-1.334777810677592, -3.064620694723085, -0.5258024282919718}, ViewVertical->{-0.2471672574665481, -0.420564730092607, \ -0.9043082863169757}]], "Output", CellChangeTimes->{ 3.581919806464413*^9, 3.5819200167371826`*^9, 3.5819201224429684`*^9, { 3.58192020858632*^9, 3.5819202253095493`*^9}, {3.581920333526939*^9, 3.5819203802646213`*^9}, 3.581920515080058*^9, {3.5819205483861165`*^9, 3.5819206259026527`*^9}, 3.5819212348029222`*^9, 3.5819212785453987`*^9, { 3.5819213323966937`*^9, 3.5819213695091586`*^9}, {3.581921401286414*^9, 3.5819214410352845`*^9}, 3.5819214717829385`*^9, {3.581921540688259*^9, 3.5819215851483374`*^9}, 3.581921616301592*^9, 3.581921652618456*^9, 3.5819217027257442`*^9, 3.581931371276218*^9, {3.581931401945872*^9, 3.581931426749915*^9}, 3.581931485234418*^9, {3.5819315235168853`*^9, 3.5819315497873316`*^9}, {3.581931598521817*^9, 3.5819316881907744`*^9}, 3.5819317959401636`*^9, 3.5819318652666855`*^9, {3.5819318977927427`*^9, 3.5819319425024214`*^9}, {3.581931973764876*^9, 3.581932026165368*^9}}] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[{ RowBox[{ RowBox[{ RowBox[{"tc", "=", RowBox[{"Table", "[", RowBox[{ RowBox[{"{", RowBox[{ RowBox[{"x", "[", RowBox[{"[", "i", "]"}], "]"}], ",", RowBox[{"y", "[", RowBox[{"[", "i", "]"}], "]"}], ",", RowBox[{"z", "[", RowBox[{"[", "i", "]"}], "]"}]}], "}"}], ",", RowBox[{"{", RowBox[{"i", ",", "1", ",", "bc"}], "}"}]}], "]"}]}], ";"}], " ", RowBox[{"(*", " ", RowBox[{"core", " ", "clouds"}], " ", "*)"}]}], "\[IndentingNewLine]", RowBox[{ RowBox[{ RowBox[{"twc", "=", RowBox[{"Table", "[", RowBox[{ RowBox[{"{", RowBox[{ RowBox[{"wx", "[", RowBox[{"[", "i", "]"}], "]"}], ",", RowBox[{"wy", "[", RowBox[{"[", "i", "]"}], "]"}], ",", RowBox[{"wz", "[", RowBox[{"[", "i", "]"}], "]"}]}], "}"}], ",", RowBox[{"{", RowBox[{"i", ",", "1", ",", "cw"}], "}"}]}], "]"}]}], ";"}], " ", RowBox[{"(*", " ", RowBox[{"Bond", " ", "c\[ODoubleDot]ouds", " ", "between", " ", "cores"}], " ", "*)"}]}], "\[IndentingNewLine]", RowBox[{ RowBox[{ RowBox[{"twh", "=", RowBox[{"Table", "[", RowBox[{ RowBox[{"{", RowBox[{ RowBox[{"wxh", "[", RowBox[{"[", "i", "]"}], "]"}], ",", RowBox[{"wyh", "[", RowBox[{"[", "i", "]"}], "]"}], ",", RowBox[{"wzh", "[", RowBox[{"[", "i", "]"}], "]"}]}], "}"}], ",", RowBox[{"{", RowBox[{"i", ",", "1", ",", "bh"}], "}"}]}], "]"}]}], ";"}], " ", RowBox[{"(*", " ", RowBox[{"H", "-", RowBox[{"bonding", " ", "clouds"}]}], " ", "*)"}], " "}], "\[IndentingNewLine]", RowBox[{ RowBox[{"tw", "=", RowBox[{"Join", "[", RowBox[{"tc", ",", "twc", ",", "twh", ",", "tpyrn"}], "]"}]}], ";"}], "\[IndentingNewLine]", RowBox[{"bt", "=", RowBox[{"Length", "[", "tw", "]"}]}]}], "Input", CellChangeTimes->{{3.5804614754216404`*^9, 3.5804614810532503`*^9}, { 3.580461527603732*^9, 3.5804615546541796`*^9}, 3.5804647573086047`*^9, 3.5804649196424894`*^9, {3.58048949832534*^9, 3.5804895043313503`*^9}, 3.580489609803136*^9, {3.5819186625846424`*^9, 3.5819186639886446`*^9}}], Cell[BoxData["5"], "Output", CellChangeTimes->{ 3.581919806480013*^9, 3.5819200167371826`*^9, 3.5819201224585686`*^9, { 3.5819202086331196`*^9, 3.581920225325149*^9}, {3.581920333542539*^9, 3.5819203803114214`*^9}, 3.581920515080058*^9, {3.5819205484329166`*^9, 3.581920625918253*^9}, 3.581921234818522*^9, 3.581921278560999*^9, { 3.581921332443494*^9, 3.581921369524759*^9}, {3.5819214013332143`*^9, 3.5819214410508842`*^9}, 3.581921471798538*^9, {3.5819215407350597`*^9, 3.5819215852107377`*^9}, 3.5819216163483925`*^9, 3.581921652634056*^9, 3.581921702741344*^9, 3.581931371276218*^9, {3.581931401945872*^9, 3.5819314267655153`*^9}, 3.581931485250018*^9, {3.5819315235636854`*^9, 3.5819315498497314`*^9}, {3.581931598584217*^9, 3.581931688253175*^9}, 3.581931795955764*^9, 3.5819318653134856`*^9, {3.581931897839543*^9, 3.581931942518021*^9}, {3.581931973764876*^9, 3.5819320261809683`*^9}}] }, Open ]], Cell[BoxData[ RowBox[{ RowBox[{"(*", " ", RowBox[{"cloud", "-", RowBox[{"cloud", " ", "distances"}]}], " ", "*)"}], "\[IndentingNewLine]", RowBox[{ RowBox[{ RowBox[{"dw", "=", RowBox[{"Table", "[", RowBox[{ RowBox[{"Norm", "[", RowBox[{ RowBox[{"tw", "[", RowBox[{"[", "i", "]"}], "]"}], "-", RowBox[{"tw", "[", RowBox[{"[", "j", "]"}], "]"}]}], "]"}], ",", RowBox[{"{", RowBox[{"i", ",", "1", ",", "bt"}], "}"}], ",", RowBox[{"{", RowBox[{"j", ",", "1", ",", "bt"}], "}"}]}], "]"}]}], ";"}], "\[IndentingNewLine]", RowBox[{"(*", RowBox[{"MatrixForm", "[", "dw", "]"}], "*)"}]}]}]], "Input", CellChangeTimes->{{3.5804614754216404`*^9, 3.5804614810532503`*^9}, { 3.580461527603732*^9, 3.5804615546541796`*^9}, {3.5804647573086047`*^9, 3.58046477754184*^9}, {3.580464923870097*^9, 3.5804649422313294`*^9}, 3.5804897528397865`*^9, 3.580489783634241*^9}], Cell[CellGroupData[{ Cell[BoxData[ RowBox[{ RowBox[{"(*", " ", RowBox[{"nucleus", "-", RowBox[{"nucleus", " ", "distances"}]}], " ", "*)"}], "\n", RowBox[{ RowBox[{ RowBox[{"tv1", "=", RowBox[{"Table", "[", RowBox[{ RowBox[{"t", "[", RowBox[{"[", "i", "]"}], "]"}], ",", RowBox[{"{", RowBox[{"i", ",", "1", ",", "bc"}], "}"}]}], "]"}]}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"tv2", "=", RowBox[{"Table", "[", RowBox[{ RowBox[{"{", RowBox[{"0", ",", "0", ",", "0"}], "}"}], ",", RowBox[{"{", RowBox[{"i", ",", "1", ",", "cw"}], "}"}]}], "]"}]}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"tv3", "=", " ", RowBox[{"Table", "[", RowBox[{ RowBox[{"t", "[", RowBox[{"[", "i", "]"}], "]"}], ",", RowBox[{"{", RowBox[{"i", ",", RowBox[{"bc", "+", "1"}], ",", "n"}], "}"}]}], "]"}]}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"tv6", " ", "=", RowBox[{"Table", "[", RowBox[{ RowBox[{"{", RowBox[{"0", ",", "0", ",", "0"}], "}"}], ",", RowBox[{"{", RowBox[{"i", ",", "1", ",", "1"}], "}"}]}], "]"}]}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"tv", " ", "=", " ", RowBox[{"Join", "[", RowBox[{"tv1", ",", "tv2", ",", "tv3", ",", "tv6"}], "]"}]}], ";"}], "\[IndentingNewLine]", RowBox[{"(*", RowBox[{"MatrixForm", "[", "tv", "]"}], "*)"}], "\[IndentingNewLine]", RowBox[{"Length", "[", "tv", "]"}]}]}]], "Input", CellChangeTimes->{{3.5804614754216404`*^9, 3.5804614810532503`*^9}, { 3.580461527603732*^9, 3.5804615546541796`*^9}, {3.5804647573086047`*^9, 3.58046477754184*^9}, {3.580464923870097*^9, 3.5804649550077515`*^9}, { 3.5804899034268513`*^9, 3.5804899043784533`*^9}, 3.58191868394108*^9}], Cell[BoxData["5"], "Output", CellChangeTimes->{ 3.581919806495613*^9, 3.581920016752783*^9, 3.5819201224741683`*^9, { 3.58192020864872*^9, 3.581920225340749*^9}, {3.581920333542539*^9, 3.581920380327021*^9}, 3.581920515111258*^9, {3.5819205484485164`*^9, 3.5819206259338527`*^9}, 3.5819212348341217`*^9, 3.581921278576599*^9, { 3.5819213324746933`*^9, 3.5819213695559587`*^9}, {3.5819214013488145`*^9, 3.5819214410664845`*^9}, 3.5819214718141384`*^9, {3.581921540766259*^9, 3.5819215852263374`*^9}, 3.581921616363992*^9, 3.5819216526496563`*^9, 3.5819217027569437`*^9, 3.5819313712918177`*^9, {3.5819314019614716`*^9, 3.5819314267811155`*^9}, 3.5819314852656183`*^9, {3.5819315235948853`*^9, 3.5819315498653316`*^9}, {3.5819315985998173`*^9, 3.581931688268775*^9}, 3.581931795971364*^9, 3.5819318653290854`*^9, {3.5819318978551426`*^9, 3.5819319425336213`*^9}, {3.5819319737960763`*^9, 3.5819320261965685`*^9}}] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[{ RowBox[{ RowBox[{"ow", "=", RowBox[{"Join", "[", RowBox[{ RowBox[{"Table", "[", RowBox[{ RowBox[{"-", "2.0"}], ",", RowBox[{"{", RowBox[{"i", ",", "1", ",", RowBox[{"bc", "+", "nb"}]}], "}"}]}], "]"}], ",", RowBox[{"Table", "[", RowBox[{ RowBox[{"-", "2.0"}], ",", RowBox[{"{", RowBox[{"i", ",", "1", ",", "1"}], "}"}]}], "]"}]}], "]"}]}], ";"}], "\[IndentingNewLine]", RowBox[{" ", "ow"}], "\[IndentingNewLine]", RowBox[{"cnv", "=", RowBox[{"Join", "[", RowBox[{ RowBox[{"Table", "[", RowBox[{ RowBox[{"cn", "[", RowBox[{"[", "i", "]"}], "]"}], ",", RowBox[{"{", RowBox[{"i", ",", "1", ",", "bc"}], "}"}]}], "]"}], ",", RowBox[{"Table", "[", RowBox[{"0.0", ",", RowBox[{"{", RowBox[{"i", ",", "1", ",", "cw"}], "}"}]}], "]"}], ",", RowBox[{"Table", "[", RowBox[{ RowBox[{"cn", "[", RowBox[{"[", "i", "]"}], "]"}], ",", RowBox[{"{", RowBox[{"i", ",", RowBox[{"bc", "+", "1"}], ",", "n"}], "}"}]}], "]"}], ",", RowBox[{"Table", "[", RowBox[{"0.0", ",", RowBox[{"{", RowBox[{"i", ",", "1", ",", "1"}], "}"}]}], "]"}]}], "]"}]}]}], "Input", CellChangeTimes->{{3.580461670421983*^9, 3.5804617339140944`*^9}, { 3.5819187786488466`*^9, 3.5819187833756547`*^9}}], Cell[BoxData[ RowBox[{"{", RowBox[{ RowBox[{"-", "2.`"}], ",", RowBox[{"-", "2.`"}], ",", RowBox[{"-", "2.`"}], ",", RowBox[{"-", "2.`"}], ",", RowBox[{"-", "2.`"}]}], "}"}]], "Output", CellChangeTimes->{ 3.5819198065112133`*^9, 3.581920016768383*^9, 3.5819201224741683`*^9, { 3.5819202086643195`*^9, 3.581920225356349*^9}, {3.581920333558139*^9, 3.581920380342621*^9}, 3.5819205151268578`*^9, {3.581920548464116*^9, 3.5819206259494524`*^9}, 3.5819212348341217`*^9, 3.581921278592199*^9, { 3.5819213324902935`*^9, 3.581921369571559*^9}, {3.5819214013644147`*^9, 3.5819214410820847`*^9}, 3.5819214718297386`*^9, {3.5819215407818594`*^9, 3.5819215852419376`*^9}, 3.581921616379592*^9, 3.581921652665256*^9, 3.581921702772544*^9, 3.581931371307418*^9, {3.581931401977072*^9, 3.5819314267967157`*^9}, 3.581931485281218*^9, {3.5819315236104856`*^9, 3.581931549880932*^9}, {3.5819315986154175`*^9, 3.5819316882843747`*^9}, 3.581931795986964*^9, 3.5819318653446856`*^9, {3.581931897870743*^9, 3.581931942549221*^9}, {3.5819319737960763`*^9, 3.581932026212168*^9}}], Cell[BoxData[ RowBox[{"{", RowBox[{"7.`", ",", "1.`", ",", "1.`", ",", "1.`", ",", "0.`"}], "}"}]], "Output", CellChangeTimes->{ 3.5819198065112133`*^9, 3.581920016768383*^9, 3.5819201224741683`*^9, { 3.5819202086643195`*^9, 3.581920225356349*^9}, {3.581920333558139*^9, 3.581920380342621*^9}, 3.5819205151268578`*^9, {3.581920548464116*^9, 3.5819206259494524`*^9}, 3.5819212348341217`*^9, 3.581921278592199*^9, { 3.5819213324902935`*^9, 3.581921369571559*^9}, {3.5819214013644147`*^9, 3.5819214410820847`*^9}, 3.5819214718297386`*^9, {3.5819215407818594`*^9, 3.5819215852419376`*^9}, 3.581921616379592*^9, 3.581921652665256*^9, 3.581921702772544*^9, 3.581931371307418*^9, {3.581931401977072*^9, 3.5819314267967157`*^9}, 3.581931485281218*^9, {3.5819315236104856`*^9, 3.581931549880932*^9}, {3.5819315986154175`*^9, 3.5819316882843747`*^9}, 3.581931795986964*^9, 3.5819318653446856`*^9, {3.581931897870743*^9, 3.581931942549221*^9}, {3.5819319737960763`*^9, 3.581932026212168*^9}}] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ RowBox[{ RowBox[{"(*", " ", RowBox[{"nucleus", "-", RowBox[{"cloud", " ", "distances"}]}], " ", "*)"}], "\[IndentingNewLine]", RowBox[{ RowBox[{ RowBox[{"dcw", "=", RowBox[{"Table", "[", RowBox[{ RowBox[{ RowBox[{"sq", "=", RowBox[{"Norm", "[", RowBox[{ RowBox[{"tw", "[", RowBox[{"[", "i", "]"}], "]"}], "-", RowBox[{"tv", "[", RowBox[{"[", "j", "]"}], "]"}]}], "]"}]}], ";", RowBox[{"If", "[", RowBox[{ RowBox[{"(", RowBox[{ RowBox[{"sq", ">", " ", "0.1"}], " ", "&&", " ", RowBox[{"i", "\[NotEqual]", "j"}]}], ")"}], ",", RowBox[{"1", "/", "sq"}], ",", "0"}], "]"}]}], ",", RowBox[{"{", RowBox[{"i", ",", "1", ",", "bt"}], "}"}], ",", RowBox[{"{", RowBox[{"j", ",", "1", ",", "bt"}], "}"}]}], "]"}]}], ";"}], "\[IndentingNewLine]", RowBox[{"Length", "[", "dcw", "]"}]}]}]], "Input", CellChangeTimes->{3.5804649749445868`*^9}], Cell[BoxData["5"], "Output", CellChangeTimes->{ 3.5819198065268135`*^9, 3.5819200167839828`*^9, 3.5819201224897685`*^9, { 3.5819202086643195`*^9, 3.581920225371949*^9}, {3.581920333573739*^9, 3.581920380358221*^9}, 3.581920515142458*^9, {3.5819205484797163`*^9, 3.5819206259650526`*^9}, 3.581921234849722*^9, 3.581921278607799*^9, { 3.5819213325058937`*^9, 3.581921369587159*^9}, {3.5819214013800144`*^9, 3.5819214410976844`*^9}, 3.5819214718453383`*^9, {3.5819215407974596`*^9, 3.581921585257538*^9}, 3.581921616395192*^9, 3.5819216526808558`*^9, 3.581921702788144*^9, 3.581931371323018*^9, {3.581931401992672*^9, 3.5819314268123155`*^9}, 3.5819314852968183`*^9, {3.5819315236260853`*^9, 3.5819315498965316`*^9}, {3.581931598631017*^9, 3.581931688299975*^9}, 3.581931796002564*^9, 3.5819318653758855`*^9, {3.5819318979019427`*^9, 3.5819319425804214`*^9}, {3.581931973827276*^9, 3.5819320262277684`*^9}}] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[{ RowBox[{"Elcharge", "=", RowBox[{"Sum", "[", RowBox[{ RowBox[{"ow", "[", RowBox[{"[", "i", "]"}], "]"}], ",", RowBox[{"{", RowBox[{"i", ",", "1", ",", RowBox[{"Length", "[", "ow", "]"}]}], "}"}]}], "]"}]}], "\[IndentingNewLine]", RowBox[{"Length", "[", "ow", "]"}], "\[IndentingNewLine]", RowBox[{"Nuccharge", "=", RowBox[{"Sum", "[", RowBox[{ RowBox[{"cnv", "[", RowBox[{"[", "i", "]"}], "]"}], ",", RowBox[{"{", RowBox[{"i", ",", "1", ",", RowBox[{"Length", "[", "cnv", "]"}]}], "}"}]}], "]"}]}], "\[IndentingNewLine]", RowBox[{"Length", "[", "cnv", "]"}]}], "Input", CellChangeTimes->{3.580489056610564*^9}], Cell[BoxData[ RowBox[{"-", "10.`"}]], "Output", CellChangeTimes->{ 3.5819198065424137`*^9, 3.5819200167995825`*^9, 3.581920122505368*^9, { 3.5819202086799192`*^9, 3.581920225371949*^9}, {3.5819203335893393`*^9, 3.5819203803738213`*^9}, 3.581920515158058*^9, {3.5819205484953165`*^9, 3.581920625980653*^9}, 3.581921234865322*^9, 3.581921278623399*^9, { 3.581921332521494*^9, 3.581921369602759*^9}, {3.5819214013956146`*^9, 3.581921441113284*^9}, 3.581921471860938*^9, {3.58192154081306*^9, 3.5819215852731376`*^9}, 3.5819216164107924`*^9, 3.581921652696456*^9, 3.5819217028037443`*^9, 3.5819313713386183`*^9, {3.581931402008272*^9, 3.5819314268279157`*^9}, 3.581931485312418*^9, {3.5819315236416855`*^9, 3.5819315499121313`*^9}, {3.581931598646617*^9, 3.5819316883155746`*^9}, 3.5819317960181637`*^9, 3.5819318653914857`*^9, {3.5819318979175425`*^9, 3.5819319425960217`*^9}, {3.581931973827276*^9, 3.581932026243368*^9}}], Cell[BoxData["5"], "Output", CellChangeTimes->{ 3.5819198065424137`*^9, 3.5819200167995825`*^9, 3.581920122505368*^9, { 3.5819202086799192`*^9, 3.581920225371949*^9}, {3.5819203335893393`*^9, 3.5819203803738213`*^9}, 3.581920515158058*^9, {3.5819205484953165`*^9, 3.581920625980653*^9}, 3.581921234865322*^9, 3.581921278623399*^9, { 3.581921332521494*^9, 3.581921369602759*^9}, {3.5819214013956146`*^9, 3.581921441113284*^9}, 3.581921471860938*^9, {3.58192154081306*^9, 3.5819215852731376`*^9}, 3.5819216164107924`*^9, 3.581921652696456*^9, 3.5819217028037443`*^9, 3.5819313713386183`*^9, {3.581931402008272*^9, 3.5819314268279157`*^9}, 3.581931485312418*^9, {3.5819315236416855`*^9, 3.5819315499121313`*^9}, {3.581931598646617*^9, 3.5819316883155746`*^9}, 3.5819317960181637`*^9, 3.5819318653914857`*^9, {3.5819318979175425`*^9, 3.5819319425960217`*^9}, {3.581931973827276*^9, 3.581932026243368*^9}}], Cell[BoxData["10.`"], "Output", CellChangeTimes->{ 3.5819198065424137`*^9, 3.5819200167995825`*^9, 3.581920122505368*^9, { 3.5819202086799192`*^9, 3.581920225371949*^9}, {3.5819203335893393`*^9, 3.5819203803738213`*^9}, 3.581920515158058*^9, {3.5819205484953165`*^9, 3.581920625980653*^9}, 3.581921234865322*^9, 3.581921278623399*^9, { 3.581921332521494*^9, 3.581921369602759*^9}, {3.5819214013956146`*^9, 3.581921441113284*^9}, 3.581921471860938*^9, {3.58192154081306*^9, 3.5819215852731376`*^9}, 3.5819216164107924`*^9, 3.581921652696456*^9, 3.5819217028037443`*^9, 3.5819313713386183`*^9, {3.581931402008272*^9, 3.5819314268279157`*^9}, 3.581931485312418*^9, {3.5819315236416855`*^9, 3.5819315499121313`*^9}, {3.581931598646617*^9, 3.5819316883155746`*^9}, 3.5819317960181637`*^9, 3.5819318653914857`*^9, {3.5819318979175425`*^9, 3.5819319425960217`*^9}, {3.581931973827276*^9, 3.5819320262589684`*^9}}], Cell[BoxData["5"], "Output", CellChangeTimes->{ 3.5819198065424137`*^9, 3.5819200167995825`*^9, 3.581920122505368*^9, { 3.5819202086799192`*^9, 3.581920225371949*^9}, {3.5819203335893393`*^9, 3.5819203803738213`*^9}, 3.581920515158058*^9, {3.5819205484953165`*^9, 3.581920625980653*^9}, 3.581921234865322*^9, 3.581921278623399*^9, { 3.581921332521494*^9, 3.581921369602759*^9}, {3.5819214013956146`*^9, 3.581921441113284*^9}, 3.581921471860938*^9, {3.58192154081306*^9, 3.5819215852731376`*^9}, 3.5819216164107924`*^9, 3.581921652696456*^9, 3.5819217028037443`*^9, 3.5819313713386183`*^9, {3.581931402008272*^9, 3.5819314268279157`*^9}, 3.581931485312418*^9, {3.5819315236416855`*^9, 3.5819315499121313`*^9}, {3.581931598646617*^9, 3.5819316883155746`*^9}, 3.5819317960181637`*^9, 3.5819318653914857`*^9, {3.5819318979175425`*^9, 3.5819319425960217`*^9}, {3.581931973827276*^9, 3.5819320262589684`*^9}}] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[{ RowBox[{ RowBox[{"Vee", "=", "0.0"}], ";"}], "\[IndentingNewLine]", RowBox[{"For", "[", RowBox[{ RowBox[{"i", "=", "1"}], ",", RowBox[{"i", "<", "bt"}], ",", RowBox[{"i", "++"}], ",", "\[IndentingNewLine]", RowBox[{"For", "[", RowBox[{ RowBox[{"j", "=", RowBox[{"i", "+", "1"}]}], ",", RowBox[{"j", "\[LessEqual]", "bt"}], ",", RowBox[{"j", "++"}], ",", "\[IndentingNewLine]", RowBox[{"Vee", "=", RowBox[{"Vee", "+", RowBox[{ RowBox[{"ow", "[", RowBox[{"[", "i", "]"}], "]"}], "*", RowBox[{ RowBox[{"ow", "[", RowBox[{"[", "j", "]"}], "]"}], "/", RowBox[{"dw", "[", RowBox[{"[", RowBox[{"i", ",", "j"}], "]"}], "]"}]}]}]}]}]}], "]"}]}], "]"}], "\[IndentingNewLine]", "Vee", "\[IndentingNewLine]", RowBox[{ RowBox[{"sc", "=", StyleBox["0.3488", FontColor->RGBColor[1, 0, 0]]}], ";", " ", RowBox[{"(*", " ", RowBox[{"core", " ", "clouds"}], " ", "*)"}], "\[IndentingNewLine]", RowBox[{"For", "[", RowBox[{ RowBox[{"i", "=", "1"}], " ", ",", RowBox[{"i", "\[LessEqual]", "bc"}], ",", RowBox[{"i", "++"}], ",", RowBox[{"Vee", "=", RowBox[{"Vee", "+", RowBox[{"3", "*", RowBox[{"sc", "/", RowBox[{"u2", "[", RowBox[{"[", "i", "]"}], "]"}]}]}]}]}]}], "]"}]}], "\[IndentingNewLine]", RowBox[{ RowBox[{"sw", "=", StyleBox["0.3488", FontColor->RGBColor[1, 0, 0]]}], ";", " ", RowBox[{"(*", " ", RowBox[{"bonding", " ", "clouds"}], " ", "*)"}], "\[IndentingNewLine]", RowBox[{"For", "[", RowBox[{ RowBox[{"i", "=", "1"}], " ", ",", RowBox[{"i", "\[LessEqual]", "nb"}], ",", RowBox[{"i", "++"}], ",", RowBox[{"Vee", "=", RowBox[{"Vee", "+", RowBox[{"3", "*", RowBox[{"sw", "/", RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "3"}], "]"}], "]"}]}]}]}]}]}], "]"}]}], "\[IndentingNewLine]", RowBox[{"Vee", "=", RowBox[{"Vee", "+", RowBox[{"3", "*", RowBox[{"sw", "/", "rln"}]}]}]}], "\[IndentingNewLine]", "Vee"}], "Input", CellChangeTimes->{{3.5804618141918354`*^9, 3.580461913283209*^9}, 3.5804623255451336`*^9, {3.5804628735428963`*^9, 3.5804628958041353`*^9}, 3.580476850943878*^9, {3.580477105068324*^9, 3.5804771083443303`*^9}, { 3.5804771721796427`*^9, 3.5804771783728533`*^9}, {3.5804772740010214`*^9, 3.5804772770274267`*^9}, {3.580482892684083*^9, 3.5804828962564898`*^9}, { 3.580482954194991*^9, 3.5804829592026*^9}, {3.5804831929846106`*^9, 3.580483196182616*^9}, {3.5804872622642126`*^9, 3.5804872631222143`*^9}, { 3.5804873217939167`*^9, 3.580487322527118*^9}, {3.5804873526819715`*^9, 3.5804873772676144`*^9}, {3.580487884424505*^9, 3.5804878847053056`*^9}, 3.5804890446921434`*^9, {3.580622257965257*^9, 3.580622261210063*^9}, { 3.5806223411134033`*^9, 3.580622378725069*^9}, {3.5806224544944024`*^9, 3.5806224929172697`*^9}, {3.5806225414489555`*^9, 3.5806225448029613`*^9}, {3.5806230023205643`*^9, 3.580623005799371*^9}, { 3.580623383101633*^9, 3.580623389170044*^9}, {3.580623584887988*^9, 3.580623618568447*^9}, {3.581919849114888*^9, 3.5819198617977104`*^9}, { 3.5819213195266705`*^9, 3.581921348761122*^9}, {3.5819213915675974`*^9, 3.5819213966532063`*^9}, {3.581921532482645*^9, 3.5819215357118506`*^9}, { 3.581921576911523*^9, 3.581921610919583*^9}, {3.581931513876068*^9, 3.5819315452789235`*^9}, {3.5819315930930076`*^9, 3.581931684431168*^9}, { 3.5819318585118732`*^9, 3.581931861210678*^9}, {3.5819318914747314`*^9, 3.5819318939551363`*^9}}], Cell[BoxData["22.448907086329864`"], "Output", CellChangeTimes->{ 3.581919806558014*^9, 3.5819200167995825`*^9, 3.5819201225209684`*^9, { 3.5819202086955194`*^9, 3.581920225403149*^9}, {3.5819203336049395`*^9, 3.5819203803894215`*^9}, 3.581920515173658*^9, {3.5819205485109167`*^9, 3.5819206260118527`*^9}, 3.5819212348965225`*^9, 3.581921278638999*^9, { 3.5819213325370936`*^9, 3.5819213696183586`*^9}, {3.581921401411215*^9, 3.5819214411288843`*^9}, 3.5819214718921385`*^9, {3.5819215408286595`*^9, 3.5819215852887373`*^9}, 3.5819216164419923`*^9, 3.581921652727656*^9, 3.581921702819344*^9, 3.581931371354218*^9, {3.581931402039472*^9, 3.5819314268591156`*^9}, 3.581931485328018*^9, {3.5819315237040854`*^9, 3.5819315499277315`*^9}, {3.581931598662217*^9, 3.581931688331175*^9}, 3.581931796033764*^9, 3.581931865407086*^9, {3.5819318979331427`*^9, 3.5819319426116214`*^9}, {3.5819319738584766`*^9, 3.5819320262745686`*^9}}], Cell[BoxData["30.941118658118988`"], "Output", CellChangeTimes->{ 3.581919806558014*^9, 3.5819200167995825`*^9, 3.5819201225209684`*^9, { 3.5819202086955194`*^9, 3.581920225403149*^9}, {3.5819203336049395`*^9, 3.5819203803894215`*^9}, 3.581920515173658*^9, {3.5819205485109167`*^9, 3.5819206260118527`*^9}, 3.5819212348965225`*^9, 3.581921278638999*^9, { 3.5819213325370936`*^9, 3.5819213696183586`*^9}, {3.581921401411215*^9, 3.5819214411288843`*^9}, 3.5819214718921385`*^9, {3.5819215408286595`*^9, 3.5819215852887373`*^9}, 3.5819216164419923`*^9, 3.581921652727656*^9, 3.581921702819344*^9, 3.581931371354218*^9, {3.581931402039472*^9, 3.5819314268591156`*^9}, 3.581931485328018*^9, {3.5819315237040854`*^9, 3.5819315499277315`*^9}, {3.581931598662217*^9, 3.581931688331175*^9}, 3.581931796033764*^9, 3.581931865407086*^9, {3.5819318979331427`*^9, 3.5819319426116214`*^9}, {3.5819319738584766`*^9, 3.5819320262745686`*^9}}], Cell[BoxData["30.941118658118988`"], "Output", CellChangeTimes->{ 3.581919806558014*^9, 3.5819200167995825`*^9, 3.5819201225209684`*^9, { 3.5819202086955194`*^9, 3.581920225403149*^9}, {3.5819203336049395`*^9, 3.5819203803894215`*^9}, 3.581920515173658*^9, {3.5819205485109167`*^9, 3.5819206260118527`*^9}, 3.5819212348965225`*^9, 3.581921278638999*^9, { 3.5819213325370936`*^9, 3.5819213696183586`*^9}, {3.581921401411215*^9, 3.5819214411288843`*^9}, 3.5819214718921385`*^9, {3.5819215408286595`*^9, 3.5819215852887373`*^9}, 3.5819216164419923`*^9, 3.581921652727656*^9, 3.581921702819344*^9, 3.581931371354218*^9, {3.581931402039472*^9, 3.5819314268591156`*^9}, 3.581931485328018*^9, {3.5819315237040854`*^9, 3.5819315499277315`*^9}, {3.581931598662217*^9, 3.581931688331175*^9}, 3.581931796033764*^9, 3.581931865407086*^9, {3.5819318979331427`*^9, 3.5819319426116214`*^9}, {3.5819319738584766`*^9, 3.5819320262745686`*^9}}] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ RowBox[{ RowBox[{"(*", " ", RowBox[{ RowBox[{"all", " ", "nuclei", " ", "with", " ", "all", " ", "clouds"}], ",", " ", RowBox[{ RowBox[{"except", " ", "i"}], " ", "=", " ", "j"}]}], " ", "*)"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"Vne", "=", RowBox[{"cnv", ".", RowBox[{"(", RowBox[{"ow", ".", "dcw"}], ")"}]}]}], "\[IndentingNewLine]", RowBox[{"For", "[", RowBox[{ RowBox[{"i", "=", "1"}], ",", RowBox[{"i", "\[LessEqual]", "bc"}], ",", RowBox[{"i", "++"}], ",", RowBox[{"Vne", "=", RowBox[{"Vne", "-", RowBox[{ StyleBox["3.0", FontColor->RGBColor[1, 0, 0]], "*", RowBox[{ RowBox[{"cn", "[", RowBox[{"[", "i", "]"}], "]"}], "/", RowBox[{"u2", "[", RowBox[{"[", "i", "]"}], "]"}]}]}]}]}]}], "]"}], "\[IndentingNewLine]", "Vne"}]}]], "Input", CellChangeTimes->{{3.5804618141918354`*^9, 3.580461913283209*^9}, { 3.5804623255451336`*^9, 3.5804623320503445`*^9}, 3.5804623790064273`*^9, 3.5804648933564434`*^9, {3.580486684704398*^9, 3.5804866854531994`*^9}, 3.5804867335324836`*^9, {3.580486767821344*^9, 3.5804868108774195`*^9}, { 3.5804868414066734`*^9, 3.5804868626539106`*^9}, {3.580487002024555*^9, 3.5804870027109566`*^9}, 3.580487037218217*^9, {3.580487070789476*^9, 3.5804870718814783`*^9}, {3.5804874240520964`*^9, 3.580487452054146*^9}, { 3.580487501646633*^9, 3.5804875425967045`*^9}, {3.580487596245199*^9, 3.5804878336464157`*^9}, 3.5804879072785454`*^9, 3.5806228673959274`*^9, { 3.580622903821992*^9, 3.580622904133992*^9}, {3.5806229371124496`*^9, 3.580622962181694*^9}, {3.580623418685296*^9, 3.580623468745784*^9}, { 3.5806235308650928`*^9, 3.5806235316294947`*^9}, {3.5806236760545483`*^9, 3.580623676772149*^9}, 3.5806237132606134`*^9, {3.5806237775483265`*^9, 3.580623778655928*^9}, 3.5806238112911854`*^9, 3.5806238549244623`*^9, { 3.581919900282978*^9, 3.581919900984979*^9}, {3.5819203545557756`*^9, 3.581920375444213*^9}, {3.581920506156842*^9, 3.581920507732445*^9}, { 3.581920542536106*^9, 3.5819206207234435`*^9}, {3.58192136462635*^9, 3.5819213648135505`*^9}}], Cell[BoxData[ RowBox[{"-", "50.75237693226853`"}]], "Output", CellChangeTimes->{ 3.5819198065736136`*^9, 3.5819200168151827`*^9, 3.5819201225365686`*^9, { 3.5819202087111197`*^9, 3.581920225403149*^9}, {3.581920333620539*^9, 3.5819203804050217`*^9}, 3.581920515189258*^9, {3.581920548526517*^9, 3.5819206260274525`*^9}, 3.5819212349121222`*^9, 3.581921278654599*^9, { 3.5819213325526934`*^9, 3.581921369633959*^9}, {3.581921401426815*^9, 3.5819214411600847`*^9}, 3.5819214719077387`*^9, {3.5819215408442593`*^9, 3.5819215853199377`*^9}, 3.5819216164575925`*^9, 3.581921652743256*^9, 3.581921702834944*^9, 3.5819313713698177`*^9, {3.581931402055072*^9, 3.581931426874716*^9}, 3.5819314853436184`*^9, {3.5819315237196856`*^9, 3.581931549958932*^9}, {3.5819315986934175`*^9, 3.581931688362375*^9}, 3.581931796049364*^9, 3.5819318654226856`*^9, {3.581931897948743*^9, 3.5819319426428213`*^9}, {3.5819319738740764`*^9, 3.5819320262901683`*^9}}], Cell[BoxData[ RowBox[{"-", "148.3269517859067`"}]], "Output", CellChangeTimes->{ 3.5819198065736136`*^9, 3.5819200168151827`*^9, 3.5819201225365686`*^9, { 3.5819202087111197`*^9, 3.581920225403149*^9}, {3.581920333620539*^9, 3.5819203804050217`*^9}, 3.581920515189258*^9, {3.581920548526517*^9, 3.5819206260274525`*^9}, 3.5819212349121222`*^9, 3.581921278654599*^9, { 3.5819213325526934`*^9, 3.581921369633959*^9}, {3.581921401426815*^9, 3.5819214411600847`*^9}, 3.5819214719077387`*^9, {3.5819215408442593`*^9, 3.5819215853199377`*^9}, 3.5819216164575925`*^9, 3.581921652743256*^9, 3.581921702834944*^9, 3.5819313713698177`*^9, {3.581931402055072*^9, 3.581931426874716*^9}, 3.5819314853436184`*^9, {3.5819315237196856`*^9, 3.581931549958932*^9}, {3.5819315986934175`*^9, 3.581931688362375*^9}, 3.581931796049364*^9, 3.5819318654226856`*^9, {3.581931897948743*^9, 3.5819319426428213`*^9}, {3.5819319738740764`*^9, 3.5819320263057685`*^9}}] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[{ RowBox[{"For", "[", RowBox[{ RowBox[{"i", "=", RowBox[{"cw", "+", "1"}]}], ",", RowBox[{"i", "\[LessEqual]", "nb"}], ",", RowBox[{"i", "++"}], ",", RowBox[{"Vne", "=", RowBox[{"Vne", "-", RowBox[{ RowBox[{"(", RowBox[{"3", "-", RowBox[{ RowBox[{"(", RowBox[{ RowBox[{"u2", "[", RowBox[{"[", RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "1"}], "]"}], "]"}], "]"}], "]"}], "/", RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "3"}], "]"}], "]"}]}], ")"}], "^", "2"}]}], ")"}], "/", RowBox[{"a", "[", RowBox[{"[", RowBox[{"i", ",", "3"}], "]"}], "]"}]}]}]}]}], "]"}], "\[IndentingNewLine]", "Vne"}], "Input", CellChangeTimes->{{3.580461986228937*^9, 3.5804620091453776`*^9}, { 3.5804624463517456`*^9, 3.580462451655755*^9}, 3.5804648450587587`*^9, 3.580464883887227*^9}], Cell[BoxData[ RowBox[{"-", "155.5335607287605`"}]], "Output", CellChangeTimes->{ 3.5819198065736136`*^9, 3.581920016830783*^9, 3.5819201225521684`*^9, { 3.58192020872672*^9, 3.581920225418749*^9}, {3.581920333636139*^9, 3.5819203804206214`*^9}, 3.581920515204858*^9, {3.581920548542117*^9, 3.5819206260274525`*^9}, 3.5819212349277225`*^9, 3.5819212786701994`*^9, { 3.5819213325682936`*^9, 3.581921369649559*^9}, {3.5819214014424148`*^9, 3.5819214411756845`*^9}, 3.5819214719233384`*^9, {3.5819215408598595`*^9, 3.581921585335538*^9}, 3.581921616473192*^9, 3.581921652758856*^9, 3.581921702850544*^9, 3.581931371385418*^9, {3.581931402070672*^9, 3.5819314268903155`*^9}, 3.5819314853592186`*^9, {3.5819315237352858`*^9, 3.581931549974532*^9}, {3.5819315986934175`*^9, 3.5819316883779745`*^9}, 3.5819317960649643`*^9, 3.581931865438286*^9, {3.581931897964343*^9, 3.5819319426584215`*^9}, {3.5819319739052763`*^9, 3.5819320263057685`*^9}}] }, Open ]], Cell[BoxData[ RowBox[{"(*", " ", RowBox[{"nucleus", "-", "nucleus"}], " ", "*)"}]], "Input", CellChangeTimes->{{3.580461986228937*^9, 3.5804620091453776`*^9}, { 3.5804624463517456`*^9, 3.580462451655755*^9}, {3.5804648450587587`*^9, 3.5804648790824184`*^9}}], Cell[CellGroupData[{ Cell[BoxData[{ RowBox[{ RowBox[{"Vnn", "=", "0.0"}], ";"}], "\[IndentingNewLine]", RowBox[{"For", "[", RowBox[{ RowBox[{"i", "=", "1"}], ",", RowBox[{"i", "<", "n"}], ",", RowBox[{"i", "++"}], ",", "\[IndentingNewLine]", RowBox[{"For", "[", RowBox[{ RowBox[{"j", "=", RowBox[{"i", "+", "1"}]}], ",", RowBox[{"j", "<", RowBox[{"n", "+", "1"}]}], ",", RowBox[{"j", "++"}], ",", RowBox[{"Vnn", "=", RowBox[{"Vnn", "+", RowBox[{ RowBox[{"cn", "[", RowBox[{"[", "i", "]"}], "]"}], "*", RowBox[{ RowBox[{"cn", "[", RowBox[{"[", "j", "]"}], "]"}], "/", RowBox[{"dc", "[", RowBox[{"[", RowBox[{"i", ",", "j"}], "]"}], "]"}]}]}]}]}]}], "]"}]}], "]"}], "\[IndentingNewLine]", "Vnn"}], "Input", CellChangeTimes->{{3.580461986228937*^9, 3.5804620091453776`*^9}, { 3.5804624463517456`*^9, 3.580462451655755*^9}, {3.5804648450587587`*^9, 3.580464866945597*^9}}], Cell[BoxData["11.901463515165869`"], "Output", CellChangeTimes->{ 3.5819198065892134`*^9, 3.581920016846383*^9, 3.581920122567768*^9, { 3.58192020874232*^9, 3.581920225434349*^9}, {3.581920333651739*^9, 3.581920380436221*^9}, 3.581920515204858*^9, {3.581920548557717*^9, 3.5819206260430527`*^9}, 3.581921234943322*^9, 3.581921278685799*^9, { 3.581921332583894*^9, 3.5819213696651587`*^9}, {3.5819214014580145`*^9, 3.581921441191284*^9}, 3.581921471938938*^9, {3.5819215408754597`*^9, 3.581921585335538*^9}, 3.5819216164887924`*^9, 3.581921652774456*^9, 3.581921702866144*^9, 3.581931371401018*^9, {3.5819314020862722`*^9, 3.5819314269059153`*^9}, 3.5819314853748183`*^9, {3.5819315237508855`*^9, 3.581931549990132*^9}, {3.5819315987090178`*^9, 3.5819316883935747`*^9}, 3.581931796080564*^9, 3.581931865453886*^9, {3.5819318979799433`*^9, 3.5819319426740217`*^9}, {3.5819319739208765`*^9, 3.581932026321368*^9}}] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ RowBox[{"ratio", "=", RowBox[{ RowBox[{"-", RowBox[{"(", RowBox[{"Vne", "+", RowBox[{"2", "*", "Vnn"}]}], ")"}]}], "/", RowBox[{"(", RowBox[{"Vee", "-", "Vnn"}], ")"}]}]}]], "Input", CellChangeTimes->{{3.580461986228937*^9, 3.5804620091453776`*^9}, { 3.5804624463517456`*^9, 3.580462451655755*^9}, {3.5804648450587587`*^9, 3.580464857866381*^9}}], Cell[BoxData["6.918751033533524`"], "Output", CellChangeTimes->{ 3.5819198066048136`*^9, 3.581920016861983*^9, 3.581920122567768*^9, { 3.58192020874232*^9, 3.5819202254499493`*^9}, {3.5819203336673393`*^9, 3.5819203804518213`*^9}, 3.581920515220458*^9, {3.5819205485733166`*^9, 3.581920626058653*^9}, 3.5819212349589224`*^9, 3.581921278701399*^9, { 3.581921332599494*^9, 3.5819213696807585`*^9}, {3.5819214014736147`*^9, 3.5819214412068844`*^9}, 3.5819214719545383`*^9, {3.58192154089106*^9, 3.5819215853511376`*^9}, 3.5819216165043926`*^9, 3.581921652790056*^9, 3.5819217028817444`*^9, 3.5819313714166183`*^9, {3.581931402101872*^9, 3.5819314269215155`*^9}, 3.581931485390418*^9, {3.5819315237664857`*^9, 3.5819315500057316`*^9}, {3.5819315987246175`*^9, 3.581931688409175*^9}, 3.5819317960961637`*^9, 3.581931865469486*^9, {3.581931897995543*^9, 3.581931942689622*^9}, {3.5819319739364767`*^9, 3.5819320263369684`*^9}}] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ RowBox[{"ratiomp2", "=", RowBox[{ RowBox[{"-", RowBox[{"(", RowBox[{ RowBox[{"-", "155.6621124"}], "+", RowBox[{"2", "*", "11.9014636"}]}], ")"}]}], "/", RowBox[{"(", RowBox[{"31.1706102", "-", "11.9014636"}], ")"}]}]}]], "Input", CellChangeTimes->{{3.580461986228937*^9, 3.5804620091453776`*^9}, { 3.5804624463517456`*^9, 3.580462451655755*^9}, {3.5804648450587587`*^9, 3.580464857866381*^9}, {3.5804657856624107`*^9, 3.580465868716957*^9}, { 3.58052513033449*^9, 3.580525195386604*^9}, {3.580526224146565*^9, 3.5805263240959406`*^9}, {3.580533563696274*^9, 3.580533628046387*^9}, { 3.5805336590436416`*^9, 3.580533659995243*^9}, {3.5806213276576233`*^9, 3.5806213282504244`*^9}, {3.5819204074086685`*^9, 3.581920480401197*^9}}], Cell[BoxData["6.843021537860945`"], "Output", CellChangeTimes->{ 3.581919806620414*^9, 3.581920016861983*^9, 3.5819201225833683`*^9, { 3.5819202087579203`*^9, 3.5819202254655495`*^9}, {3.5819203336829395`*^9, 3.5819203804674215`*^9}, 3.581920515236058*^9, {3.581920548588917*^9, 3.581920626074253*^9}, 3.5819212349589224`*^9, 3.581921278716999*^9, { 3.581921332599494*^9, 3.5819213696807585`*^9}, {3.581921401489215*^9, 3.5819214412068844`*^9}, 3.5819214719545383`*^9, {3.5819215409066596`*^9, 3.581921585366738*^9}, 3.5819216165043926`*^9, 3.5819216528056564`*^9, 3.581921702897344*^9, 3.5819313714322186`*^9, {3.5819314021174717`*^9, 3.5819314269371157`*^9}, 3.5819314854060183`*^9, {3.581931523782086*^9, 3.5819315500057316`*^9}, {3.581931598740217*^9, 3.581931688424775*^9}, 3.581931796111764*^9, 3.581931865485086*^9, {3.581931898011143*^9, 3.5819319427052217`*^9}, {3.5819319739520764`*^9, 3.5819320263525686`*^9}}] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ RowBox[{"\[IndentingNewLine]", RowBox[{ "Vee", "\[IndentingNewLine]", "Vnn", "\[IndentingNewLine]", "Vne", "\[IndentingNewLine]", RowBox[{"Tlp", " ", "=", RowBox[{ StyleBox["1.59", FontColor->RGBColor[1, 0, 0]], "*", RowBox[{"2.25", "/", RowBox[{"rln", "^", "2"}]}]}]}]}]}]], "Input", CellChangeTimes->{{3.5804620346046224`*^9, 3.5804620359462247`*^9}, { 3.580462097113932*^9, 3.5804620981435337`*^9}, 3.580462151105627*^9, { 3.5804763243493533`*^9, 3.580476329840563*^9}, {3.580476444937565*^9, 3.580476458634389*^9}, {3.58047649332885*^9, 3.580476496043255*^9}, 3.5804767076888266`*^9, {3.58047745555414*^9, 3.5804774557413406`*^9}, 3.580483254167918*^9, {3.5804834637194357`*^9, 3.580483464452637*^9}, { 3.580486296076515*^9, 3.5804864867556505`*^9}, {3.5804868827935457`*^9, 3.5804869648652897`*^9}, {3.580487096810322*^9, 3.5804871692724495`*^9}, { 3.5804886599642673`*^9, 3.5804886611810694`*^9}, {3.580488733908397*^9, 3.5804887603348436`*^9}, {3.5804887932197013`*^9, 3.5804888678658323`*^9}, {3.580488905711499*^9, 3.5804889063667*^9}, 3.5806222929561186`*^9, {3.580622404231114*^9, 3.580622425166351*^9}, 3.580622513587306*^9, {3.5806225751606145`*^9, 3.5806225758626156`*^9}, { 3.580623056265459*^9, 3.5806230569674606`*^9}, 3.580623087886715*^9, { 3.580623139132805*^9, 3.5806231663236523`*^9}, {3.580623197944908*^9, 3.580623217819343*^9}, {3.5806233326979446`*^9, 3.5806233335871463`*^9}, { 3.58191872406435*^9, 3.581918738197975*^9}, 3.5819196404645214`*^9, 3.581921229935714*^9, {3.5819212715253863`*^9, 3.5819212726641884`*^9}, { 3.581921419866047*^9, 3.581921466556929*^9}, {3.5819215532618814`*^9, 3.5819215537766824`*^9}, 3.5819216479072475`*^9, 3.5819216983421364`*^9, { 3.5819313972034636`*^9, 3.581931417249499*^9}, {3.5819314782144055`*^9, 3.581931480164409*^9}, {3.581931919648381*^9, 3.581932022015761*^9}}], Cell[BoxData["30.941118658118988`"], "Output", CellChangeTimes->{ 3.5819198066360135`*^9, 3.5819200168775826`*^9, 3.5819201225989685`*^9, { 3.58192020877352*^9, 3.581920225481149*^9}, {3.5819203336829395`*^9, 3.5819203804830217`*^9}, 3.5819205152516584`*^9, {3.581920548588917*^9, 3.581920626089853*^9}, 3.5819212349745226`*^9, 3.581921278716999*^9, { 3.5819213326150937`*^9, 3.5819213696963587`*^9}, {3.581921401504815*^9, 3.5819214412224846`*^9}, 3.5819214719701385`*^9, {3.5819215409222593`*^9, 3.5819215853823376`*^9}, 3.5819216165199924`*^9, 3.581921652821256*^9, 3.5819217029129443`*^9, 3.5819313714322186`*^9, {3.581931402133072*^9, 3.581931426952716*^9}, 3.5819314854216185`*^9, {3.581931523782086*^9, 3.581931550021332*^9}, {3.5819315987558174`*^9, 3.581931688424775*^9}, 3.581931796127364*^9, 3.5819318655006857`*^9, {3.581931898026743*^9, 3.5819319427208214`*^9}, {3.581931973967676*^9, 3.5819320263681684`*^9}}], Cell[BoxData["11.901463515165869`"], "Output", CellChangeTimes->{ 3.5819198066360135`*^9, 3.5819200168775826`*^9, 3.5819201225989685`*^9, { 3.58192020877352*^9, 3.581920225481149*^9}, {3.5819203336829395`*^9, 3.5819203804830217`*^9}, 3.5819205152516584`*^9, {3.581920548588917*^9, 3.581920626089853*^9}, 3.5819212349745226`*^9, 3.581921278716999*^9, { 3.5819213326150937`*^9, 3.5819213696963587`*^9}, {3.581921401504815*^9, 3.5819214412224846`*^9}, 3.5819214719701385`*^9, {3.5819215409222593`*^9, 3.5819215853823376`*^9}, 3.5819216165199924`*^9, 3.581921652821256*^9, 3.5819217029129443`*^9, 3.5819313714322186`*^9, {3.581931402133072*^9, 3.581931426952716*^9}, 3.5819314854216185`*^9, {3.581931523782086*^9, 3.581931550021332*^9}, {3.5819315987558174`*^9, 3.581931688424775*^9}, 3.581931796127364*^9, 3.5819318655006857`*^9, {3.581931898026743*^9, 3.5819319427208214`*^9}, {3.581931973967676*^9, 3.5819320263681684`*^9}}], Cell[BoxData[ RowBox[{"-", "155.5335607287605`"}]], "Output", CellChangeTimes->{ 3.5819198066360135`*^9, 3.5819200168775826`*^9, 3.5819201225989685`*^9, { 3.58192020877352*^9, 3.581920225481149*^9}, {3.5819203336829395`*^9, 3.5819203804830217`*^9}, 3.5819205152516584`*^9, {3.581920548588917*^9, 3.581920626089853*^9}, 3.5819212349745226`*^9, 3.581921278716999*^9, { 3.5819213326150937`*^9, 3.5819213696963587`*^9}, {3.581921401504815*^9, 3.5819214412224846`*^9}, 3.5819214719701385`*^9, {3.5819215409222593`*^9, 3.5819215853823376`*^9}, 3.5819216165199924`*^9, 3.581921652821256*^9, 3.5819217029129443`*^9, 3.5819313714322186`*^9, {3.581931402133072*^9, 3.581931426952716*^9}, 3.5819314854216185`*^9, {3.581931523782086*^9, 3.581931550021332*^9}, {3.5819315987558174`*^9, 3.581931688424775*^9}, 3.581931796127364*^9, 3.5819318655006857`*^9, {3.581931898026743*^9, 3.5819319427208214`*^9}, {3.581931973967676*^9, 3.581932026383768*^9}}], Cell[BoxData["2.686383583286527`"], "Output", CellChangeTimes->{ 3.5819198066360135`*^9, 3.5819200168775826`*^9, 3.5819201225989685`*^9, { 3.58192020877352*^9, 3.581920225481149*^9}, {3.5819203336829395`*^9, 3.5819203804830217`*^9}, 3.5819205152516584`*^9, {3.581920548588917*^9, 3.581920626089853*^9}, 3.5819212349745226`*^9, 3.581921278716999*^9, { 3.5819213326150937`*^9, 3.5819213696963587`*^9}, {3.581921401504815*^9, 3.5819214412224846`*^9}, 3.5819214719701385`*^9, {3.5819215409222593`*^9, 3.5819215853823376`*^9}, 3.5819216165199924`*^9, 3.581921652821256*^9, 3.5819217029129443`*^9, 3.5819313714322186`*^9, {3.581931402133072*^9, 3.581931426952716*^9}, 3.5819314854216185`*^9, {3.581931523782086*^9, 3.581931550021332*^9}, {3.5819315987558174`*^9, 3.581931688424775*^9}, 3.581931796127364*^9, 3.5819318655006857`*^9, {3.581931898026743*^9, 3.5819319427208214`*^9}, {3.581931973967676*^9, 3.581932026383768*^9}}] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[{ RowBox[{"Vtot", "=", RowBox[{"Vne", "+", "Vee", "+", "Vnn"}]}], "\[IndentingNewLine]", RowBox[{"Ttot", " ", "=", RowBox[{"Ttot", "+", "Tlp"}]}], "\[IndentingNewLine]", RowBox[{"Vir", " ", "=", RowBox[{ RowBox[{"-", "Vtot"}], "/", "Ttot"}]}], "\[IndentingNewLine]", RowBox[{"Etot", "=", RowBox[{"Ttot", "+", "Vtot"}]}]}], "Input", CellChangeTimes->{ 3.580462058613065*^9, {3.5804621657228527`*^9, 3.580462173351266*^9}}], Cell[BoxData[ RowBox[{"-", "112.69097855547564`"}]], "Output", CellChangeTimes->{ 3.5819198066516137`*^9, 3.5819200168931828`*^9, 3.5819201226145687`*^9, { 3.5819202087891197`*^9, 3.581920225496749*^9}, {3.5819203336985393`*^9, 3.581920380498622*^9}, 3.581920515267258*^9, {3.5819205486201167`*^9, 3.5819206261054525`*^9}, 3.5819212349901223`*^9, 3.5819212787481995`*^9, { 3.581921332630694*^9, 3.581921369711959*^9}, {3.581921401520415*^9, 3.581921441238085*^9}, 3.5819214719857388`*^9, {3.5819215409378595`*^9, 3.581921585397938*^9}, 3.5819216165511923`*^9, 3.5819216528368564`*^9, 3.581921702928544*^9, 3.581931371463418*^9, {3.581931402148672*^9, 3.5819314269683156`*^9}, 3.5819314854372187`*^9, {3.581931523813286*^9, 3.581931550052532*^9}, {3.5819315987714176`*^9, 3.581931688455975*^9}, 3.581931796142964*^9, 3.581931865516286*^9, {3.581931898042343*^9, 3.5819319427364216`*^9}, {3.5819319739832764`*^9, 3.5819320263993683`*^9}}], Cell[BoxData["56.342363282528154`"], "Output", CellChangeTimes->{ 3.5819198066516137`*^9, 3.5819200168931828`*^9, 3.5819201226145687`*^9, { 3.5819202087891197`*^9, 3.581920225496749*^9}, {3.5819203336985393`*^9, 3.581920380498622*^9}, 3.581920515267258*^9, {3.5819205486201167`*^9, 3.5819206261054525`*^9}, 3.5819212349901223`*^9, 3.5819212787481995`*^9, { 3.581921332630694*^9, 3.581921369711959*^9}, {3.581921401520415*^9, 3.581921441238085*^9}, 3.5819214719857388`*^9, {3.5819215409378595`*^9, 3.581921585397938*^9}, 3.5819216165511923`*^9, 3.5819216528368564`*^9, 3.581921702928544*^9, 3.581931371463418*^9, {3.581931402148672*^9, 3.5819314269683156`*^9}, 3.5819314854372187`*^9, {3.581931523813286*^9, 3.581931550052532*^9}, {3.5819315987714176`*^9, 3.581931688455975*^9}, 3.581931796142964*^9, 3.581931865516286*^9, {3.581931898042343*^9, 3.5819319427364216`*^9}, {3.5819319739832764`*^9, 3.5819320263993683`*^9}}], Cell[BoxData["2.000110964291433`"], "Output", CellChangeTimes->{ 3.5819198066516137`*^9, 3.5819200168931828`*^9, 3.5819201226145687`*^9, { 3.5819202087891197`*^9, 3.581920225496749*^9}, {3.5819203336985393`*^9, 3.581920380498622*^9}, 3.581920515267258*^9, {3.5819205486201167`*^9, 3.5819206261054525`*^9}, 3.5819212349901223`*^9, 3.5819212787481995`*^9, { 3.581921332630694*^9, 3.581921369711959*^9}, {3.581921401520415*^9, 3.581921441238085*^9}, 3.5819214719857388`*^9, {3.5819215409378595`*^9, 3.581921585397938*^9}, 3.5819216165511923`*^9, 3.5819216528368564`*^9, 3.581921702928544*^9, 3.581931371463418*^9, {3.581931402148672*^9, 3.5819314269683156`*^9}, 3.5819314854372187`*^9, {3.581931523813286*^9, 3.581931550052532*^9}, {3.5819315987714176`*^9, 3.581931688455975*^9}, 3.581931796142964*^9, 3.581931865516286*^9, {3.581931898042343*^9, 3.5819319427364216`*^9}, {3.5819319739832764`*^9, 3.5819320263993683`*^9}}], Cell[BoxData[ RowBox[{"-", "56.348615272947484`"}]], "Output", CellChangeTimes->{ 3.5819198066516137`*^9, 3.5819200168931828`*^9, 3.5819201226145687`*^9, { 3.5819202087891197`*^9, 3.581920225496749*^9}, {3.5819203336985393`*^9, 3.581920380498622*^9}, 3.581920515267258*^9, {3.5819205486201167`*^9, 3.5819206261054525`*^9}, 3.5819212349901223`*^9, 3.5819212787481995`*^9, { 3.581921332630694*^9, 3.581921369711959*^9}, {3.581921401520415*^9, 3.581921441238085*^9}, 3.5819214719857388`*^9, {3.5819215409378595`*^9, 3.581921585397938*^9}, 3.5819216165511923`*^9, 3.5819216528368564`*^9, 3.581921702928544*^9, 3.581931371463418*^9, {3.581931402148672*^9, 3.5819314269683156`*^9}, 3.5819314854372187`*^9, {3.581931523813286*^9, 3.581931550052532*^9}, {3.5819315987714176`*^9, 3.581931688455975*^9}, 3.581931796142964*^9, 3.581931865516286*^9, {3.581931898042343*^9, 3.5819319427364216`*^9}, {3.5819319739832764`*^9, 3.5819320263993683`*^9}}] }, Open ]] }, WindowSize->{850, 881}, WindowMargins->{{Automatic, 415}, {11, Automatic}}, PrintingCopies->1, PrintingPageRange->{32000, 32000}, PrintingOptions->{"Magnification"->1., "PaperOrientation"->"Portrait", "PaperSize"->{595.2, 841.8}}, Magnification->0.8999999761581421, FrontEndVersion->"9.0 for Microsoft Windows (64-bit) (January 25, 2013)", StyleDefinitions->"Default.nb" ] (* End of Notebook Content *) (* Internal cache information *) (*CellTagsOutline CellTagsIndex->{} *) (*CellTagsIndex CellTagsIndex->{} *) (*NotebookFileOutline Notebook[{ Cell[557, 20, 1198, 25, 50, "Input"], Cell[1758, 47, 1519, 31, 50, "Input"], Cell[CellGroupData[{ Cell[3302, 82, 1077, 16, 29, "Input"], Cell[4382, 100, 1045, 16, 28, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[5464, 121, 5774, 156, 350, "Input"], Cell[11241, 279, 939, 13, 28, "Output"], Cell[12183, 294, 1023, 16, 28, "Output"], Cell[13209, 312, 1023, 16, 28, "Output"], Cell[14235, 330, 1012, 15, 28, "Output"], Cell[15250, 347, 939, 13, 28, "Output"], Cell[16192, 362, 939, 13, 28, "Output"] }, Open ]], Cell[17146, 378, 5105, 104, 190, "Input"], Cell[22254, 484, 3790, 74, 70, "Input"], Cell[26047, 560, 1254, 35, 70, "Input"], Cell[CellGroupData[{ Cell[27326, 599, 3042, 63, 70, "Input"], Cell[30371, 664, 1722, 34, 97, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[32130, 703, 3060, 74, 130, "Input"], Cell[35193, 779, 1038, 16, 28, "Output"] }, Open ]], Cell[36246, 798, 1708, 43, 90, "Input"], Cell[37957, 843, 511, 11, 50, "Input"], Cell[38471, 856, 2048, 48, 90, "Input"], Cell[40522, 906, 2106, 50, 90, "Input"], Cell[42631, 958, 1261, 33, 50, "Input"], Cell[CellGroupData[{ Cell[43917, 995, 2727, 71, 130, "Input"], Cell[46647, 1068, 958, 13, 28, "Output"], Cell[47608, 1083, 958, 13, 28, "Output"], Cell[48569, 1098, 958, 13, 28, "Output"], Cell[49530, 1113, 958, 13, 28, "Output"], Cell[50491, 1128, 943, 13, 28, "Output"] }, Open ]], Cell[51449, 1144, 1971, 35, 90, "Input"], Cell[53423, 1181, 2207, 39, 29, "Input"], Cell[CellGroupData[{ Cell[55655, 1224, 1371, 43, 150, "Input"], Cell[57029, 1269, 959, 13, 28, "Output"], Cell[57991, 1284, 959, 13, 28, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[58987, 1302, 883, 26, 70, "Input"], Cell[59873, 1330, 966, 14, 28, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[60876, 1349, 3081, 94, 210, "Input"], Cell[63960, 1445, 956, 14, 28, "Output"], Cell[64919, 1461, 939, 13, 28, "Output"], Cell[65861, 1476, 1835, 42, 82, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[67733, 1523, 2861, 78, 210, "Input"], Cell[70597, 1603, 941, 13, 28, "Output"], Cell[71541, 1618, 941, 13, 28, "Output"] }, Open ]], Cell[72497, 1634, 3343, 91, 150, "Input"], Cell[75843, 1727, 12499, 331, 1190, "Input"], Cell[88345, 2060, 1655, 24, 29, "Input"], Cell[90003, 2086, 2724, 54, 90, "Input"], Cell[CellGroupData[{ Cell[92752, 2144, 1065, 19, 70, "Input"], Cell[93820, 2165, 1242, 22, 28, "Output"], Cell[95065, 2189, 953, 13, 28, "Output"], Cell[96021, 2204, 953, 13, 28, "Output"] }, Open ]], Cell[96989, 2220, 11150, 255, 210, "Input"], Cell[108142, 2477, 9944, 229, 190, "Input"], Cell[118089, 2708, 8221, 161, 150, "Input"], Cell[CellGroupData[{ Cell[126335, 2873, 5231, 75, 50, "Input"], Cell[131569, 2950, 3394, 69, 337, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[135000, 3024, 2266, 65, 110, "Input"], Cell[137269, 3091, 939, 13, 28, "Output"] }, Open ]], Cell[138223, 3107, 1001, 26, 70, "Input"], Cell[CellGroupData[{ Cell[139249, 3137, 1898, 54, 170, "Input"], Cell[141150, 3193, 956, 13, 28, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[142143, 3211, 1422, 43, 90, "Input"], Cell[143568, 3256, 1125, 20, 28, "Output"], Cell[144696, 3278, 1033, 16, 28, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[145766, 3299, 1082, 31, 70, "Input"], Cell[146851, 3332, 949, 13, 28, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[147837, 3350, 711, 21, 90, "Input"], Cell[148551, 3373, 966, 14, 28, "Output"], Cell[149520, 3389, 946, 13, 28, "Output"], Cell[150469, 3404, 951, 13, 28, "Output"], Cell[151423, 3419, 948, 13, 28, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[152408, 3437, 3708, 87, 230, "Input"], Cell[156119, 3526, 971, 13, 28, "Output"], Cell[157093, 3541, 971, 13, 28, "Output"], Cell[158067, 3556, 971, 13, 28, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[159075, 3574, 2238, 47, 90, "Input"], Cell[161316, 3623, 985, 14, 28, "Output"], Cell[162304, 3639, 985, 14, 28, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[163326, 3658, 1016, 30, 50, "Input"], Cell[164345, 3690, 982, 14, 28, "Output"] }, Open ]], Cell[165342, 3707, 268, 5, 29, "Input"], Cell[CellGroupData[{ Cell[165635, 3716, 1016, 29, 90, "Input"], Cell[166654, 3747, 956, 13, 28, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[167647, 3765, 400, 11, 29, "Input"], Cell[168050, 3778, 966, 13, 28, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[169053, 3796, 799, 16, 29, "Input"], Cell[169855, 3814, 966, 13, 28, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[170858, 3832, 1966, 32, 110, "Input"], Cell[172827, 3866, 968, 13, 28, "Output"], Cell[173798, 3881, 968, 13, 28, "Output"], Cell[174769, 3896, 982, 14, 28, "Output"], Cell[175754, 3912, 965, 13, 28, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[176756, 3930, 461, 11, 90, "Input"], Cell[177220, 3943, 982, 14, 28, "Output"], Cell[178205, 3959, 965, 13, 28, "Output"], Cell[179173, 3974, 964, 13, 28, "Output"], Cell[180140, 3989, 982, 14, 60, "Output"] }, Open ]] } ] *) (* End of internal cache information *)