(* 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[ 36849, 874] NotebookOptionsPosition[ 35612, 832] NotebookOutlinePosition[ 36125, 851] CellTagsIndexPosition[ 36082, 848] WindowFrame->Normal*) (* Beginning of Notebook Content *) Notebook[{ Cell[BoxData[ RowBox[{ RowBox[{"(*", " ", RowBox[{"N2", " ", RowBox[{"with", ":", " ", RowBox[{"13.05", ".2013"}]}]}], " ", "*)"}], "\n", RowBox[{ RowBox[{"Clear", "[", RowBox[{ "a", ",", "z", ",", "sig1", ",", "sig2", ",", "sig3", ",", "sig4", ",", "k1", ",", "k2", ",", "k3", ",", "k4", ",", "k5", ",", "nc", ",", "vee", ",", "vne", ",", "vnn", ",", "R1", ",", "R2", ",", "R3", ",", "R4", ",", "R5", ",", "\n", "xc", ",", "yc", ",", "zc", ",", "xn", ",", "yn", ",", "zn", ",", "ow", ",", "cn", ",", "rr", ",", "d1", ",", "d2", ",", "d3", ",", "d4", ",", "d5", ",", "i", ",", "j", ",", "d", ",", "t", ",", "sq", ",", "Ekin", ",", "Epot"}], "]"}], ";"}]}]], "Input", PageWidth->WindowWidth, CellChangeTimes->{{3.5773415047046976`*^9, 3.5773415137059135`*^9}, { 3.5773416513449545`*^9, 3.577341669752987*^9}, {3.5773417239318824`*^9, 3.577341893956581*^9}, 3.5773419407566633`*^9, {3.5773420175555983`*^9, 3.577342056165666*^9}, {3.5773420929973307`*^9, 3.5773421056489525`*^9}, { 3.5773421396414127`*^9, 3.5773423470593767`*^9}, {3.577342382081438*^9, 3.577342441158742*^9}, {3.5773425028880506`*^9, 3.577342523682887*^9}, { 3.5773425980794177`*^9, 3.5773426626791315`*^9}, {3.5773426933487854`*^9, 3.5773426941131864`*^9}, {3.577342738354864*^9, 3.577342889035529*^9}, { 3.5773429412644205`*^9, 3.57734295234044*^9}, {3.577342991824109*^9, 3.5773430231333647`*^9}, {3.5773430561274223`*^9, 3.577343143737176*^9}, { 3.5773431993668737`*^9, 3.577343258334977*^9}, 3.5773434426249013`*^9, { 3.577343480042567*^9, 3.5773435125686235`*^9}, {3.5773436063903885`*^9, 3.5773436272008247`*^9}, {3.5773436617392855`*^9, 3.5773437808610945`*^9}, {3.577343868193248*^9, 3.577343879659268*^9}, { 3.5773439214829416`*^9, 3.577344118838888*^9}, {3.5773441503509436`*^9, 3.577344170740179*^9}, {3.5773446920694942`*^9, 3.577344693286297*^9}, 3.5773526894956493`*^9, {3.5773528388503113`*^9, 3.577352838897112*^9}, { 3.577353457328998*^9, 3.577353503364679*^9}, {3.5773556679320807`*^9, 3.5773557165573664`*^9}, 3.5773607112650003`*^9, {3.577363145384075*^9, 3.5773631641821084`*^9}, 3.5773713130222435`*^9, {3.5773735851350346`*^9, 3.577373695474028*^9}, {3.577373964730501*^9, 3.5773739677725067`*^9}, 3.5773740596254673`*^9, {3.577374092245125*^9, 3.5773741045067463`*^9}, { 3.5773741853616886`*^9, 3.577374230414568*^9}, 3.5773742637986264`*^9, { 3.5773746139412413`*^9, 3.5773746339092765`*^9}, {3.5773750495252066`*^9, 3.5773750633000307`*^9}, 3.5773754561555204`*^9, {3.5773757271123962`*^9, 3.577375728063998*^9}, 3.577375963078411*^9, {3.5773761205918875`*^9, 3.5773762048008356`*^9}, 3.5774291695117903`*^9, {3.5774424964722877`*^9, 3.5774424977046895`*^9}, {3.5774428197828555`*^9, 3.577442825336465*^9}, { 3.577442927267044*^9, 3.5774429281406455`*^9}, {3.5774429766411304`*^9, 3.577442992833959*^9}, {3.5774430583072743`*^9, 3.577443066715689*^9}, { 3.5774436977055974`*^9, 3.5774437122604227`*^9}, 3.5774438419902506`*^9, 3.5777227715537*^9}], Cell[CellGroupData[{ Cell[BoxData[{ RowBox[{ RowBox[{"z", "=", "7.0"}], ";"}], "\n", RowBox[{ RowBox[{ RowBox[{"pi", "=", "0.35"}], ";", " ", RowBox[{"(*", " ", RowBox[{ RowBox[{ RowBox[{"distance", " ", "of", " ", "bananas", " ", "from", " ", "C"}], "-", RowBox[{"C", " ", "axis"}]}], ",", " ", RowBox[{"pi", " ", "=", RowBox[{"0", " ", "is", " ", "regular", " ", "tetraedric"}]}]}], " ", "*)"}], "\n", RowBox[{"nc", "=", "9"}], ";"}], " ", RowBox[{"(*", " ", RowBox[{"number", " ", "of", " ", "clouds"}], " ", "*)"}]}], "\n", RowBox[{ RowBox[{ RowBox[{"sig1", "=", "0.38"}], ";", " ", RowBox[{"sig2", "=", "0.38"}], ";", " ", RowBox[{"sig3", "=", "sig2"}], ";"}], " ", RowBox[{"(*", " ", RowBox[{ RowBox[{"screening", " ", RowBox[{"const", ".", " ", "from"}], " ", "e"}], "-", RowBox[{"e", " ", "interaction", " ", "in", " ", "doubly", " ", RowBox[{"occ", ".", " ", "clouds"}]}]}], " ", "*)"}]}], "\n", RowBox[{ RowBox[{ RowBox[{"k1", "=", "0.9373"}], ";", " ", RowBox[{"k2", "=", "1.14"}], ";", " ", RowBox[{"k3", "=", "1.30"}], ";", " ", RowBox[{"k4", "=", "1.25"}], ";"}], " ", RowBox[{"(*", " ", RowBox[{ RowBox[{ "parameters", " ", "for", " ", "kinetic", " ", "energy", " ", "of", " ", "clouds"}], ";", " ", RowBox[{"k", "=", RowBox[{"1.0", " ", RowBox[{"Kimball", "'"}], "s", " ", "lowest", " ", "value"}]}]}], " ", "*)"}]}], "\n", RowBox[{ RowBox[{ RowBox[{"bohr", "=", "0.529177"}], ";"}], " ", "\n", RowBox[{"(*", RowBox[{ RowBox[{"R1", "=", "0.208"}], ";", " ", RowBox[{"R2", "=", "1.1"}], ";", " ", RowBox[{"R3", "=", "0.83"}], ";", " ", RowBox[{"R4", "=", "1.2"}], ";"}], "*)"}], "\[IndentingNewLine]", RowBox[{"(*", " ", RowBox[{ RowBox[{"C", " ", "He"}], "-", "shells"}], " ", "*)"}]}], "\n", RowBox[{ RowBox[{"ow", "=", RowBox[{"{", RowBox[{ RowBox[{"-", "2"}], ",", RowBox[{"-", "2"}], ",", RowBox[{"-", "2"}], ",", RowBox[{"-", "2"}], ",", RowBox[{"-", "2"}], ",", RowBox[{"-", "1"}], ",", RowBox[{"-", "1"}], ",", RowBox[{"-", "1"}], ",", RowBox[{"-", "1"}]}], "}"}]}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"cn", "=", RowBox[{"{", " ", RowBox[{"z", ",", "z"}], "}"}]}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"Ekin", " ", "=", " ", RowBox[{"2", "*", RowBox[{"(", RowBox[{"2.25", "*", RowBox[{"k1", "/", RowBox[{"R1", "^", "2"}]}]}], ")"}]}]}], ";"}], "\n", RowBox[{ RowBox[{"vee", "=", RowBox[{"2", "*", RowBox[{"(", RowBox[{"3.0", "*", RowBox[{"sig1", "/", "R1"}]}], ")"}]}]}], ";"}], "\n", RowBox[{ RowBox[{ RowBox[{"vne", "=", RowBox[{ RowBox[{"-", "2"}], "*", RowBox[{"(", RowBox[{"3.0", "*", RowBox[{"z", "/", "R1"}]}], ")"}]}]}], ";"}], "\n", RowBox[{"(*", " ", RowBox[{"bonding", " ", "pairs"}], " ", "*)"}]}], "\n", RowBox[{ RowBox[{"Ekin", " ", "=", " ", RowBox[{"Ekin", " ", "+", " ", RowBox[{"2.25", "*", RowBox[{"(", RowBox[{ RowBox[{"2", "*", RowBox[{"k2", "/", RowBox[{"R2", "^", "2"}]}]}], "+", RowBox[{"k3", "/", RowBox[{"R3", "^", "2"}]}], "+", RowBox[{"2", "*", RowBox[{"k4", "/", RowBox[{"R4", "^", "2"}]}]}]}], ")"}]}]}]}], ";"}], "\n", RowBox[{ RowBox[{"vee", "=", RowBox[{"vee", "+", RowBox[{"3.0", "*", RowBox[{"(", RowBox[{ RowBox[{"2", "*", RowBox[{"sig2", "/", "R2"}]}], "+", RowBox[{"sig3", "/", "R3"}]}], ")"}]}]}]}], ";"}], "\n", RowBox[{ RowBox[{ RowBox[{"d1", "=", RowBox[{"R1", "+", "R3"}]}], ";"}], " "}], "\n", RowBox[{ RowBox[{"d2", "=", RowBox[{"d1", "+", "R1", "+", "R2"}]}], ";"}], "\n", RowBox[{ RowBox[{"xn", "=", RowBox[{"{", RowBox[{ RowBox[{"-", "d1"}], ",", "d1", ",", "0", ",", "0", ",", "0", ",", "0", ",", "0", ",", "0", ",", "0"}], "}"}]}], ";"}], "\n", RowBox[{ RowBox[{"yn", "=", RowBox[{"{", RowBox[{ "0", ",", "0", ",", "0", ",", "0", ",", "0", ",", "0", ",", "0", ",", "0", ",", "0"}], "}"}]}], ";"}], "\n", RowBox[{ RowBox[{ RowBox[{"zn", "=", RowBox[{"{", RowBox[{ "0", ",", "0", ",", "0", ",", "0", ",", "0", ",", "0", ",", "0", ",", "0", ",", "0"}], "}"}]}], ";"}], "\n", RowBox[{"(*", " ", RowBox[{ "cloud", " ", "coordinates", " ", "in", " ", "terms", " ", "of", " ", "radii"}], " ", "*)"}], " "}], "\n", RowBox[{ RowBox[{"xc", "=", RowBox[{"{", RowBox[{ RowBox[{"-", "d1"}], ",", "d1", ",", "d2", ",", RowBox[{"-", "d2"}], ",", "0", ",", "0", ",", "0", ",", "0", ",", "0"}], "}"}]}], ";"}], "\n", RowBox[{ RowBox[{"yc", "=", RowBox[{"{", RowBox[{ "0", ",", "0", ",", "0", ",", "0", ",", " ", "0", ",", RowBox[{"pi", "+", "R4"}], ",", RowBox[{ RowBox[{"-", "pi"}], "-", "R4"}], ",", " ", "0", ",", " ", "0"}], "}"}]}], ";"}], "\n", RowBox[{ RowBox[{ RowBox[{"zc", "=", RowBox[{"{", RowBox[{ "0", ",", "0", ",", "0", ",", "0", ",", " ", "0", ",", "0", ",", " ", "0", ",", " ", RowBox[{"pi", "+", "R4"}], ",", RowBox[{ RowBox[{"-", "pi"}], "-", "R4"}]}], "}"}]}], ";"}], "\n", RowBox[{"(*", " ", RowBox[{"cc", ":", " ", RowBox[{ RowBox[{"sum", " ", "of", " ", "cloud"}], "-", RowBox[{"cloud", " ", "potential", " ", "energies"}]}]}], " ", "*)"}]}], "\n", RowBox[{ RowBox[{"For", "[", RowBox[{ RowBox[{"i", " ", "=", " ", "1"}], ",", " ", RowBox[{"i", " ", "<", " ", "nc"}], ",", " ", RowBox[{"i", "++"}], ",", "\n", " ", RowBox[{"For", "[", RowBox[{ RowBox[{"j", " ", "=", " ", RowBox[{"i", "+", "1"}]}], ",", " ", RowBox[{"j", " ", "\[LessEqual]", " ", "nc"}], ",", " ", RowBox[{"j", "++"}], ",", "\[IndentingNewLine]", RowBox[{"vee", " ", "=", " ", RowBox[{"vee", " ", "+", " ", RowBox[{ RowBox[{"ow", "[", RowBox[{"[", "i", "]"}], "]"}], "*", RowBox[{ RowBox[{"ow", "[", RowBox[{"[", "j", "]"}], "]"}], "/", RowBox[{"Sqrt", "[", RowBox[{ RowBox[{ RowBox[{"(", RowBox[{ RowBox[{"xc", "[", RowBox[{"[", "i", "]"}], "]"}], "-", RowBox[{"xc", "[", RowBox[{"[", "j", "]"}], "]"}]}], ")"}], "^", "2"}], "+", RowBox[{ RowBox[{"(", RowBox[{ RowBox[{"yc", "[", RowBox[{"[", "i", "]"}], "]"}], "-", RowBox[{"yc", "[", RowBox[{"[", "j", "]"}], "]"}]}], ")"}], "^", "2"}], "+", RowBox[{ RowBox[{"(", RowBox[{ RowBox[{"zc", "[", RowBox[{"[", "i", "]"}], "]"}], "-", RowBox[{"zc", "[", RowBox[{"[", "j", "]"}], "]"}]}], ")"}], "^", "2"}]}], "]"}]}]}]}]}]}], "]"}]}], "]"}], "\n", RowBox[{"(*", " ", RowBox[{"nn", ":", " ", RowBox[{ RowBox[{"sum", " ", "of", " ", "nuclei"}], "-", RowBox[{"nuclei", " ", "potential", " ", "energies"}]}]}], " ", "*)"}]}], "\[IndentingNewLine]", RowBox[{ RowBox[{ RowBox[{"vnn", " ", "=", RowBox[{ RowBox[{"z", "^", "2"}], "/", RowBox[{"(", RowBox[{"2", "*", "d1"}], ")"}]}]}], ";"}], "\n", RowBox[{"(*", " ", RowBox[{"cn", ":", " ", RowBox[{ RowBox[{"sum", " ", "of", " ", "cloud"}], "-", RowBox[{"nuclei", " ", "potential", " ", "energies"}]}]}], " ", "*)"}]}], "\n", RowBox[{"For", "[", RowBox[{ RowBox[{"i", " ", "=", " ", "2"}], ",", " ", RowBox[{"i", " ", "\[LessEqual]", " ", "nc"}], ",", " ", RowBox[{"i", "++"}], ",", "\n", " ", RowBox[{ RowBox[{"sq", " ", "=", " ", RowBox[{"Sqrt", "[", RowBox[{ RowBox[{ RowBox[{"(", RowBox[{ RowBox[{"xc", "[", RowBox[{"[", "i", "]"}], "]"}], "-", RowBox[{"xn", "[", RowBox[{"[", "1", "]"}], "]"}]}], ")"}], "^", "2"}], "+", RowBox[{ RowBox[{"yc", "[", RowBox[{"[", "i", "]"}], "]"}], "^", "2"}], "+", RowBox[{ RowBox[{"zc", "[", RowBox[{"[", "i", "]"}], "]"}], "^", "2"}]}], "]"}]}], ";", "\n", " ", RowBox[{"If", "[", " ", RowBox[{ RowBox[{"sq", " ", "\[NotEqual]", " ", "0"}], ",", " ", RowBox[{"vne", " ", "=", " ", RowBox[{"vne", " ", "+", " ", RowBox[{"2", "*", RowBox[{"ow", "[", RowBox[{"[", "i", "]"}], "]"}], "*", RowBox[{"z", "/", "sq"}]}]}]}]}], "]"}]}]}], "]"}], "\n", RowBox[{ RowBox[{"Epot", "=", RowBox[{"vne", "+", "vee", "+", "vnn"}]}], " ", ";"}], "\n", RowBox[{ RowBox[{"func", "=", RowBox[{"Ekin", "+", "Epot"}]}], ";"}], "\n", RowBox[{"t", " ", "=", " ", RowBox[{"FindMinimum", "[", RowBox[{"func", ",", RowBox[{"{", RowBox[{"R1", ",", "0.208"}], "}"}], ",", RowBox[{"{", RowBox[{"R2", ",", "1.2"}], "}"}], ",", RowBox[{"{", RowBox[{"R3", ",", "0.83"}], "}"}], ",", RowBox[{"{", RowBox[{"R4", ",", "1.25"}], "}"}], ",", RowBox[{"Method", " ", "\[Rule]", "\"\\""}], ",", " ", RowBox[{"MaxIterations", " ", "->", " ", "500"}]}], "]"}]}]}], "Input", PageWidth->WindowWidth, CellChangeTimes->{{3.5773415047046976`*^9, 3.5773415137059135`*^9}, { 3.5773416513449545`*^9, 3.577341669752987*^9}, {3.5773417239318824`*^9, 3.577341893956581*^9}, 3.5773419407566633`*^9, {3.5773420175555983`*^9, 3.577342056165666*^9}, {3.5773420929973307`*^9, 3.5773421056489525`*^9}, { 3.5773421396414127`*^9, 3.5773423470593767`*^9}, {3.577342382081438*^9, 3.577342441158742*^9}, {3.5773425028880506`*^9, 3.577342523682887*^9}, { 3.5773425980794177`*^9, 3.5773426626791315`*^9}, {3.5773426933487854`*^9, 3.5773426941131864`*^9}, {3.577342738354864*^9, 3.577342889035529*^9}, { 3.5773429412644205`*^9, 3.57734295234044*^9}, {3.577342991824109*^9, 3.5773430231333647`*^9}, {3.5773430561274223`*^9, 3.577343143737176*^9}, { 3.5773431993668737`*^9, 3.577343258334977*^9}, 3.5773434426249013`*^9, { 3.577343480042567*^9, 3.5773435125686235`*^9}, {3.5773436063903885`*^9, 3.5773436272008247`*^9}, {3.5773436617392855`*^9, 3.5773437808610945`*^9}, {3.577343868193248*^9, 3.577343879659268*^9}, { 3.5773439214829416`*^9, 3.577344118838888*^9}, {3.5773441503509436`*^9, 3.577344170740179*^9}, {3.5773446920694942`*^9, 3.577344693286297*^9}, 3.5773526894956493`*^9, {3.5773528388503113`*^9, 3.577352838897112*^9}, { 3.577353457328998*^9, 3.577353503364679*^9}, {3.5773556679320807`*^9, 3.5773557165573664`*^9}, 3.5773607112650003`*^9, {3.577363145384075*^9, 3.5773631641821084`*^9}, 3.5773713130222435`*^9, {3.5773735851350346`*^9, 3.577373695474028*^9}, {3.577373964730501*^9, 3.5773739677725067`*^9}, 3.5773740596254673`*^9, {3.577374092245125*^9, 3.5773741045067463`*^9}, { 3.5773741853616886`*^9, 3.577374230414568*^9}, 3.5773742637986264`*^9, { 3.5773746139412413`*^9, 3.5773746339092765`*^9}, {3.5773750495252066`*^9, 3.5773750633000307`*^9}, 3.5773754561555204`*^9, {3.5773757271123962`*^9, 3.577375728063998*^9}, 3.577375963078411*^9, {3.5773761205918875`*^9, 3.5773762048008356`*^9}, 3.5774291695117903`*^9, {3.5774424964722877`*^9, 3.5774424977046895`*^9}, {3.5774428197828555`*^9, 3.577442825336465*^9}, { 3.577442927267044*^9, 3.5774429281406455`*^9}, {3.5774429766411304`*^9, 3.577442992833959*^9}, {3.5774430583072743`*^9, 3.577443066715689*^9}, { 3.5774436977055974`*^9, 3.5774437122604227`*^9}, 3.5774438419902506`*^9, 3.5777227715537*^9, 3.5777228043761578`*^9, {3.5777228529546432`*^9, 3.5777228565738497`*^9}, {3.577722996646496*^9, 3.5777230149453278`*^9}, { 3.577723148325562*^9, 3.577723259272957*^9}, 3.577723401404806*^9, { 3.5777235176406107`*^9, 3.577723523443821*^9}, {3.577723910745701*^9, 3.577723991787843*^9}, 3.5777240727831855`*^9, {3.5777606256364193`*^9, 3.577760639894844*^9}, {3.5777606701120973`*^9, 3.5777607840858974`*^9}, { 3.577760821416763*^9, 3.577760852024017*^9}, {3.5777608969208956`*^9, 3.5777609011017027`*^9}, 3.577760983001847*^9, {3.577761014014701*^9, 3.5777610147479024`*^9}, {3.577761499003953*^9, 3.577761504354762*^9}, { 3.5777617684632263`*^9, 3.577761772020033*^9}, {3.5777619397827272`*^9, 3.5777619776439934`*^9}, {3.5777622913917446`*^9, 3.577762291937746*^9}, 3.577762585733062*^9, {3.577762640972759*^9, 3.577762704854871*^9}, 3.5777627776913986`*^9, {3.577762819390272*^9, 3.577762820248274*^9}, 3.577762856923938*^9, 3.5777629812249565`*^9, {3.5777630153422165`*^9, 3.577763035778252*^9}, {3.5777631472872477`*^9, 3.577763172216092*^9}, { 3.577763261229848*^9, 3.577763312039138*^9}, {3.5777633509456058`*^9, 3.5777633859832673`*^9}, {3.5777634309269466`*^9, 3.5777634317225475`*^9}, {3.577763466557409*^9, 3.577763530923122*^9}, { 3.577763570905992*^9, 3.5777635897196255`*^9}, {3.577764108732537*^9, 3.577764108919737*^9}, {3.5777641641750345`*^9, 3.5777641911006813`*^9}, { 3.5777642286655474`*^9, 3.5777642526895895`*^9}, {3.57776432666492*^9, 3.577764345946553*^9}, {3.5777667772420235`*^9, 3.577766779270027*^9}, { 3.577766819455698*^9, 3.577766820126499*^9}, {3.5777668564745626`*^9, 3.5777669590291433`*^9}, {3.577767090724574*^9, 3.577767115419418*^9}, { 3.577767160846698*^9, 3.5777671669619083`*^9}, {3.5777672406096373`*^9, 3.577767297331337*^9}, {3.577767330637396*^9, 3.57776735583144*^9}, { 3.5777674176231484`*^9, 3.577767445001197*^9}, {3.577767502128497*^9, 3.5777675324861507`*^9}, {3.57776757220382*^9, 3.577767579005432*^9}, { 3.577767718048476*^9, 3.5777677253804893`*^9}}], Cell[BoxData[ RowBox[{ StyleBox[ RowBox[{"FindMinimum", "::", "lstol"}], "MessageName"], RowBox[{ ":", " "}], "\<\"The line search decreased the step size to within the \ tolerance specified by AccuracyGoal and PrecisionGoal but was unable to find \ a sufficient decrease in the function. You may need more than \ \[NoBreak]\\!\\(MachinePrecision\\)\[NoBreak] digits of working precision to \ meet these tolerances. \\!\\(\\*ButtonBox[\\\"\[RightSkeleton]\\\", \ ButtonStyle->\\\"Link\\\", ButtonFrame->None, \ ButtonData:>\\\"paclet:ref/message/FindMinimum/lstol\\\", ButtonNote -> \ \\\"FindMinimum::lstol\\\"]\\)\"\>"}]], "Message", "MSG", CellChangeTimes->{3.577767739623314*^9}], Cell[BoxData[ RowBox[{"{", RowBox[{ RowBox[{"-", "93.5120002452578`"}], ",", RowBox[{"{", RowBox[{ RowBox[{"R1", "\[Rule]", "0.21237915407838479`"}], ",", RowBox[{"R2", "\[Rule]", "2.7846675098021053`*^7"}], ",", RowBox[{"R3", "\[Rule]", "4.396542312783693`*^7"}], ",", RowBox[{"R4", "\[Rule]", "2.8519283939298604`*^7"}]}], "}"}]}], "}"}]], "Output", CellChangeTimes->{3.577767739623314*^9}] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ RowBox[{ RowBox[{"(*", " ", "func", " ", "*)"}], "\[IndentingNewLine]", RowBox[{"Ekin", "\n", RowBox[{"vne", " ", "/.", " ", RowBox[{"t", "[", RowBox[{"[", "2", "]"}], "]"}]}], " ", "\n", RowBox[{"vee", " ", "/.", " ", RowBox[{"t", "[", RowBox[{"[", "2", "]"}], "]"}]}], " ", "\n", RowBox[{"vnn", " ", "/.", " ", RowBox[{"t", "[", RowBox[{"[", "2", "]"}], "]"}]}], " ", " ", "\n", RowBox[{"Vir", " ", "=", " ", RowBox[{ RowBox[{ RowBox[{"-", "Epot"}], "/", "Ekin"}], " ", "/.", " ", RowBox[{"t", "[", RowBox[{"[", "2", "]"}], "]"}]}]}], " ", " ", "\n", RowBox[{ RowBox[{"2", "*", "d1", "*", "bohr"}], " ", "/.", " ", RowBox[{"t", "[", RowBox[{"[", "2", "]"}], "]"}], " ", " "}]}]}]], "Input", PageWidth->WindowWidth, CellChangeTimes->{{3.5773415047046976`*^9, 3.5773415137059135`*^9}, { 3.5773416513449545`*^9, 3.577341669752987*^9}, {3.5773417239318824`*^9, 3.577341893956581*^9}, 3.5773419407566633`*^9, {3.5773420175555983`*^9, 3.577342056165666*^9}, {3.5773420929973307`*^9, 3.5773421056489525`*^9}, { 3.5773421396414127`*^9, 3.5773423470593767`*^9}, {3.577342382081438*^9, 3.577342441158742*^9}, {3.5773425028880506`*^9, 3.577342523682887*^9}, { 3.5773425980794177`*^9, 3.5773426626791315`*^9}, {3.5773426933487854`*^9, 3.5773426941131864`*^9}, {3.577342738354864*^9, 3.577342889035529*^9}, { 3.5773429412644205`*^9, 3.57734295234044*^9}, {3.577342991824109*^9, 3.5773430231333647`*^9}, {3.5773430561274223`*^9, 3.577343143737176*^9}, { 3.5773431993668737`*^9, 3.577343258334977*^9}, 3.5773434426249013`*^9, { 3.577343480042567*^9, 3.5773435125686235`*^9}, {3.5773436063903885`*^9, 3.5773436272008247`*^9}, {3.5773436617392855`*^9, 3.5773437808610945`*^9}, {3.577343868193248*^9, 3.577343879659268*^9}, { 3.5773439214829416`*^9, 3.577344086609232*^9}, {3.5773444013153844`*^9, 3.5773444098953996`*^9}, {3.5773527214601054`*^9, 3.577352754235763*^9}, { 3.577352839084312*^9, 3.577352839115512*^9}, {3.5773562861299667`*^9, 3.577356291496376*^9}, {3.5773717712106485`*^9, 3.5773718737028284`*^9}, { 3.5777237534662247`*^9, 3.5777237744638615`*^9}, {3.5777238076451197`*^9, 3.5777238241811485`*^9}, {3.5777238754116387`*^9, 3.577723900387283*^9}, { 3.577761392705366*^9, 3.5777613927209663`*^9}, {3.5777619160550857`*^9, 3.5777619160706854`*^9}, {3.577763083405136*^9, 3.5777630860259404`*^9}, { 3.5777674718176436`*^9, 3.5777674718488436`*^9}}], Cell[BoxData[ RowBox[{ FractionBox["4.21785`", SuperscriptBox["R1", "2"]], "+", RowBox[{"2.25`", " ", RowBox[{"(", RowBox[{ FractionBox["2.28`", SuperscriptBox["R2", "2"]], "+", FractionBox["1.3`", SuperscriptBox["R3", "2"]], "+", FractionBox["2.5`", SuperscriptBox["R4", "2"]]}], ")"}]}]}]], "Output", CellChangeTimes->{3.577767739638914*^9}], Cell[BoxData[ RowBox[{"-", "197.75952203152042`"}]], "Output", CellChangeTimes->{3.577767739638914*^9}], Cell[BoxData["10.73551866831489`"], "Output", CellChangeTimes->{3.577767739638914*^9}], Cell[BoxData["5.572560921434217`*^-7"], "Output", CellChangeTimes->{3.577767739638914*^9}], Cell[BoxData["1.9999999752391804`"], "Output", CellChangeTimes->{3.577767739638914*^9}], Cell[BoxData["4.653098165381105`*^7"], "Output", CellChangeTimes->{3.577767739638914*^9}] }, Open ]], Cell[BoxData[ RowBox[{ RowBox[{"rr", "=", RowBox[{ RowBox[{"{", RowBox[{ "R1", ",", "R1", ",", "R2", ",", "R2", ",", "R3", ",", "R4", ",", "R4", ",", "R4", ",", "R4"}], "}"}], " ", "/.", " ", RowBox[{"t", "[", RowBox[{"[", "2", "]"}], "]"}]}]}], " ", " ", ";"}]], "Input", PageWidth->WindowWidth, CellChangeTimes->{{3.5773415047046976`*^9, 3.5773415137059135`*^9}, { 3.5773416513449545`*^9, 3.577341669752987*^9}, {3.5773417239318824`*^9, 3.577341893956581*^9}, 3.5773419407566633`*^9, {3.5773420175555983`*^9, 3.577342056165666*^9}, {3.5773420929973307`*^9, 3.5773421056489525`*^9}, { 3.5773421396414127`*^9, 3.5773423470593767`*^9}, {3.577342382081438*^9, 3.577342441158742*^9}, {3.5773425028880506`*^9, 3.577342523682887*^9}, { 3.5773425980794177`*^9, 3.5773426626791315`*^9}, {3.5773426933487854`*^9, 3.5773426941131864`*^9}, {3.577342738354864*^9, 3.577342889035529*^9}, { 3.5773429412644205`*^9, 3.57734295234044*^9}, {3.577342991824109*^9, 3.5773430231333647`*^9}, {3.5773430561274223`*^9, 3.577343143737176*^9}, { 3.5773431993668737`*^9, 3.577343258334977*^9}, 3.5773434426249013`*^9, { 3.577343480042567*^9, 3.5773435125686235`*^9}, {3.5773436063903885`*^9, 3.5773436272008247`*^9}, {3.5773436617392855`*^9, 3.5773437808610945`*^9}, {3.577343868193248*^9, 3.577343879659268*^9}, { 3.5773439214829416`*^9, 3.577344086609232*^9}, {3.5773444013153844`*^9, 3.5773444098953996`*^9}, {3.5773527214601054`*^9, 3.577352754235763*^9}, { 3.577352839084312*^9, 3.577352839115512*^9}, {3.5773562861299667`*^9, 3.577356291496376*^9}, {3.5773717712106485`*^9, 3.577371904793683*^9}, { 3.577372601444106*^9, 3.577372628525754*^9}, 3.577375878432662*^9, 3.577442909545413*^9, 3.5777238754428387`*^9, 3.5777608064251366`*^9, 3.5777613927521667`*^9, 3.5777619160862856`*^9, 3.5777674718488436`*^9}], Cell[BoxData[ RowBox[{"(*", " ", RowBox[{ RowBox[{"projection", " ", "on", " ", "xy"}], "-", RowBox[{"plane", " ", "of", " ", "molecule"}]}], " ", "*)"}]], "Input", PageWidth->WindowWidth, CellChangeTimes->{{3.5773413317003937`*^9, 3.5773413362088013`*^9}, { 3.577352839115512*^9, 3.577352839131112*^9}, {3.5773715990175457`*^9, 3.5773716034635534`*^9}, {3.5773716711988726`*^9, 3.5773716785932856`*^9}, {3.5773719148557005`*^9, 3.5773720320119066`*^9}, {3.5773720625879602`*^9, 3.577372089326407*^9}, { 3.5773721384508934`*^9, 3.577372247229884*^9}, {3.5773723618276854`*^9, 3.577372407098965*^9}, {3.577372640428575*^9, 3.57737267169103*^9}, { 3.5773727054338894`*^9, 3.5773727803452206`*^9}, {3.577372855490553*^9, 3.5773728739765854`*^9}, {3.5773729151762576`*^9, 3.577372935331493*^9}, 3.577373068493327*^9}], Cell[CellGroupData[{ Cell[BoxData[{ RowBox[{ RowBox[{"plot0", "=", RowBox[{ RowBox[{"Table", "[", RowBox[{ RowBox[{"Graphics3D", "[", RowBox[{"{", RowBox[{ RowBox[{"Darker", "[", RowBox[{"Blue", ",", "0.2"}], "]"}], ",", RowBox[{"Sphere", "[", RowBox[{ RowBox[{"{", RowBox[{ RowBox[{"xc", "[", RowBox[{"[", "i", "]"}], "]"}], ",", RowBox[{"yc", "[", RowBox[{"[", "i", "]"}], "]"}], ",", RowBox[{"zc", "[", RowBox[{"[", "i", "]"}], "]"}]}], "}"}], ",", RowBox[{"rr", "[", RowBox[{"[", "i", "]"}], "]"}]}], "]"}]}], "}"}], "]"}], ",", RowBox[{"{", RowBox[{"i", ",", "1", ",", "2"}], "}"}]}], "]"}], " ", "/.", " ", RowBox[{"t", "[", RowBox[{"[", "2", "]"}], "]"}]}]}], " ", " ", ";"}], "\n", RowBox[{ RowBox[{"plot1", "=", RowBox[{ RowBox[{"Table", "[", RowBox[{ RowBox[{"Graphics3D", "[", RowBox[{"{", RowBox[{"Sphere", "[", RowBox[{ RowBox[{"{", RowBox[{ RowBox[{"xc", "[", RowBox[{"[", "i", "]"}], "]"}], ",", RowBox[{"yc", "[", RowBox[{"[", "i", "]"}], "]"}], ",", RowBox[{"zc", "[", RowBox[{"[", "i", "]"}], "]"}]}], "}"}], ",", RowBox[{"rr", "[", RowBox[{"[", "i", "]"}], "]"}]}], "]"}], "}"}], "]"}], ",", RowBox[{"{", RowBox[{"i", ",", "3", ",", "5"}], "}"}]}], "]"}], " ", "/.", " ", RowBox[{"t", "[", RowBox[{"[", "2", "]"}], "]"}]}]}], " ", " ", ";"}], "\n", RowBox[{ RowBox[{ RowBox[{"plot2", "=", RowBox[{ RowBox[{"Table", "[", RowBox[{ RowBox[{"Graphics3D", "[", RowBox[{"{", RowBox[{ RowBox[{"Opacity", "[", "0.5", "]"}], ",", RowBox[{"Lighter", "[", RowBox[{"Orange", ",", "0.4"}], "]"}], ",", RowBox[{"Sphere", "[", RowBox[{ RowBox[{"{", RowBox[{ RowBox[{"xc", "[", RowBox[{"[", "i", "]"}], "]"}], ",", RowBox[{"yc", "[", RowBox[{"[", "i", "]"}], "]"}], ",", RowBox[{"zc", "[", RowBox[{"[", "i", "]"}], "]"}]}], "}"}], ",", RowBox[{"rr", "[", RowBox[{"[", "i", "]"}], "]"}]}], "]"}]}], "}"}], "]"}], ",", RowBox[{"{", RowBox[{"i", ",", "6", ",", "nc"}], "}"}]}], "]"}], " ", "/.", " ", RowBox[{"t", "[", RowBox[{"[", "2", "]"}], "]"}]}]}], " ", " ", ";"}], "\n"}], "\[IndentingNewLine]", RowBox[{"Show", "[", RowBox[{"plot0", ",", "plot1", ",", "plot2", ",", RowBox[{"{", RowBox[{ RowBox[{"AspectRatio", " ", "\[Rule]", " ", "Automatic"}], ",", RowBox[{"Axes", " ", "->", " ", "True"}], ",", RowBox[{"PlotRange", " ", "\[Rule]", " ", "All"}], ",", RowBox[{"SphericalRegion", "\[Rule]", "True"}]}], "}"}]}], "]"}], "\n"}], "Input", PageWidth->WindowWidth, CellChangeTimes->{{3.5773413317003937`*^9, 3.5773413362088013`*^9}, { 3.577352839115512*^9, 3.577352839131112*^9}, {3.5773715990175457`*^9, 3.5773716034635534`*^9}, {3.5773716711988726`*^9, 3.5773716785932856`*^9}, {3.5773719148557005`*^9, 3.5773720320119066`*^9}, {3.5773720625879602`*^9, 3.577372089326407*^9}, { 3.5773721384508934`*^9, 3.577372247229884*^9}, {3.5773723618276854`*^9, 3.577372407098965*^9}, {3.577372640428575*^9, 3.57737267169103*^9}, { 3.5773727054338894`*^9, 3.5773727803452206`*^9}, {3.577372855490553*^9, 3.5773728739765854`*^9}, {3.5773729151762576`*^9, 3.577372935331493*^9}, 3.577373068493327*^9, 3.577375863940237*^9, {3.577442873244149*^9, 3.5774428788913593`*^9}, {3.5774433556593966`*^9, 3.5774433846442475`*^9}, {3.5774434296971264`*^9, 3.5774434305863285`*^9}, {3.5774434802880154`*^9, 3.5774435257464952`*^9}, 3.577443563108561*^9, 3.5774436149318523`*^9, {3.577443975932086*^9, 3.5774439769772882`*^9}, {3.5774443030334606`*^9, 3.5774444499077187`*^9}, {3.577444584567155*^9, 3.5774445963139753`*^9}, { 3.577444660835689*^9, 3.577444676014516*^9}, {3.577444738118225*^9, 3.577444777929495*^9}, 3.5774449044145164`*^9, {3.5774460837297883`*^9, 3.577446116255845*^9}, {3.577446165957533*^9, 3.5774461885775723`*^9}, { 3.577446237358858*^9, 3.5774463455450478`*^9}, {3.577446401939147*^9, 3.5774464300347967`*^9}, 3.5774465521986113`*^9, {3.577446588484275*^9, 3.5774466383887625`*^9}, {3.5777238754428387`*^9, 3.5777238756768394`*^9}, {3.5777613927521667`*^9, 3.5777613929705667`*^9}, {3.5777619160862856`*^9, 3.577761916320286*^9}, { 3.5777621107434273`*^9, 3.5777621188242416`*^9}, {3.5777621519431*^9, 3.5777621761387424`*^9}, {3.5777622081811986`*^9, 3.5777622406916556`*^9}, {3.5777674718488436`*^9, 3.577767471864444*^9}}], Cell[BoxData[ Graphics3DBox[{ {RGBColor[0., 0., 0.8], SphereBox[{-4.3965423340216085`*^7, 0, 0}, 0.21237915407838479`]}, {RGBColor[0., 0., 0.8], SphereBox[{4.3965423340216085`*^7, 0, 0}, 0.21237915407838479`]}, SphereBox[{7.181209865061629*^7, 0, 0}, 2.7846675098021053`*^7], SphereBox[{-7.181209865061629*^7, 0, 0}, 2.7846675098021053`*^7], SphereBox[{0, 0, 0}, 4.396542312783693*^7], {RGBColor[1., 0.7, 0.4], Opacity[0.5], SphereBox[{0, 2.8519284289298605`*^7, 0}, 2.8519283939298604`*^7]}, {RGBColor[1., 0.7, 0.4], Opacity[0.5], SphereBox[{0, -2.8519284289298605`*^7, 0}, 2.8519283939298604`*^7]}, {RGBColor[1., 0.7, 0.4], Opacity[0.5], SphereBox[{0, 0, 2.8519284289298605`*^7}, 2.8519283939298604`*^7]}, {RGBColor[1., 0.7, 0.4], Opacity[0.5], SphereBox[{0, 0, -2.8519284289298605`*^7}, 2.8519283939298604`*^7]}}, AspectRatio->Automatic, AutomaticImageSize->True, Axes->True, ImageSize->{360., 360.}, PlotRange->All, SphericalRegion->True, ViewPoint->{1.8481572332849798`, -1.877417991459889, 2.123585770907105}, ViewVertical->{0.20858121216458922`, 0.3815133003098339, 1.6656535710132594`}]], "Output", CellChangeTimes->{3.5777677396701145`*^9}] }, Open ]], Cell[BoxData[ RowBox[{"(*", " ", RowBox[{ RowBox[{ RowBox[{"projection", " ", "on", " ", "xz"}], "-", "plane"}], ",", " ", RowBox[{"perpendicular", " ", "to", " ", "molecular", " ", "plane"}]}], " ", "*)"}]], "Input", PageWidth->WindowWidth, CellChangeTimes->{{3.5773413317003937`*^9, 3.5773413362088013`*^9}, { 3.577352839115512*^9, 3.577352839131112*^9}, {3.5773715990175457`*^9, 3.5773716034635534`*^9}, {3.5773716711988726`*^9, 3.5773716785932856`*^9}, { 3.5773719148557005`*^9, 3.5773720320119066`*^9}, {3.5773720625879602`*^9, 3.577372089326407*^9}, {3.5773721384508934`*^9, 3.577372247229884*^9}, { 3.5773723618276854`*^9, 3.577372407098965*^9}, {3.577372640428575*^9, 3.57737267169103*^9}, {3.5773727054338894`*^9, 3.5773727803452206`*^9}, { 3.577372855490553*^9, 3.5773728739765854`*^9}, {3.5773729151762576`*^9, 3.577372935331493*^9}, {3.577373068493327*^9, 3.577373077494543*^9}}], Cell[CellGroupData[{ Cell[BoxData[{ RowBox[{ RowBox[{ RowBox[{"plot3", "=", RowBox[{ RowBox[{"Table", "[", RowBox[{ RowBox[{"Graphics", "[", RowBox[{"{", RowBox[{"Circle", "[", RowBox[{ RowBox[{"{", RowBox[{ RowBox[{"xc", "[", RowBox[{"[", "i", "]"}], "]"}], ",", RowBox[{"zc", "[", RowBox[{"[", "i", "]"}], "]"}]}], "}"}], ",", RowBox[{"rr", "[", RowBox[{"[", "i", "]"}], "]"}]}], "]"}], "}"}], "]"}], ",", RowBox[{"{", RowBox[{"i", ",", "1", ",", "nc"}], "}"}]}], "]"}], " ", "/.", " ", RowBox[{"t", "[", RowBox[{"[", "2", "]"}], "]"}]}]}], " ", " ", ";"}], "\n"}], "\n", RowBox[{"Show", "[", RowBox[{"plot3", ",", RowBox[{"{", RowBox[{ RowBox[{"AspectRatio", " ", "\[Rule]", " ", "Automatic"}], ",", RowBox[{"Axes", " ", "->", " ", "True"}], ",", RowBox[{"GridLines", " ", "->", " ", "Automatic"}], ",", " ", RowBox[{"PlotRange", " ", "\[Rule]", " ", RowBox[{"{", RowBox[{ RowBox[{"{", RowBox[{ RowBox[{"-", "4"}], ",", "4"}], "}"}], ",", RowBox[{"{", RowBox[{ RowBox[{"-", "3"}], ",", "3"}], "}"}]}], "}"}]}], ",", " ", RowBox[{"Frame", " ", "->", " ", "True"}]}], "}"}]}], "]"}]}], "Input", PageWidth->WindowWidth, CellChangeTimes->{{3.5773413317003937`*^9, 3.5773413362088013`*^9}, { 3.577352839115512*^9, 3.577352839131112*^9}, {3.5773715990175457`*^9, 3.5773716034635534`*^9}, {3.5773716711988726`*^9, 3.5773716785932856`*^9}, {3.5773719148557005`*^9, 3.5773720320119066`*^9}, {3.5773720625879602`*^9, 3.577372089326407*^9}, { 3.5773721384508934`*^9, 3.577372247229884*^9}, {3.5773723618276854`*^9, 3.577372407098965*^9}, {3.577372640428575*^9, 3.57737267169103*^9}, { 3.5773727054338894`*^9, 3.5773727803452206`*^9}, {3.577372855490553*^9, 3.5773728739765854`*^9}, {3.5773729151762576`*^9, 3.577372935331493*^9}, { 3.577373068493327*^9, 3.577373077494543*^9}, 3.577375870741849*^9, { 3.5774428830877666`*^9, 3.577442884476169*^9}, {3.5777238756768394`*^9, 3.5777238756768394`*^9}, 3.577724118990467*^9, 3.5777613929705667`*^9, { 3.5777617011803083`*^9, 3.577761727169954*^9}, 3.577761916335886*^9, 3.577767471880044*^9}], Cell[BoxData[ GraphicsBox[{CircleBox[{-4.3965423340216085`*^7, 0}, 0.21237915407838479`], CircleBox[{4.3965423340216085`*^7, 0}, 0.21237915407838479`], CircleBox[{7.181209865061629*^7, 0}, 2.7846675098021053`*^7], CircleBox[{-7.181209865061629*^7, 0}, 2.7846675098021053`*^7], CircleBox[{0, 0}, 4.396542312783693*^7], CircleBox[{0, 0}, 2.8519283939298604`*^7], CircleBox[{0, 0}, 2.8519283939298604`*^7], CircleBox[{0, 2.8519284289298605`*^7}, 2.8519283939298604`*^7], CircleBox[{0, -2.8519284289298605`*^7}, 2.8519283939298604`*^7]}, AspectRatio->Automatic, Axes->True, Frame->True, GridLines->Automatic, PlotRange->{{-4, 4}, {-3, 3}}]], "Output", CellChangeTimes->{3.5777677397325144`*^9}] }, Open ]] }, WindowToolbars->"EditBar", WindowSize->{1009, 964}, WindowMargins->{{401, Automatic}, {Automatic, 35}}, PrintingCopies->1, PrintingPageRange->{Automatic, Automatic}, PrivateNotebookOptions->{"VersionedStylesheet"->{"Default.nb"[8.] -> False}}, 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, 3124, 48, 72, "Input"], Cell[CellGroupData[{ Cell[3706, 72, 14171, 355, 792, "Input"], Cell[17880, 429, 695, 13, 56, "Message"], Cell[18578, 444, 435, 11, 33, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[19050, 460, 2560, 46, 152, "Input"], Cell[21613, 508, 401, 13, 46, "Output"], Cell[22017, 523, 105, 2, 31, "Output"], Cell[22125, 527, 87, 1, 31, "Output"], Cell[22215, 530, 91, 1, 31, "Output"], Cell[22309, 533, 88, 1, 31, "Output"], Cell[22400, 536, 90, 1, 31, "Output"] }, Open ]], Cell[22505, 540, 1904, 31, 31, "Input"], Cell[24412, 573, 859, 15, 31, "Input"], Cell[CellGroupData[{ Cell[25296, 592, 4984, 115, 172, "Input"], Cell[30283, 709, 1236, 26, 407, "Output"] }, Open ]], Cell[31534, 738, 931, 16, 31, "Input"], Cell[CellGroupData[{ Cell[32490, 758, 2369, 54, 92, "Input"], Cell[34862, 814, 734, 15, 293, "Output"] }, Open ]] } ] *) (* End of internal cache information *)