(* 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[ 3361, 111] NotebookOptionsPosition[ 2618, 85] NotebookOutlinePosition[ 3314, 108] CellTagsIndexPosition[ 3271, 105] WindowFrame->Normal*) (* Beginning of Notebook Content *) Notebook[{ Cell[CellGroupData[{ Cell["\<\ (* Na+Cl- ionpair Kimball, Ne/Ar-center, 16.2.2012 *) Clear[k1,k2,k3,k4,k5,sig1,sig2,sig3,sig4,sig5,c,z,R1,R2,R3,R4,R5,S2,S3,S4]; c = {k1 -> 0.99, k2 -> 1.98, k3 -> 0.99, k4 -> 1.1, k5 -> 2.83, sig1 -> 0.3, \ sig2 -> 0.3, sig3 -> 0.3, sig4 -> 0.3, sig5 -> 0.3}; z=11.0; z1=17.0; ad = Sqrt[3./8.]; (* He and Neon shell of Na+ *) T = 2.25*k1/R1^2+9.0*k2/R2^2 /. c; Vee = 3.0*sig1/R1+12.0*sig2/R2+16/(R1+R2)+24*ad/(R1+R2) /. c; Vne = -3.0*z/R1-8.0*z/(R1+R2); S2 = R2*4^(1/3); (* He and Neon shell of Cl- *) T = T + 2.25*k3/R3^2+9.0*k4/R4^2 /. c; Vee = Vee + 3.0*sig3/R3+12.0*sig4/R4+16/(R3+R4)+24*ad/(R3+R4) /. c; Vne = Vne -3.0*z1/R3-8.0*z1/(R3+R4); S3 = R4*4^(1/3); (* Argon shell, full for Cl- *) T = T + 9.0*k5/R5^2 /. c; Vee = Vee+12.0*sig5/R5+80.0/(S3+R5)+24.0*ad/(S3+R5) /. c; Vne = Vne-8.35*z1/(S3+R5); S4 = R5*4^(1/3); (* Na+Cl- ionpair; these terms sum up to -1/d *) d=S2+S4 /. c; Vnn=z*z1/d; Vee=Vee+(z-1)*(z1+1)/d; Vne=Vne-(z*(z1+1)+(z-1)*z1)/d; func = T + Vee + Vne + Vnn; t = FindMinimum[func, {R1,0.1347}, {R2,0.8961},{R3,0.08152}, {R4,0.3107}, \ {R5,1.914265}, {Method ->\"Newton\"}, {MaxIterations -> 500}] N[-(Vee+Vne+Vnn)/T /. c /. t[[2]],10] d*0.529177 /. c /. t[[2]]\ \>", "Input", CellChangeTimes->{{3.573143308460661*^9, 3.57314331353067*^9}}], Cell[BoxData[ RowBox[{"{", RowBox[{ RowBox[{"-", "589.6654682154369`"}], ",", RowBox[{"{", RowBox[{ RowBox[{"R1", "\[Rule]", "0.13468077170191914`"}], ",", RowBox[{"R2", "\[Rule]", "0.8961243396207066`"}], ",", RowBox[{"R3", "\[Rule]", "0.08152040325557708`"}], ",", RowBox[{"R4", "\[Rule]", "0.3107033014336925`"}], ",", RowBox[{"R5", "\[Rule]", "1.9163906967592368`"}]}], "}"}]}], "}"}]], "Output", CellChangeTimes->{3.573143288180626*^9, 3.573143318538279*^9}], Cell[BoxData["1.9999999999988898`"], "Output", CellChangeTimes->{3.573143288180626*^9, 3.573143318553879*^9}], Cell[BoxData["2.362557986519256`"], "Output", CellChangeTimes->{3.573143288180626*^9, 3.573143318553879*^9}] }, Open ]] }, PrintingStyleEnvironment->"Printout", WindowSize->{988, 797}, WindowMargins->{{332, Automatic}, {Automatic, 0}}, PrintingCopies->1, PrintingPageRange->{Automatic, Automatic}, PrintingOptions->{"PrintCellBrackets"->False, "PrintMultipleHorizontalPages"->False, "PrintRegistrationMarks"->False, "PrintingMargins"->{{34, 14.125}, {56.6875, 56.6875}}}, 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[CellGroupData[{ Cell[579, 22, 1283, 40, 626, "Input"], Cell[1865, 64, 512, 12, 31, "Output"], Cell[2380, 78, 110, 1, 31, "Output"], Cell[2493, 81, 109, 1, 63, "Output"] }, Open ]] } ] *) (* End of internal cache information *)