(*CacheID: 234*) (* Internal cache information: NotebookFileLineBreakTest NotebookFileLineBreakTest NotebookDataPosition[ 0, 0] NotebookDataLength[ 67026, 1399] NotebookOptionsPosition[ 65973, 1360] NotebookOutlinePosition[ 66530, 1380] CellTagsIndexPosition[ 66487, 1377] WindowFrame->Normal*) (* Beginning of Notebook Content *) Notebook[{ Cell[CellGroupData[{ Cell[BoxData[ RowBox[{ RowBox[{"(*", RowBox[{" ", StyleBox[ RowBox[{"PHYSISORPTION", ",", " ", RowBox[{"INITIAL", " ", "COVERAGE", " ", "CCALCULATOR"}], ",", " ", "ANALYTICAL"}], FontColor->RGBColor[1, 0, 0]], StyleBox[")", FontColor->RGBColor[1, 0, 0]]}], " ", "*)"}], "\[IndentingNewLine]", "\[IndentingNewLine]", RowBox[{"(*", " ", RowBox[{ "This", " ", "code", " ", "was", " ", "tested", " ", "using", " ", "Mathematica", " ", "v", " ", "10.0", ".1", ".0", " ", RowBox[{"(", RowBox[{"Platform", ":", " ", RowBox[{"Mac", " ", "OS", " ", "X", " ", "x86", " ", RowBox[{"(", RowBox[{ RowBox[{"32", "-", " ", "bit"}], ",", " ", RowBox[{"64", "-", " ", RowBox[{"bit", " ", "Kernel"}]}]}], ")"}]}]}], ")"}]}], "*)"}], "\[IndentingNewLine]", "\[IndentingNewLine]", RowBox[{"(*", " ", RowBox[{"Documentation", " ", "in", " ", "the", " ", RowBox[{ "paper", ":", " ", "\"\\""}]}], " ", "*)"}], "\[IndentingNewLine]", RowBox[{"(*", " ", RowBox[{ RowBox[{"by", " ", "Milos", " ", "Toth"}], ",", RowBox[{"Charlene", " ", "Lobo"}], ",", RowBox[{"Vinzenz", " ", "Friedli"}], ",", RowBox[{ "Aleksandra", " ", "Szkudlarek", " ", "and", " ", "Ivo", " ", "Utke"}]}], " ", "*)"}], "\[IndentingNewLine]", RowBox[{"(*", " ", RowBox[{ RowBox[{"Beilstein", " ", RowBox[{"J", ".", "Nanotechnol", ".", "2015"}]}], ",", "6", ",", RowBox[{"1518", "-", RowBox[{"1540", " ", RowBox[{"(", RowBox[{"open", " ", "access"}], ")"}]}]}]}], " ", "*)"}], " ", "\[IndentingNewLine]", RowBox[{"(*", " ", RowBox[{ RowBox[{"http", ":"}], "//", RowBox[{ RowBox[{"www", ".", "beilstein"}], "-", RowBox[{ RowBox[{ RowBox[{ RowBox[{ RowBox[{"journals", ".", "org"}], "/", "bjnano"}], "/", "content"}], "/", "pdf"}], "/", "2190"}], "-", "4286", "-", "6", "-", RowBox[{"157.", "pdf"}]}]}], " ", "*)"}], " ", "\[IndentingNewLine]", "\[IndentingNewLine]", RowBox[{"(*", RowBox[{ RowBox[{"**", " ", "define"}], " ", "function", " ", "that", " ", "evaluates", " ", "equations"}], " ", "***)"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"evaluateEquations", ":=", RowBox[{"{", RowBox[{ RowBox[{"sol", "=", RowBox[{"DSolve", "[", RowBox[{ RowBox[{"{", RowBox[{"physisorb", ",", RowBox[{"{", RowBox[{ RowBox[{"Np", "[", "0", "]"}], "\[Equal]", "0"}], "}"}]}], "}"}], ",", RowBox[{"{", RowBox[{"Np", "[", "t", "]"}], "}"}], ",", "t"}], "]"}]}], ";"}], "}"}]}], "\[IndentingNewLine]", RowBox[{"(*", RowBox[{ RowBox[{"**", " ", "set"}], " ", "up", " ", "equations"}], " ", "***)"}], " ", "\[IndentingNewLine]", RowBox[{ RowBox[{"A2", "=", RowBox[{"(", RowBox[{"1", "-", RowBox[{"Ap", "*", RowBox[{"Np", "[", "t", "]"}]}]}], ")"}]}], ";", " ", RowBox[{"(*", " ", RowBox[{ "limit", " ", "coverage", " ", "of", " ", "physisorbed", " ", "species", " ", "to", " ", "1", " ", "ML"}], " ", "*)"}], "\[IndentingNewLine]", RowBox[{"physisorb", "=", RowBox[{ RowBox[{ RowBox[{"Np", "'"}], "[", "t", "]"}], "==", RowBox[{ RowBox[{"sp", "*", "F", "*", "A2"}], "-", RowBox[{ RowBox[{"Np", "[", "t", "]"}], "*", "kp"}]}]}]}]}], "\[IndentingNewLine]", RowBox[{"evaluateEquations", ";", RowBox[{"FullSimplify", "[", "sol", "]"}]}], "\[IndentingNewLine]"}]}]], "Input", CellChangeTimes->{{3.545593622605394*^9, 3.5455936520679007`*^9}, { 3.545593700138701*^9, 3.545593780877733*^9}, {3.545593818629559*^9, 3.545593845890605*^9}, {3.545593966416913*^9, 3.5455939666898117`*^9}, { 3.545593996844634*^9, 3.545594008906681*^9}, {3.54559414291831*^9, 3.545594149119533*^9}, {3.5455941982730217`*^9, 3.545594301290709*^9}, { 3.545594333115694*^9, 3.5455944080062513`*^9}, {3.5455948283381042`*^9, 3.545594835205947*^9}, {3.545594879111733*^9, 3.545594946739607*^9}, { 3.545595014873361*^9, 3.5455950201507998`*^9}, {3.545595410738702*^9, 3.545595481808715*^9}, {3.5455955465341167`*^9, 3.54559554976226*^9}, { 3.545595969461195*^9, 3.545595977775858*^9}, {3.545596017169383*^9, 3.5455960217810507`*^9}, {3.545596082540064*^9, 3.545596189998969*^9}, { 3.545596305713407*^9, 3.545596362245133*^9}, {3.545596392331855*^9, 3.545596451744137*^9}, {3.545596483417747*^9, 3.5455965494989243`*^9}, { 3.545596635195951*^9, 3.545596684380025*^9}, {3.545596811629291*^9, 3.545596857619356*^9}, {3.545596933158187*^9, 3.545596977707073*^9}, { 3.545597016880925*^9, 3.545597030263378*^9}, {3.545597090534534*^9, 3.5455971077510366`*^9}, {3.545597726047943*^9, 3.5455977377213917`*^9}, { 3.545597807689041*^9, 3.5455978889357977`*^9}, {3.545597942702602*^9, 3.5455980452901907`*^9}, {3.5455981214984617`*^9, 3.54559815783892*^9}, { 3.545598363057526*^9, 3.5455984036390467`*^9}, {3.5455994549813967`*^9, 3.545599524657728*^9}, {3.5455997857375517`*^9, 3.545599886108986*^9}, { 3.5455999543837423`*^9, 3.545600025285009*^9}, {3.5456001149321938`*^9, 3.545600118834983*^9}, {3.545600166827819*^9, 3.545600263618778*^9}, { 3.545600314068585*^9, 3.5456003323402967`*^9}, {3.545600502157552*^9, 3.545600504685534*^9}, {3.545600581373583*^9, 3.545600631339213*^9}, { 3.545600680983746*^9, 3.5456007503544064`*^9}, {3.545601309070656*^9, 3.545601315613141*^9}, {3.545601463321438*^9, 3.545601488835772*^9}, { 3.545601610658228*^9, 3.545601623231358*^9}, {3.5456016830066147`*^9, 3.5456016853766127`*^9}, {3.5456017212504807`*^9, 3.5456017562327347`*^9}, 3.545601992783464*^9, 3.5456020240959473`*^9, 3.545602186821157*^9, { 3.545602269828196*^9, 3.545602518763485*^9}, 3.5456025812799873`*^9, { 3.5456026121250553`*^9, 3.545602706184432*^9}, {3.545602841901168*^9, 3.545602844943697*^9}, {3.545602876210368*^9, 3.5456030697569723`*^9}, { 3.545603165359054*^9, 3.5456031728623343`*^9}, {3.545603293013042*^9, 3.5456033736418743`*^9}, {3.545603528802059*^9, 3.545603719675035*^9}, 3.5456037588351793`*^9, {3.545603827517521*^9, 3.54560397045362*^9}, { 3.5456040028195333`*^9, 3.545604021547737*^9}, {3.5456044528959417`*^9, 3.545604499453834*^9}, {3.545604539388179*^9, 3.545604589167062*^9}, { 3.545604668971417*^9, 3.5456047036136093`*^9}, {3.545604734395595*^9, 3.545604810325037*^9}, {3.545604850980444*^9, 3.545604858225995*^9}, { 3.545604889754655*^9, 3.5456049468707*^9}, {3.545605066124174*^9, 3.5456050752910852`*^9}, {3.545605110184072*^9, 3.545605110425456*^9}, 3.54560514610603*^9, 3.5456051810785437`*^9, 3.545605647769458*^9, { 3.5456056825324593`*^9, 3.545605760087854*^9}, {3.545605864441763*^9, 3.545605931969748*^9}, {3.5456068917009897`*^9, 3.5456069239292*^9}, { 3.545610517272328*^9, 3.545610521840197*^9}, {3.545610552094595*^9, 3.5456106747096987`*^9}, {3.5456107289846973`*^9, 3.5456107324473257`*^9}, {3.545613703341503*^9, 3.545613780002509*^9}, { 3.54561384090661*^9, 3.5456138464215813`*^9}, {3.545613876766473*^9, 3.545613902461652*^9}, {3.5456141814986677`*^9, 3.545614181888014*^9}, { 3.54562090892423*^9, 3.545620997932675*^9}, {3.5456210363165827`*^9, 3.545621039232995*^9}, {3.545621069954479*^9, 3.545621073949615*^9}, { 3.54562117767115*^9, 3.545621182105699*^9}, {3.545621232446577*^9, 3.545621241898546*^9}, {3.545621280690489*^9, 3.545621305225215*^9}, 3.545621422687517*^9, {3.545621463716329*^9, 3.545621464081686*^9}, { 3.5456215227784357`*^9, 3.5456215440517197`*^9}, {3.545621650663321*^9, 3.545621675868897*^9}, {3.545621803217785*^9, 3.545621809006225*^9}, { 3.5456218390718184`*^9, 3.54562183928249*^9}, {3.5456220356704082`*^9, 3.545622036039263*^9}, {3.5456224158320208`*^9, 3.5456224195430813`*^9}, { 3.5456228396397257`*^9, 3.5456228430636387`*^9}, {3.545623856582357*^9, 3.545623857904948*^9}, {3.545624426848063*^9, 3.545624430809279*^9}, { 3.545624502285872*^9, 3.54562452288525*^9}, {3.545624567547442*^9, 3.545624571042581*^9}, {3.545624679336718*^9, 3.54562468199264*^9}, { 3.5456255176858892`*^9, 3.545625546742899*^9}, {3.545625976390609*^9, 3.545626193052737*^9}, {3.545626225443667*^9, 3.5456263303533278`*^9}, 3.545627138819399*^9, {3.545680647156466*^9, 3.545680649771125*^9}, { 3.5456806830729103`*^9, 3.5456807163192453`*^9}, {3.545680815658016*^9, 3.545680847311594*^9}, {3.5456811332612247`*^9, 3.545681137834345*^9}, { 3.5456812047503443`*^9, 3.5456812184880543`*^9}, {3.545681549513342*^9, 3.545681563117752*^9}, {3.5456816047815638`*^9, 3.545681612564296*^9}, 3.545681686441505*^9, 3.5456817271136827`*^9, {3.545940582858685*^9, 3.5459406463166428`*^9}, 3.545940680926219*^9, {3.5459407126853437`*^9, 3.545940719161971*^9}, {3.545942981759048*^9, 3.5459429830024977`*^9}, { 3.545943064179339*^9, 3.5459431060248547`*^9}, {3.545943172704026*^9, 3.5459431817086563`*^9}, {3.5459432735256042`*^9, 3.545943274409772*^9}, { 3.5459433089910507`*^9, 3.545943329550262*^9}, {3.545943642534419*^9, 3.545943653467512*^9}, {3.545943764469323*^9, 3.545943857589327*^9}, { 3.545943992702998*^9, 3.5459440945349407`*^9}, 3.5459441308188477`*^9, { 3.546031953619293*^9, 3.5460320044780416`*^9}, {3.546033722892148*^9, 3.5460337251166983`*^9}, {3.546036647092533*^9, 3.5460366482093277`*^9}, { 3.5460379439214907`*^9, 3.5460379440944233`*^9}, {3.546038093775237*^9, 3.546038428607135*^9}, {3.5460384735379553`*^9, 3.5460385182194347`*^9}, { 3.5460391657033453`*^9, 3.546039165908293*^9}, 3.546039206098564*^9, 3.546039313535611*^9, {3.546039435325387*^9, 3.5460394601600246`*^9}, { 3.546040328471211*^9, 3.546040389812194*^9}, {3.5460404212498302`*^9, 3.546040437850378*^9}, {3.5460404713989983`*^9, 3.546040564439208*^9}, { 3.5460406761987123`*^9, 3.5460406985769253`*^9}, {3.546040737375806*^9, 3.546040793815825*^9}, {3.54604088907795*^9, 3.546040889731887*^9}, { 3.54604094780586*^9, 3.546041058945307*^9}, {3.5460411525958242`*^9, 3.546041272660152*^9}, {3.546041324788903*^9, 3.5460414144857187`*^9}, 3.546041460273478*^9, {3.5460414912760878`*^9, 3.546041496962871*^9}, { 3.546041562318124*^9, 3.546041592432583*^9}, {3.546041683407056*^9, 3.5460416837587223`*^9}, {3.546041746319212*^9, 3.546041770498487*^9}, { 3.546041837175954*^9, 3.546041856706306*^9}, {3.546041898410812*^9, 3.54604202774501*^9}, {3.546042076913718*^9, 3.5460421825857773`*^9}, { 3.5460422226248503`*^9, 3.546042226294868*^9}, {3.546042272145211*^9, 3.546042306277852*^9}, {3.5460423510376177`*^9, 3.5460423789597063`*^9}, { 3.546042461856044*^9, 3.546042467242606*^9}, {3.5460425011392727`*^9, 3.546042519011558*^9}, {3.5460427174761467`*^9, 3.546042740986926*^9}, { 3.5460549580721607`*^9, 3.546054959110705*^9}, 3.5460555288044167`*^9, 3.5460567371222153`*^9, {3.546058240490342*^9, 3.546058265643917*^9}, { 3.5460583021105757`*^9, 3.546058302333075*^9}, {3.54605834248949*^9, 3.546058342649762*^9}, {3.546059604346424*^9, 3.546059633477109*^9}, { 3.546061002035707*^9, 3.546061002551758*^9}, {3.546061055037258*^9, 3.5460610555895348`*^9}, {3.546465018359*^9, 3.546465020194607*^9}, { 3.546465051087666*^9, 3.546465051807393*^9}, {3.546465100791939*^9, 3.546465137219553*^9}, 3.546476554836768*^9, {3.546477254997637*^9, 3.546477279983939*^9}, {3.5464774105188713`*^9, 3.546477411224106*^9}, { 3.546477448208378*^9, 3.546477448525716*^9}, {3.548310466146838*^9, 3.548310468670226*^9}, 3.626907646656703*^9, 3.626907700443508*^9, { 3.626907742382634*^9, 3.626907766526469*^9}, {3.626907803088305*^9, 3.626907900128058*^9}, {3.6269079456305037`*^9, 3.626908096683073*^9}, { 3.626908175901203*^9, 3.626908235818717*^9}, {3.6269155544674463`*^9, 3.626915557463131*^9}, {3.626915589140777*^9, 3.6269156390282927`*^9}, { 3.626915677475625*^9, 3.62691568770885*^9}, {3.6269157590453873`*^9, 3.62691576938783*^9}, {3.626915812772231*^9, 3.6269158554366426`*^9}, { 3.6269158914928007`*^9, 3.626915957657825*^9}, {3.6269160417244987`*^9, 3.626916063790874*^9}, {3.631374553337232*^9, 3.631374564067709*^9}, { 3.631374712837816*^9, 3.6313750434798107`*^9}, 3.631375077133059*^9, { 3.631376332186512*^9, 3.6313763560548077`*^9}, {3.63137641214821*^9, 3.631376420785318*^9}, {3.631376589134753*^9, 3.6313766490860567`*^9}, { 3.631376693039163*^9, 3.631376849467311*^9}, {3.6313770247274714`*^9, 3.631377034537777*^9}, {3.631377323821167*^9, 3.6313773284880543`*^9}, { 3.631378068408208*^9, 3.631378090548847*^9}, {3.6354426624839973`*^9, 3.635442696850754*^9}, {3.64489841251987*^9, 3.644898440026081*^9}, { 3.644898653692278*^9, 3.644898760104479*^9}, {3.6448991264337053`*^9, 3.644899171501934*^9}, {3.646002515150419*^9, 3.646002538030545*^9}}], Cell[BoxData[ RowBox[{ RowBox[{ SuperscriptBox["Np", "\[Prime]", MultilineFunction->None], "[", "t", "]"}], "\[Equal]", RowBox[{ RowBox[{ RowBox[{"-", "kp"}], " ", RowBox[{"Np", "[", "t", "]"}]}], "+", RowBox[{"F", " ", "sp", " ", RowBox[{"(", RowBox[{"1", "-", RowBox[{"Ap", " ", RowBox[{"Np", "[", "t", "]"}]}]}], ")"}]}]}]}]], "Output", CellChangeTimes->{{3.546041160958767*^9, 3.5460411732740393`*^9}, { 3.546041216861188*^9, 3.5460412732127037`*^9}, {3.546041327265106*^9, 3.546041415085876*^9}, 3.546041462673644*^9, 3.5460414974686737`*^9, 3.546041593678466*^9, 3.546041685484968*^9, {3.5460417554197702`*^9, 3.546041771406828*^9}, {3.546041847425962*^9, 3.5460418599824047`*^9}, 3.546041906659306*^9, 3.546042033971017*^9, 3.54604212612502*^9, 3.5460422269955063`*^9, 3.5460423104497833`*^9, 3.5460423815216417`*^9, 3.546042478255501*^9, 3.546042520755836*^9, {3.546042718404578*^9, 3.546042742043247*^9}, 3.546043053447414*^9, 3.546054970626151*^9, 3.546055531699061*^9, {3.546056616331687*^9, 3.546056626779685*^9}, 3.546056738760666*^9, {3.546058242405678*^9, 3.5460582668955717`*^9}, 3.5460583075386744`*^9, 3.546058345250922*^9, {3.5460596068863497`*^9, 3.5460596340682163`*^9}, 3.5460610129970713`*^9, 3.546061062229313*^9, 3.546062488427413*^9, 3.546063446271009*^9, 3.546068130192952*^9, 3.546068270801525*^9, {3.5464650214546757`*^9, 3.5464650525822287`*^9}, { 3.546465102418089*^9, 3.546465138165887*^9}, 3.546476555867*^9, { 3.546477256226651*^9, 3.546477280519018*^9}, 3.546477411663375*^9, 3.546477449617937*^9, 3.546542438559313*^9, 3.548310549047262*^9, 3.626908268343809*^9, 3.626916068751648*^9, 3.631374943930332*^9, { 3.631374991110135*^9, 3.631375044376614*^9}, 3.631375078596142*^9, 3.6313763619494057`*^9, 3.6313764525190907`*^9, 3.631376516564431*^9, { 3.6313766253189287`*^9, 3.631376649922427*^9}, {3.631376821443623*^9, 3.6313768501935387`*^9}, {3.63137732924684*^9, 3.631377345489155*^9}, { 3.631377379076209*^9, 3.631377388732183*^9}, 3.6313774267930727`*^9, { 3.631378069791418*^9, 3.631378090824788*^9}, 3.632511805775423*^9, 3.632512928542788*^9}], Cell[BoxData[ RowBox[{"{", RowBox[{"{", RowBox[{ RowBox[{"Np", "[", "t", "]"}], "\[Rule]", RowBox[{"-", FractionBox[ RowBox[{ RowBox[{"(", RowBox[{ RowBox[{"-", "1"}], "+", SuperscriptBox["\[ExponentialE]", RowBox[{ RowBox[{"-", RowBox[{"(", RowBox[{"kp", "+", RowBox[{"Ap", " ", "F", " ", "sp"}]}], ")"}]}], " ", "t"}]]}], ")"}], " ", "F", " ", "sp"}], RowBox[{"kp", "+", RowBox[{"Ap", " ", "F", " ", "sp"}]}]]}]}], "}"}], "}"}]], "Output", CellChangeTimes->{{3.546041160958767*^9, 3.5460411732740393`*^9}, { 3.546041216861188*^9, 3.5460412732127037`*^9}, {3.546041327265106*^9, 3.546041415085876*^9}, 3.546041462673644*^9, 3.5460414974686737`*^9, 3.546041593678466*^9, 3.546041685484968*^9, {3.5460417554197702`*^9, 3.546041771406828*^9}, {3.546041847425962*^9, 3.5460418599824047`*^9}, 3.546041906659306*^9, 3.546042033971017*^9, 3.54604212612502*^9, 3.5460422269955063`*^9, 3.5460423104497833`*^9, 3.5460423815216417`*^9, 3.546042478255501*^9, 3.546042520755836*^9, {3.546042718404578*^9, 3.546042742043247*^9}, 3.546043053447414*^9, 3.546054970626151*^9, 3.546055531699061*^9, {3.546056616331687*^9, 3.546056626779685*^9}, 3.546056738760666*^9, {3.546058242405678*^9, 3.5460582668955717`*^9}, 3.5460583075386744`*^9, 3.546058345250922*^9, {3.5460596068863497`*^9, 3.5460596340682163`*^9}, 3.5460610129970713`*^9, 3.546061062229313*^9, 3.546062488427413*^9, 3.546063446271009*^9, 3.546068130192952*^9, 3.546068270801525*^9, {3.5464650214546757`*^9, 3.5464650525822287`*^9}, { 3.546465102418089*^9, 3.546465138165887*^9}, 3.546476555867*^9, { 3.546477256226651*^9, 3.546477280519018*^9}, 3.546477411663375*^9, 3.546477449617937*^9, 3.546542438559313*^9, 3.548310549047262*^9, 3.626908268343809*^9, 3.626916068751648*^9, 3.631374943930332*^9, { 3.631374991110135*^9, 3.631375044376614*^9}, 3.631375078596142*^9, 3.6313763619494057`*^9, 3.6313764525190907`*^9, 3.631376516564431*^9, { 3.6313766253189287`*^9, 3.631376649922427*^9}, {3.631376821443623*^9, 3.6313768501935387`*^9}, {3.63137732924684*^9, 3.631377345489155*^9}, { 3.631377379076209*^9, 3.631377388732183*^9}, 3.6313774267930727`*^9, { 3.631378069791418*^9, 3.631378090824788*^9}, 3.632511805775423*^9, 3.632512930254773*^9}] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ RowBox[{ RowBox[{"(*", " ", RowBox[{ "plot", " ", "the", " ", "above", " ", "solution", " ", "vs", " ", "time"}], " ", "*)"}], "\[IndentingNewLine]", RowBox[{"(*", " ", RowBox[{">>>", ">>>", ">>>", ">>>", ">>>", RowBox[{">", " ", RowBox[{"INPUT", " ", "PARAMETERS", " ", RowBox[{"<<", RowBox[{"<<", RowBox[{"<<", RowBox[{"<<", RowBox[{"<<", RowBox[{"<<", RowBox[{"<<", "<<"}]}]}]}]}]}]}]}]}]}], " ", "*)"}], " ", "\[IndentingNewLine]", RowBox[{ RowBox[{ RowBox[{"tmin", "=", RowBox[{"10", "^", RowBox[{"-", "9"}]}]}], ";", RowBox[{"tmax", "=", "0.1"}], ";", " ", RowBox[{"(*", " ", "sec", " ", "*)"}], "\[IndentingNewLine]", RowBox[{"k0", "=", RowBox[{"8617332478", "*", RowBox[{"10", "^", RowBox[{"(", RowBox[{"-", "14"}], ")"}]}]}]}], ";", RowBox[{"(*", " ", RowBox[{ RowBox[{"Boltzmann", "'"}], "s", " ", "constant", " ", RowBox[{"(", RowBox[{"eV", "/", "K"}], ")"}]}], " ", "*)"}], "\[IndentingNewLine]", RowBox[{"T0", "=", "300"}], ";", " ", RowBox[{"Tg0", "=", "300"}], ";", RowBox[{"(*", " ", RowBox[{ RowBox[{"sample", " ", "&"}], " ", "gas", " ", "temperatures", " ", RowBox[{"(", "K", ")"}]}], " ", "*)"}], "\[IndentingNewLine]", RowBox[{"P0", "=", "0.05"}], " ", ";", RowBox[{"(*", " ", RowBox[{"gas", " ", "pressure", " ", RowBox[{"(", "Torr", ")"}]}], " ", "*)"}], "\[IndentingNewLine]", RowBox[{"Z0", "=", "208.33"}], ";", " ", RowBox[{"(*", " ", RowBox[{ RowBox[{"TEOS", " ", RowBox[{"(", RowBox[{ SubscriptBox["SiC", "8"], SubscriptBox["H", "20"], SubscriptBox["O", "4"]}], ")"}]}], ";", " ", RowBox[{"mass", " ", "of", " ", "gas", " ", "molecule", " ", RowBox[{"(", "amu", ")"}]}]}], " ", "*)"}], " ", "\[IndentingNewLine]", RowBox[{"sp0", "=", "1"}], ";", RowBox[{"Ap0", "=", "100"}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"Ed0", "=", RowBox[{"510", "/", "1000"}]}], ";", RowBox[{"(*", " ", RowBox[{"(", "eV", ")"}], " ", "*)"}], "\[IndentingNewLine]", RowBox[{"\[Kappa]p0", "=", RowBox[{"1.0", "*", RowBox[{"10", "^", "13"}]}]}], ";", RowBox[{"(*", " ", SuperscriptBox["s", RowBox[{"-", "1"}]], " ", "*)"}], "\[IndentingNewLine]", RowBox[{"(*", " ", RowBox[{">>>", ">>>", ">>>", ">>>", ">>>", RowBox[{">", " ", RowBox[{"END", " ", "OF", " ", "PARAMETERS", " ", RowBox[{"<<", RowBox[{"<<", RowBox[{"<<", RowBox[{"<<", RowBox[{"<<", RowBox[{"<<", RowBox[{"<<", "<<"}]}]}]}]}]}]}]}]}]}], " ", "*)"}], "\[IndentingNewLine]", RowBox[{"F", "=", RowBox[{"P", "*", RowBox[{"13332200", "/", RowBox[{"Sqrt", "[", RowBox[{ "2", "*", "Pi", "*", "Z", "*", "1.66053873", "*", "1.38066", "*", "Tg"}], "]"}]}]}]}], ";", " ", RowBox[{"(*", " ", RowBox[{"gas", " ", "molecule", " ", "flux", " ", RowBox[{"(", RowBox[{ SuperscriptBox["\[CapitalARing]", RowBox[{"-", "2"}]], SuperscriptBox["s", RowBox[{"-", "1"}]]}], ")"}]}], " ", "*)"}], "\[IndentingNewLine]", RowBox[{"kp", "=", RowBox[{"\[Kappa]p", "*", RowBox[{"Exp", "[", RowBox[{ RowBox[{"-", "Ed"}], "/", RowBox[{"(", RowBox[{"k", "*", "T"}], ")"}]}], "]"}]}]}], ";", RowBox[{"(*", RowBox[{ "physisorbed", " ", "molecule", " ", "desorption", " ", "rate", " ", RowBox[{"(", SuperscriptBox["s", RowBox[{"-", "1"}]], ")"}]}], "*)"}], "\[IndentingNewLine]", RowBox[{"(*", RowBox[{ RowBox[{"**", " ", "define"}], " ", "function", " ", "that", " ", "performs", " ", "parameter", " ", "substitutions"}], " ", "***)"}], "\[IndentingNewLine]", RowBox[{"refreshSubstitutions", ":=", RowBox[{"{", "\[IndentingNewLine]", RowBox[{ RowBox[{"sub", "=", RowBox[{"{", RowBox[{ RowBox[{"k", "\[Rule]", "k0"}], ",", RowBox[{"Ed", "\[Rule]", "Ed0"}], ",", RowBox[{"\[Kappa]p", "\[Rule]", "\[Kappa]p0"}], ",", RowBox[{"sp", "\[Rule]", "sp0"}], ",", RowBox[{"Ap", "\[Rule]", "Ap0"}], ",", " ", RowBox[{"T", "\[Rule]", "T0"}], ",", RowBox[{"Tg", "\[Rule]", "Tg0"}], ",", RowBox[{"P", "\[Rule]", "P0"}], ",", RowBox[{"Z", "\[Rule]", "Z0"}]}], "}"}]}], ";"}], "}"}]}]}], "\[IndentingNewLine]", RowBox[{"refreshSubstitutions", ";"}], "\[IndentingNewLine]", "\[IndentingNewLine]", RowBox[{"Print", "[", RowBox[{"Style", "[", RowBox[{"\"\\"", ",", "Bold"}], "]"}], "]"}], "\[IndentingNewLine]", RowBox[{"Quiet", "[", RowBox[{"LogLinearPlot", "[", RowBox[{ RowBox[{"{", RowBox[{"Evaluate", "[", RowBox[{ RowBox[{ RowBox[{"Np", "[", "t", "]"}], "/.", "sol"}], "/.", "sub"}], "]"}], "}"}], ",", RowBox[{"{", RowBox[{"t", ",", "tmin", ",", "tmax"}], "}"}], ",", RowBox[{"PlotRange", "\[Rule]", "All"}], ",", " ", RowBox[{"Frame", "\[Rule]", "True"}], ",", " ", RowBox[{"FrameLabel", "\[Rule]", RowBox[{"{", RowBox[{ "\"\