(*********************************************************************** Mathematica-Compatible Notebook This notebook can be used on any computer system with Mathematica 3.0, MathReader 3.0, or any compatible application. The data for the notebook starts with the line of stars above. To get the notebook into a Mathematica-compatible application, do one of the following: * Save the data starting with the line of stars above into a file with a name ending in .nb, then open the file inside the application; * Copy the data starting with the line of stars above to the clipboard, then use the Paste menu command inside the application. Data for notebooks contains only printable 7-bit ASCII and can be sent directly in email or through ftp in text mode. Newlines can be CR, LF or CRLF (Unix, Macintosh or MS-DOS style). NOTE: If you modify the data for this notebook not in a Mathematica- compatible application, you must delete the line below containing the word CacheID, otherwise Mathematica-compatible applications may try to use invalid cache data. For more information on notebooks and Mathematica-compatible applications, contact Wolfram Research: web: http://www.wolfram.com email: info@wolfram.com phone: +1-217-398-0700 (U.S.) Notebook reader applications are available free of charge from Wolfram Research. ***********************************************************************) (*CacheID: 232*) (*NotebookFileLineBreakTest NotebookFileLineBreakTest*) (*NotebookOptionsPosition[ 13947, 634]*) (*NotebookOutlinePosition[ 14584, 657]*) (* CellTagsIndexPosition[ 14540, 653]*) (*WindowFrame->Normal*) Notebook[{ Cell[CellGroupData[{ Cell[TextData[{ StyleBox["Mathematica", FontSlant->"Italic"], " Programming" }], "Title", TextAlignment->Center], Cell[BoxData[{ \(Dennis\ Silverman\), \(Mathematical\ Physics\ 212 B\), \(U . C . \ Irvine\)}], "Input", TextAlignment->Center], Cell[CellGroupData[{ Cell["Built-in Programming", "Section"], Cell[BoxData[{ \(Mathematica\ already\ has\ several\ important\ built - in\ programming\ capabilities\), \(over\ and\ above\ standard\ programming\ \(languages . \)\ \ \)}], "Input", CellDingbat->"\[HappySmiley]"], Cell[BoxData[ \(Graphics\ is\ immediately\ \ done\ without\ having\ to\ first\ output\ data\ and\ then\ entering\ a\ graphics\ \(program . \)\)], "Input", CellDingbat->"\[HappySmiley]"], Cell[BoxData[{ \(Matrix\ and\ vector\ algebra\ are\ built\ in, \ saving\ the\ usual\ multiplicative\), \(\(loops . \)\ \ \)}], "Input", CellDingbat->"\[HappySmiley]"], Cell[BoxData[ \(Functions\ are\ easily\ defined\ in\ \(place . \)\)], "Input", CellDingbat->"\[HappySmiley]"], Cell[BoxData[{ \(Standard\ functions\ are\ automatically\ calculated\ without\ adding \), \(subroutine\ links\ or\ encoding\ interpolating\ \(functions . \)\ \ \)}], "Input", CellDingbat->"\[HappySmiley]"], Cell[BoxData[ \(\(Complicated\ algebra\ and\ complex\ numbers\ are\ automatically\ \(handled . \)\ \ \)\)], "Input", CellDingbat->"\[HappySmiley]"], Cell[BoxData[ \(\(Variables\ do\ not\ always\ have\ to\ be\ typed\ or\ \(dimensioned . \)\ \ \)\)], "Input", CellDingbat->"\[HappySmiley]"], Cell[BoxData[ \(\(Differential\ equations\ are\ directly\ solved\ numerically\ without\ direct\ \(programming . \)\ \ \)\)], "Input", CellDingbat->"\[HappySmiley]"], Cell[BoxData[ \(\(Tables\ of\ functions\ can\ be\ directly\ calculated\ without\ having \ to\ write\ \(loops . \)\ \)\)], "Input", CellDingbat->"\[HappySmiley]"] }, Open ]], Cell[CellGroupData[{ Cell["Input and Output of Data", "Section"], Cell[CellGroupData[{ Cell[BoxData[ \(\(?OpenWrite\)\)], "Input"], Cell[BoxData[ \("OpenWrite[\"file\"] opens a file to write output to it, and returns an \ OutputStream object."\)], "Print"] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ \(\(?OpenAppend\)\)], "Input"], Cell[BoxData[ \("OpenAppend[\"file\"] opens a file to append output to it, and returns \ an OutputStream object."\)], "Print"] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ \(outstream = OpenWrite["\"]\)], "Input"], Cell[BoxData[ \(OutputStream["temp", 21]\)], "Output"] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ \(\(?Write\)\)], "Input"], Cell[BoxData[ \("Write[channel, expr1, expr2, ... ] writes the expressions expri in \ sequence, followed by a newline, to the specified output channel."\)], "Print"] }, Open ]], Cell[BoxData[ \(Write[outstream, 1]\)], "Input"], Cell[BoxData[ \(Write[outstream, 2]\)], "Input"], Cell[BoxData[ \(Write[outstream, 3]\)], "Input"], Cell[BoxData[ \(Write[outstream, 4]\)], "Input"], Cell[CellGroupData[{ Cell[BoxData[ \(Close[outstream]\)], "Input"], Cell[BoxData[ \("temp"\)], "Output"] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ \(\(!! temp\)\)], "Input"], Cell["\<\ 1 2 3 4\ \>", "Print"] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ \(readin = OpenRead["\"]\)], "Input"], Cell[BoxData[ \(InputStream["temp", 22]\)], "Output"] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ \(\(?Read\)\)], "Input"], Cell[BoxData[ \("Read[stream] reads one expression from an input stream, and returns \ the expression. Read[stream, type] reads one object of the specified type. \ Read[stream, {type1, type2, ... }] reads a sequence of objects of the \ specified types."\)], "Print"] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ \(Read[readin, Number]\)], "Input"], Cell[BoxData[ \(1\)], "Output"] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ \(Read[readin, Number]\)], "Input"], Cell[BoxData[ \(2\)], "Output"] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ \(a = ReadList["\", Table[Number, {2}]]\)], "Input"], Cell[BoxData[ \({{1, 2}, {3, 4}}\)], "Output"] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ \(Close[readin]\)], "Input"], Cell[BoxData[ \("temp"\)], "Output"] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ \(Close["\"]\)], "Input"], Cell[BoxData[ \("temp"\)], "Output"] }, Open ]], Cell[BoxData[ \(Type\ assignments\ for\ data\ \(are : \ Byte\), \ Character, \ Real, \ Number, \ Word, \nRecord, \ String, \ Expresssion, \ and\ \(Hold[Expression] . \)\)], "Input"] }, Open ]], Cell[CellGroupData[{ Cell["Assignments in Loops", "Section"], Cell[BoxData[{ \(\(i++\)\ \ \ increment\ i\ by\ 1\), \(\(i--\)\ \ \ decrement\ i\ by\ \(1\n++\) i\ \ pre - increment\ \(i\n--\) i\ \ pre - decrement\ i\), \(i += di\ \ \ add\ di\ to\ i\), \(i -= di\ \ \ subtract\ di\ from\ i\), \(x *= c\ \ \ \ \ multiply\ x\ by\ c\), \(x /= c\ \ \ \ \ divide\ x\ by\ c\)}], "Input"] }, Open ]], Cell[CellGroupData[{ Cell["Loops", "Section"], Cell[CellGroupData[{ Cell[BoxData[ \(\(?Do\)\)], "Input"], Cell[BoxData[ \("Do[expr, {imax}] evaluates expr imax times. Do[expr, {i, imax}] \ evaluates expr with the variable i successively taking on the values 1 \ through imax (in steps of 1). Do[expr, {i, imin, imax}] starts with i = imin. \ Do[expr, {i, imin, imax, di}] uses steps di. Do[expr, {i, imin, imax}, {j, \ jmin, jmax}, ... ] evaluates expr looping over different values of j, etc. \ for each i."\)], "Print"] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ \(Do[Print[i], {i, 0, 6, 2}]\)], "Input"], Cell[BoxData[ \(0\)], "Print"], Cell[BoxData[ \(2\)], "Print"], Cell[BoxData[ \(4\)], "Print"], Cell[BoxData[ \(6\)], "Print"] }, Open ]], Cell[BoxData[ \(For\ a\ nested\ \(loop : \)\)], "Input"], Cell[CellGroupData[{ Cell[BoxData[ \(Do[Print[{i, j}], {i, 3}, {j, 3}]\)], "Input"], Cell[BoxData[ \({1, 1}\)], "Print"], Cell[BoxData[ \({1, 2}\)], "Print"], Cell[BoxData[ \({1, 3}\)], "Print"], Cell[BoxData[ \({2, 1}\)], "Print"], Cell[BoxData[ \({2, 2}\)], "Print"], Cell[BoxData[ \({2, 3}\)], "Print"], Cell[BoxData[ \({3, 1}\)], "Print"], Cell[BoxData[ \({3, 2}\)], "Print"], Cell[BoxData[ \({3, 3}\)], "Print"] }, Open ]] }, Open ]], Cell[CellGroupData[{ Cell["Testing Loops", "Section"], Cell[CellGroupData[{ Cell[BoxData[ \(\(?While\)\)], "Input"], Cell[BoxData[ \("While[test, body] evaluates test, then body, repetitively, until test \ first fails to give True."\)], "Print"] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ \(n = 10; While[\((n = n - 1)\) > 5, Print[n]]\)], "Input"], Cell[BoxData[ \(9\)], "Print"], Cell[BoxData[ \(8\)], "Print"], Cell[BoxData[ \(7\)], "Print"], Cell[BoxData[ \(6\)], "Print"] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ \(\(?For\)\)], "Input"], Cell[BoxData[ \("For[start, test, incr, body] executes start, then repeatedly evaluates \ body and incr until test fails to give True."\)], "Print"] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ \(For[i = 1, i < 4, \(i++\), Print[i^2]]\)], "Input"], Cell[BoxData[ \(1\)], "Print"], Cell[BoxData[ \(4\)], "Print"], Cell[BoxData[ \(9\)], "Print"] }, Open ]], Cell[BoxData[{ \(start\ and\ body\ can\ be\ multiple\ statements\ separated\ by\ semicolons . \n\t\tSemicolons\ separate\ statements\ that\ are\ executed \ without\ displaying\), \(the\ \(results . \)\)}], "Input"] }, Open ]], Cell[CellGroupData[{ Cell["Transfers", "Section"], Cell[CellGroupData[{ Cell[BoxData[ \(\(?Label\)\)], "Input"], Cell[BoxData[ \("Label[tag] represents a point in a compound expression to which \ control can be transferred using Goto."\)], "Print"] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ \(\(?Goto\)\)], "Input"], Cell[BoxData[ \("Goto[tag] scans for Label[tag], and transfers control to that \ point."\)], "Print"] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ \(q = 2; Label[begin]; Print[q]; q += 1; If[q < 6, Goto[begin]]\)], "Input"], Cell[BoxData[ \(General::"spell1" \( : \ \) "Possible spelling error: new symbol name \"\!\(begin\)\" is similar to \ existing symbol \"\!\(Begin\)\"."\)], "Message"], Cell[BoxData[ \(2\)], "Print"], Cell[BoxData[ \(3\)], "Print"], Cell[BoxData[ \(4\)], "Print"], Cell[BoxData[ \(5\)], "Print"] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ \(\(?Break\)\)], "Input"], Cell[BoxData[ \("Break[ ] exits the nearest enclosing Do, For or While."\)], "Print"] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ \(\(?Continue\)\)], "Input"], Cell[BoxData[ \("Continue[ ] exits to the nearest enclosing Do, For or While in a \ procedural program."\)], "Print"] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ \(\(?Return\)\)], "Input"], Cell[BoxData[ \("Return[expr] returns the value expr from a function. Return[ ] returns \ the value Null."\)], "Print"] }, Open ]] }, Open ]], Cell[CellGroupData[{ Cell["If Statements", "Section"], Cell[CellGroupData[{ Cell[BoxData[ \(\(?If\)\)], "Input"], Cell[BoxData[ \("If[condition, t, f] gives t if condition evaluates to True, and f if \ it evaluates to False. If[condition, t, f, u] gives u if condition evaluates \ to neither True nor False."\)], "Print"] }, Open ]], Cell[BoxData[ \(Or\ you\ can\ regard\ this\ in\ Fortran\ \(as : \n\t\t\(If[test, then, else] . \)\)\)], "Input"], Cell[CellGroupData[{ Cell[BoxData[ \(Do[Print[i]; If[i > 5, Break[], Continue[]], {i, 10}]\)], "Input"], Cell[BoxData[ \(1\)], "Print"], Cell[BoxData[ \(2\)], "Print"], Cell[BoxData[ \(3\)], "Print"], Cell[BoxData[ \(4\)], "Print"], Cell[BoxData[ \(5\)], "Print"], Cell[BoxData[ \(6\)], "Print"] }, Open ]], Cell[BoxData[ \(For\ nested\ if\ \(statements : \)\)], "Input"], Cell[CellGroupData[{ Cell[BoxData[ \(Do[If[i > 2, \ If[i == 3, Print[i], Print[10 i]], Print[\(-i\)]], {i, 5}]\)], "Input"], Cell[BoxData[ \(\(-1\)\)], "Print"], Cell[BoxData[ \(\(-2\)\)], "Print"], Cell[BoxData[ \(3\)], "Print"], Cell[BoxData[ \(40\)], "Print"], Cell[BoxData[ \(50\)], "Print"] }, Open ]], Cell[BoxData[ \(The\ multiple\ if\ transfer\ statement\ \(is : \)\)], "Input"], Cell[CellGroupData[{ Cell[BoxData[ \(\(?Which\)\)], "Input"], Cell[BoxData[ \("Which[test1, value1, test2, value2, ... ] evaluates each of the testi \ in turn, returning the value of the valuei corresponding to the first one \ that yields True."\)], "Print"] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ \(i = 4\)], "Input"], Cell[BoxData[ \(4\)], "Output"] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ \(Which[i < 1, out = 0, i < 4, out = 1, i < 10, out = 2]; out\)], "Input"], Cell[BoxData[ \(2\)], "Output"] }, Open ]] }, Open ]], Cell[CellGroupData[{ Cell["Compile", "Section"], Cell[CellGroupData[{ Cell[BoxData[ \(\(?Compile\)\)], "Input"], Cell[BoxData[ \("Compile[{x1, x2, ... }, expr] creates a compiled function which \ evaluates expr assuming numerical values of the xi. Compile[{{x1, t1}, ... }, \ expr] assumes that xi is of a type which matches ti. Compile[{{x1, t1, n1}, \ ... }, expr] assumes that xi is a rank ni array of objects each of a type \ which matches ti. Compile[vars, expr, {{p1, pt1}, ... }] assumes that \ subexpressions in expr which match pi are of types which match pti."\)], "Print"] }, Open ]] }, Open ]], Cell[CellGroupData[{ Cell["Modules", "Section"], Cell[CellGroupData[{ Cell[BoxData[ \(\(?Module\)\)], "Input"], Cell[BoxData[ \("Module[{x, y, ... }, expr] specifies that occurrences of the symbols \ x, y, ... in expr should be treated as local. Module[{x = x0, ... }, expr] \ defines initial values for x, ... ."\)], "Print"] }, Open ]] }, Open ]] }, Open ]] }, FrontEndVersion->"X 3.0", ScreenRectangle->{{0, 1280}, {0, 1024}}, WindowSize->{1232, 888}, WindowMargins->{{11, Automatic}, {11, Automatic}} ] (*********************************************************************** Cached data follows. If you edit this Notebook file directly, not using Mathematica, you must remove the line containing CacheID at the top of the file. The cache data will then be recreated when you save this file from within Mathematica. ***********************************************************************) (*CellTagsOutline CellTagsIndex->{} *) (*CellTagsIndex CellTagsIndex->{} *) (*NotebookFileOutline Notebook[{ Cell[CellGroupData[{ Cell[1731, 51, 122, 5, 211, "Title"], Cell[1856, 58, 144, 4, 112, "Input"], Cell[CellGroupData[{ Cell[2025, 66, 39, 0, 101, "Section"], Cell[2067, 68, 234, 5, 82, "Input"], Cell[2304, 75, 198, 3, 82, "Input"], Cell[2505, 80, 182, 4, 82, "Input"], Cell[2690, 86, 115, 2, 52, "Input"], Cell[2808, 90, 227, 5, 82, "Input"], Cell[3038, 97, 160, 3, 52, "Input"], Cell[3201, 102, 152, 3, 52, "Input"], Cell[3356, 107, 177, 3, 82, "Input"], Cell[3536, 112, 173, 3, 52, "Input"] }, Open ]], Cell[CellGroupData[{ Cell[3746, 120, 43, 0, 101, "Section"], Cell[CellGroupData[{ Cell[3814, 124, 47, 1, 52, "Input"], Cell[3864, 127, 128, 2, 74, "Print"] }, Open ]], Cell[CellGroupData[{ Cell[4029, 134, 48, 1, 52, "Input"], Cell[4080, 137, 130, 2, 74, "Print"] }, Open ]], Cell[CellGroupData[{ Cell[4247, 144, 66, 1, 52, "Input"], Cell[4316, 147, 58, 1, 52, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[4411, 153, 43, 1, 52, "Input"], Cell[4457, 156, 169, 2, 74, "Print"] }, Open ]], Cell[4641, 161, 52, 1, 52, "Input"], Cell[4696, 164, 52, 1, 52, "Input"], Cell[4751, 167, 52, 1, 52, "Input"], Cell[4806, 170, 52, 1, 52, "Input"], Cell[CellGroupData[{ Cell[4883, 175, 49, 1, 52, "Input"], Cell[4935, 178, 40, 1, 52, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[5012, 184, 44, 1, 52, "Input"], Cell[5059, 187, 32, 5, 120, "Print"] }, Open ]], Cell[CellGroupData[{ Cell[5128, 197, 62, 1, 52, "Input"], Cell[5193, 200, 57, 1, 52, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[5287, 206, 42, 1, 52, "Input"], Cell[5332, 209, 270, 4, 134, "Print"] }, Open ]], Cell[CellGroupData[{ Cell[5639, 218, 53, 1, 52, "Input"], Cell[5695, 221, 35, 1, 52, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[5767, 227, 53, 1, 52, "Input"], Cell[5823, 230, 35, 1, 52, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[5895, 236, 77, 1, 52, "Input"], Cell[5975, 239, 50, 1, 52, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[6062, 245, 46, 1, 52, "Input"], Cell[6111, 248, 40, 1, 52, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[6188, 254, 50, 1, 52, "Input"], Cell[6241, 257, 40, 1, 52, "Output"] }, Open ]], Cell[6296, 261, 195, 3, 82, "Input"] }, Open ]], Cell[CellGroupData[{ Cell[6528, 269, 39, 0, 101, "Section"], Cell[6570, 271, 352, 7, 262, "Input"] }, Open ]], Cell[CellGroupData[{ Cell[6959, 283, 24, 0, 101, "Section"], Cell[CellGroupData[{ Cell[7008, 287, 40, 1, 52, "Input"], Cell[7051, 290, 419, 6, 194, "Print"] }, Open ]], Cell[CellGroupData[{ Cell[7507, 301, 59, 1, 52, "Input"], Cell[7569, 304, 34, 1, 44, "Print"], Cell[7606, 307, 34, 1, 44, "Print"], Cell[7643, 310, 34, 1, 44, "Print"], Cell[7680, 313, 34, 1, 44, "Print"] }, Open ]], Cell[7729, 317, 60, 1, 52, "Input"], Cell[CellGroupData[{ Cell[7814, 322, 66, 1, 52, "Input"], Cell[7883, 325, 39, 1, 44, "Print"], Cell[7925, 328, 39, 1, 44, "Print"], Cell[7967, 331, 39, 1, 44, "Print"], Cell[8009, 334, 39, 1, 44, "Print"], Cell[8051, 337, 39, 1, 44, "Print"], Cell[8093, 340, 39, 1, 44, "Print"], Cell[8135, 343, 39, 1, 44, "Print"], Cell[8177, 346, 39, 1, 44, "Print"], Cell[8219, 349, 39, 1, 44, "Print"] }, Open ]] }, Open ]], Cell[CellGroupData[{ Cell[8307, 356, 32, 0, 101, "Section"], Cell[CellGroupData[{ Cell[8364, 360, 43, 1, 52, "Input"], Cell[8410, 363, 132, 2, 74, "Print"] }, Open ]], Cell[CellGroupData[{ Cell[8579, 370, 77, 1, 52, "Input"], Cell[8659, 373, 34, 1, 44, "Print"], Cell[8696, 376, 34, 1, 44, "Print"], Cell[8733, 379, 34, 1, 44, "Print"], Cell[8770, 382, 34, 1, 44, "Print"] }, Open ]], Cell[CellGroupData[{ Cell[8841, 388, 41, 1, 52, "Input"], Cell[8885, 391, 152, 2, 74, "Print"] }, Open ]], Cell[CellGroupData[{ Cell[9074, 398, 71, 1, 52, "Input"], Cell[9148, 401, 34, 1, 44, "Print"], Cell[9185, 404, 34, 1, 44, "Print"], Cell[9222, 407, 34, 1, 44, "Print"] }, Open ]], Cell[9271, 411, 236, 4, 112, "Input"] }, Open ]], Cell[CellGroupData[{ Cell[9544, 420, 28, 0, 101, "Section"], Cell[CellGroupData[{ Cell[9597, 424, 43, 1, 52, "Input"], Cell[9643, 427, 139, 2, 74, "Print"] }, Open ]], Cell[CellGroupData[{ Cell[9819, 434, 42, 1, 52, "Input"], Cell[9864, 437, 105, 2, 44, "Print"] }, Open ]], Cell[CellGroupData[{ Cell[10006, 444, 97, 2, 52, "Input"], Cell[10106, 448, 177, 3, 74, "Message"], Cell[10286, 453, 34, 1, 44, "Print"], Cell[10323, 456, 34, 1, 44, "Print"], Cell[10360, 459, 34, 1, 44, "Print"], Cell[10397, 462, 34, 1, 44, "Print"] }, Open ]], Cell[CellGroupData[{ Cell[10468, 468, 43, 1, 52, "Input"], Cell[10514, 471, 89, 1, 44, "Print"] }, Open ]], Cell[CellGroupData[{ Cell[10640, 477, 46, 1, 52, "Input"], Cell[10689, 480, 121, 2, 74, "Print"] }, Open ]], Cell[CellGroupData[{ Cell[10847, 487, 44, 1, 52, "Input"], Cell[10894, 490, 123, 2, 74, "Print"] }, Open ]] }, Open ]], Cell[CellGroupData[{ Cell[11066, 498, 32, 0, 101, "Section"], Cell[CellGroupData[{ Cell[11123, 502, 40, 1, 52, "Input"], Cell[11166, 505, 211, 3, 104, "Print"] }, Open ]], Cell[11392, 511, 123, 2, 82, "Input"], Cell[CellGroupData[{ Cell[11540, 517, 86, 1, 52, "Input"], Cell[11629, 520, 34, 1, 44, "Print"], Cell[11666, 523, 34, 1, 44, "Print"], Cell[11703, 526, 34, 1, 44, "Print"], Cell[11740, 529, 34, 1, 44, "Print"], Cell[11777, 532, 34, 1, 44, "Print"], Cell[11814, 535, 34, 1, 44, "Print"] }, Open ]], Cell[11863, 539, 67, 1, 52, "Input"], Cell[CellGroupData[{ Cell[11955, 544, 116, 2, 52, "Input"], Cell[12074, 548, 39, 1, 44, "Print"], Cell[12116, 551, 39, 1, 44, "Print"], Cell[12158, 554, 34, 1, 44, "Print"], Cell[12195, 557, 35, 1, 44, "Print"], Cell[12233, 560, 35, 1, 44, "Print"] }, Open ]], Cell[12283, 564, 82, 1, 52, "Input"], Cell[CellGroupData[{ Cell[12390, 569, 43, 1, 52, "Input"], Cell[12436, 572, 200, 3, 104, "Print"] }, Open ]], Cell[CellGroupData[{ Cell[12673, 580, 38, 1, 52, "Input"], Cell[12714, 583, 35, 1, 52, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[12786, 589, 92, 1, 52, "Input"], Cell[12881, 592, 35, 1, 52, "Output"] }, Open ]] }, Open ]], Cell[CellGroupData[{ Cell[12965, 599, 26, 0, 101, "Section"], Cell[CellGroupData[{ Cell[13016, 603, 45, 1, 52, "Input"], Cell[13064, 606, 477, 7, 224, "Print"] }, Open ]] }, Open ]], Cell[CellGroupData[{ Cell[13590, 619, 26, 0, 101, "Section"], Cell[CellGroupData[{ Cell[13641, 623, 44, 1, 52, "Input"], Cell[13688, 626, 219, 3, 104, "Print"] }, Open ]] }, Open ]] }, Open ]] } ] *) (*********************************************************************** End of Mathematica Notebook file. ***********************************************************************)