(*********************************************************************** 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[ 10061, 379]*) (*NotebookOutlinePosition[ 39719, 1434]*) (* CellTagsIndexPosition[ 39675, 1430]*) (*WindowFrame->Normal*) Notebook[{ Cell[TextData[StyleBox["Rules for multiplying quaternion exponentials", FontSize->18]], "Subtitle", Evaluatable->False, AspectRatioFixed->True, FontFamily->"Times New Roman", FontSize->12], Cell[TextData[StyleBox["doug ", FontSize->14]], "Subsubtitle", Evaluatable->False, AspectRatioFixed->True, FontFamily->"Times New Roman", FontSize->12], Cell[TextData[StyleBox["Start with two arbitary quatenrions."]], "Text", FontSize->12], Cell[BoxData[ \(A\ = \ q[2, 1, 3, 4]; \nB\ = \ q[1, 2, 3, 5]; \)], "Input", FontSize->16], Cell[TextData[StyleBox[ "The product of two quaternions AB is composed of two parts, and even and an \ odd part, the latter of which changes its sign for BA."]], "Text", FontSize->12], Cell[CellGroupData[{ Cell[BoxData[{ \(\((A.B)\).{1, 0, 0, 0}\), \(\((even\ = \ \((A.B\ + \ B.A)\)/2)\).{1, 0, 0, 0}\), \(\((odd\ = \ \((A.B\ - \ B.A)\)/2)\).{1, 0, 0, 0}\)}], "Input", FontSize->16], Cell[BoxData[ \({\(-29\), 8, 12, 11}\)], "Output", FontSize->16], Cell[BoxData[ \({\(-29\), 5, 9, 14}\)], "Output", FontSize->16], Cell[BoxData[ \({0, 3, 3, \(-3\)}\)], "Output", FontSize->16] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[{ \(\((B.A)\).{1, 0, 0, 0}\), \(\((even\ - \ odd)\).{1, 0, 0, 0}\)}], "Input", FontSize->16], Cell[BoxData[ \({\(-29\), 2, 6, 17}\)], "Output", FontSize->16], Cell[BoxData[ \({\(-29\), 2, 6, 17}\)], "Output", FontSize->16] }, Open ]], Cell[TextData[StyleBox[ "Any quaternion can be expressed in polar form. This involves three numbers: \ The amplitude, which is the absolute value of a quaternion (square root of \ the norm), an angle theta, which is the ArcCos of the scalar divided by the \ absolute value, and a pure quaternion vector with a norm of 1."]], "Text", FontSize->12], Cell[CellGroupData[{ Cell[BoxData[ \(R\_A\ = \ abs[A]; \n \[Theta]\_A\ = \ ArcCos[\((\(A\ + \ qconj[A]\)\/\(2\ abs[A]\))\)[\([1, 1]\)]]; \n V\_A\ = \ \(A\ - qconj[A]\)\/\(\ abs[A\ - \ qconj[A]]\); \n R\_A\ qexp[\[Theta]\_A\ V\_A].{1, 0, 0, 0}\)], "Input", FontSize->16], Cell[BoxData[ \({2, 1, 3, 4}\)], "Output", FontSize->16] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ \(R\_B\ = \ abs[B]; \n \[Theta]\_B\ = \ ArcCos[\((\(B\ + \ qconj[B]\)\/\(2\ abs[B]\))\)[\([1, 1]\)]]; \n V\_B\ = \ \(B\ - qconj[B]\)\/\(\ abs[B\ - \ qconj[B]]\); \n R\_B\ qexp[\[Theta]\_B\ V\_B].{1, 0, 0, 0}\)], "Input", FontSize->16], Cell[BoxData[ \({1, 2, 3, 5}\)], "Output", FontSize->16] }, Open ]], Cell[CellGroupData[{ Cell[TextData[StyleBox[ "The even part of the quaternion product is formed by using the even part of \ AB in the polar form."]], "Text", PageBreakAbove->True, GroupPageBreakWithin->Automatic, FontSize->12], Cell[CellGroupData[{ Cell[BoxData[ \(R\_Even\ = \ abs[\(A.B\ + \ B.A\)\/2]; \n \[Theta]\_Even\ = \n\t\ ArcCos[\(( \(\((A.B\ + \ B.A)\)\ + \ qconj[A.B\ + \ B.A]\)\/\(2\ abs[A.B\ + \ B.A]\))\)[\([1, 1]\)]]; \n V\_Even\ = \ \(\((A.B\ + \ B.A)\)\ - qconj[A.B\ + \ B.A]\)\/\(\ abs[\((A.B\ + \ B.A)\)\ - \ qconj[A.B\ + \ B.A]]\); \n R\_Even\ qexp[\[Theta]\_Even\ V\_Even].{1, 0, 0, 0}\)], "Input", CellMargins->{{10, Inherited}, {Inherited, Inherited}}, PageBreakAbove->Automatic, GroupPageBreakWithin->Automatic, FontSize->16], Cell[BoxData[ \({\(-29\), 5, 9, 14}\)], "Output", FontSize->16] }, Open ]] }, Open ]], Cell[TextData[StyleBox[ "The odd part of the quaternion product is formed by using the odd part of \ AB--which is a pure quaternion--in the polar form, with an angle theta = \ Pi/2."]], "Text", FontSize->12], Cell[CellGroupData[{ Cell[BoxData[ \(R\_Odd\ = \ abs[\(A.B\ - \ B.A\)\/2]; \n\[Theta]\_Odd\ = \ \[Pi]\/2; \nV\_Odd\ = \ \(A.B\ - \ B.A\)\/\(\ abs[A.B\ - \ B.A]\); \n R\_Odd\ qexp[\[Theta]\_Odd\ V\_Odd].{1, 0, 0, 0}\)], "Input", FontSize->16], Cell[BoxData[ \({0, 3, 3, \(-3\)}\)], "Output", FontSize->16] }, Open ]], Cell[TextData[StyleBox[ "See if the scalar parts add if the vector is equal to i."]], "Text", PageBreakAbove->True, FontSize->12], Cell[BoxData[ \(a = q[2, 4, 0, 0]; \nb = q[3, 5, 0, 0]; \)], "Input", FontSize->16], Cell[CellGroupData[{ Cell[BoxData[{ \(\[Theta]\_complex\ = \ ArcCos[\(( \(a.b\ + \ a.b\ + \ qconj[a.b\ + \ a.b]\)\/\(2\ abs[a.b\ + \ a.b]\))\)[\([1, 1]\)]]\), \(\((V\_complex\ = \ \(a.b\ + \ a.b\ - qconj[a.b\ + \ a.b]\)\/\(\ abs[a.b\ + \ a.b\ - \ qconj[a.b\ + \ a.b]]\))\).{1, 0, 0, 0} \)}], "Input", FontSize->16], Cell[BoxData[ \(ArcCos[\(-\(7\/\@170\)\)]\)], "Output", FontSize->16], Cell[BoxData[ \({0, 1, 0, 0}\)], "Output", FontSize->16] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[{ \(\[Theta]\_a\ = \ ArcCos[\((\(a\ + \ qconj[a]\)\/\(2\ abs[a]\))\)[\([1, 1]\)]]\), \(\[Theta]\_b\ = \ ArcCos[\((\(b\ + \ qconj[b]\)\/\(2\ abs[b]\))\)[\([1, 1]\)]]\), \(N[\[Theta]\_a\ + \ \[Theta]\_b\ - \ ArcCos[\(-\(7\/\@170\)\)]]\)}], "Input", FontSize->16], Cell[BoxData[ \(ArcCos[1\/\@5]\)], "Output", FontSize->16], Cell[BoxData[ \(ArcCos[3\/\@34]\)], "Output", FontSize->16], Cell[BoxData[ \(0.`\)], "Output", FontSize->16] }, Open ]], Cell[TextData[StyleBox[ "Look for a simpler rule for the amplitude. The product Ra Rb is diminished \ by the exponential part."]], "Text", FontSize->12], Cell[CellGroupData[{ Cell[BoxData[ \(R\_Even\ - N[\(R\_A\) R\_B\ abs[\(qexp[\[Theta]\_A\ V\_A].qexp[\[Theta]\_B\ V\_B] + \ qexp[\[Theta]\_B\ V\_B].qexp[\[Theta]\_A\ V\_A]\)\/2]]\)], "Input", FontSize->16], Cell[BoxData[ \(0.`\)], "Output", FontSize->16] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ \(R\_Odd\ - N[\(R\_A\) R\_B\ abs[\(qexp[\[Theta]\_A\ V\_A].qexp[\[Theta]\_B\ V\_B] - \ qexp[\[Theta]\_B\ V\_B].qexp[\[Theta]\_A\ V\_A]\)\/2]]\)], "Input", FontSize->16], Cell[BoxData[ \(0.`\)], "Output", FontSize->16] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ \(\(R\_Even\^2\ \ + \ R\_Odd\^2\)\/\((\(R\_A\) R\_B)\)\^2\)], "Input", FontSize->16], Cell[BoxData[ \(1\)], "Output", FontSize->16] }, Open ]], Cell[TextData[StyleBox["Rules for the Eulcidean product"]], "Subsection"], Cell[TextData[StyleBox[ "The Euclidean product is formed by taking the conjugate of the first \ quaternion and muliplying it by the second."]], "Text", FontSize->12], Cell[CellGroupData[{ Cell[BoxData[{ \(\((qconj[A].B)\).{1, 0, 0, 0}\), \(\((even\ = \ \((qconj[A].B\ + \ qconj[B].A)\)/2)\).{1, 0, 0, 0}\), \(\((odd\ = \ \((qconj[A].B\ - \ qconj[B].A)\)/2)\).{1, 0, 0, 0}\)}], "Input", FontSize->16], Cell[BoxData[ \({33, 0, 0, 9}\)], "Output", FontSize->16], Cell[BoxData[ \({33, 0, 0, 0}\)], "Output", FontSize->16], Cell[BoxData[ \({0, 0, 0, 9}\)], "Output", FontSize->16] }, Open ]], Cell[TextData[StyleBox[ "The even part is the norm with a zero vector, and the odd part has a zero \ scalar. This property clearly separates the even and odd. The even part has \ V = 0, so e^0 = 1, and the only contribution comes from the norm of the even \ part."]], "Text", FontSize->12], Cell[CellGroupData[{ Cell[BoxData[ \(R\_Even\ = \ abs[\(qconj[A].B\ + \ qconj[B].A\)\/2]\)], "Input", FontSize->16], Cell[BoxData[ \(33\)], "Output", FontSize->16] }, Open ]], Cell[TextData[StyleBox[ "The odd part has no scalar, so theta = pi/2."]], "Text", FontSize->12], Cell[CellGroupData[{ Cell[BoxData[ \(R\_Odd\ = \ abs[\(qconj[A].B\ - \ qconj[B].A\)\/2]; \n \[Theta]\_Odd\ = \ \[Pi]\/2; \n V\_Odd\ = \ \(qconj[A].B\ - \ qconj[B].A\)\/\(\ abs[qconj[A].B\ - \ qconj[B].A]\); \n R\_Odd\ qexp[\[Theta]\_Odd\ V\_Odd].{1, 0, 0, 0}\)], "Input", FontSize->16], Cell[BoxData[ \({0, 0, 0, 9}\)], "Output", FontSize->16] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ \(\((qconj[A].A)\).{1, 0, 0, 0}\)], "Input", FontSize->16], Cell[BoxData[ \({30, 0, 0, 0}\)], "Output", FontSize->16] }, Open ]] }, FrontEndVersion->"Microsoft Windows 3.0", ScreenRectangle->{{0, 640}, {0, 451}}, AutoGeneratedPackage->None, WindowToolbars->{"RulerBar", "EditBar"}, CellGrouping->Manual, WindowSize->{524, 213}, WindowMargins->{{2, Automatic}, {Automatic, 5}}, PrintingCopies->1, PrintingPageRange->{Automatic, Automatic}, PageHeaders->{{None, Inherited, None}, {None, Inherited, None}}, PageHeaderLines->{False, False}, PrintingOptions->{"PrintingMargins"->{{72, 57.5625}, {57.5625, 72}}, "PrintCellBrackets"->False, "PrintRegistrationMarks"->False, "PrintMultipleHorizontalPages"->False, "FirstPageHeader"->False, "FirstPageFooter"->False}, PrivateNotebookOptions->{"ColorPalette"->{RGBColor, 128}}, ShowCellTags->False, RenderingOptions->{"ObjectDithering"->True, "RasterDithering"->False}, CharacterEncoding->"MacintoshAutomaticEncoding", StyleDefinitions -> Notebook[{ Cell[CellGroupData[{ Cell[TextData[StyleBox["Style Definitions"]], "Subtitle"], Cell[TextData[StyleBox[ "Modify the definitions below to change the default appearance of all cells \ in a given style. Make modifications to any definition using commands in the \ Format menu."]], "Text"], Cell[CellGroupData[{ Cell[TextData[StyleBox["Style Environment Names"]], "Section"], Cell[StyleData[All, "Working"], PageWidth->WindowWidth, ScriptMinSize->9], Cell[StyleData[All, "Presentation"], PageWidth->WindowWidth, ScriptMinSize->12, FontSize->16], Cell[StyleData[All, "Condensed"], PageWidth->WindowWidth, CellBracketOptions->{"Margins"->{1, 1}, "Widths"->{0, 5}}, ScriptMinSize->8, FontSize->11], Cell[StyleData[All, "Printout"], PageWidth->PaperWidth, ScriptMinSize->5, FontSize->10, PrivateFontOptions->{"FontType"->"Outline"}] }, Closed]], Cell[CellGroupData[{ Cell[TextData[StyleBox["Notebook Options"]], "Section", FontFamily->"New York"], Cell[TextData[StyleBox[ "The options defined for the style below will be used at the Notebook \ level."]], "Text", FontFamily->"New York"], Cell[StyleData["Notebook"], PageHeaders->{{Cell[ TextData[ { CounterBox[ "Page"]}], "PageNumber"], None, Cell[ TextData[ { ValueBox[ "FileName"]}], "Header"]}, {Cell[ TextData[ { ValueBox[ "FileName"]}], "Header"], None, Cell[ TextData[ { CounterBox[ "Page"]}], "PageNumber"]}}, CellFrameLabelMargins->6, StyleMenuListing->None, FontFamily->"New York"] }, Closed]], Cell[CellGroupData[{ Cell[TextData[StyleBox["Styles for Headings"]], "Section", FontFamily->"New York"], Cell[CellGroupData[{ Cell[StyleData["Title"], CellMargins->{{7, Inherited}, {8, 40}}, Evaluatable->False, CellGroupingRules->{"TitleGrouping", 0}, CellHorizontalScrolling->False, PageBreakBelow->False, TextAlignment->Center, CounterIncrements->"Title", CounterAssignments->{{"Section", 0}, {"Equation", 0}, {"Figure", 0}, { "Subtitle", 0}, {"Subsubtitle", 0}}, AspectRatioFixed->True, FontFamily->"New York", FontSize->24, FontWeight->"Bold"], Cell[StyleData["Title", "Presentation"], CellMargins->{{24, 10}, {20, 40}}, LineSpacing->{1, 0}, FontFamily->"New York", FontSize->44], Cell[StyleData["Title", "Condensed"], CellMargins->{{8, 10}, {4, 8}}, FontFamily->"New York", FontSize->20], Cell[StyleData["Title", "Printout"], CellMargins->{{2, 10}, {12, 30}}, FontFamily->"New York", FontSize->24] }, Closed]], Cell[CellGroupData[{ Cell[StyleData["Subtitle"], CellMargins->{{7, Inherited}, {6, 15}}, Evaluatable->False, CellGroupingRules->{"TitleGrouping", 10}, CellHorizontalScrolling->False, PageBreakBelow->False, TextAlignment->Center, CounterIncrements->"Subtitle", CounterAssignments->{{"Section", 0}, {"Equation", 0}, {"Figure", 0}, { "Subsubtitle", 0}}, AspectRatioFixed->True, FontFamily->"New York", FontSize->18], Cell[StyleData["Subtitle", "Presentation"], CellMargins->{{24, 10}, {20, 20}}, LineSpacing->{1, 0}, FontFamily->"New York", FontSize->36], Cell[StyleData["Subtitle", "Condensed"], CellMargins->{{8, 10}, {4, 4}}, FontFamily->"New York", FontSize->14], Cell[StyleData["Subtitle", "Printout"], CellMargins->{{2, 10}, {12, 8}}, FontFamily->"New York", FontSize->18] }, Closed]], Cell[CellGroupData[{ Cell[StyleData["Subsubtitle"], CellMargins->{{7, Inherited}, {6, 15}}, Evaluatable->False, CellGroupingRules->{"TitleGrouping", 20}, CellHorizontalScrolling->False, PageBreakBelow->False, TextAlignment->Center, CounterIncrements->"Subsubtitle", CounterAssignments->{{"Section", 0}, {"Equation", 0}, {"Figure", 0}}, AspectRatioFixed->True, FontFamily->"New York", FontSize->14, FontSlant->"Italic"], Cell[StyleData["Subsubtitle", "Presentation"], CellMargins->{{24, 10}, {20, 20}}, LineSpacing->{1, 0}, FontFamily->"New York", FontSize->24], Cell[StyleData["Subsubtitle", "Condensed"], CellMargins->{{8, 10}, {8, 8}}, FontFamily->"New York", FontSize->12], Cell[StyleData["Subsubtitle", "Printout"], CellMargins->{{2, 10}, {12, 8}}, FontFamily->"New York", FontSize->14] }, Closed]], Cell[CellGroupData[{ Cell[StyleData["Section"], CellDingbat->"\[GraySquare]", CellMargins->{{22, Inherited}, {8, 20}}, Evaluatable->False, CellGroupingRules->{"SectionGrouping", 30}, CellHorizontalScrolling->False, PageBreakBelow->False, CounterIncrements->"Section", CounterAssignments->{{"Subsection", 0}, {"Subsubsection", 0}}, AspectRatioFixed->True, FontFamily->"New York", FontSize->18, FontWeight->"Bold", FontVariations->{"Underline"->True}], Cell[StyleData["Section", "Presentation"], CellMargins->{{40, 10}, {11, 32}}, LineSpacing->{1, 0}, FontFamily->"New York", FontSize->24], Cell[StyleData["Section", "Condensed"], CellMargins->{{18, Inherited}, {6, 12}}, FontFamily->"New York", FontSize->12], Cell[StyleData["Section", "Printout"], CellMargins->{{13, 0}, {7, 22}}, FontFamily->"New York", FontSize->14] }, Closed]], Cell[CellGroupData[{ Cell[StyleData["Subsection"], CellDingbat->"\[FilledSquare]", CellMargins->{{19, Inherited}, {8, 15}}, Evaluatable->False, CellGroupingRules->{"SectionGrouping", 40}, CellHorizontalScrolling->False, PageBreakBelow->False, CounterIncrements->"Subsection", CounterAssignments->{{"Subsubsection", 0}}, AspectRatioFixed->True, FontFamily->"Times New Roman", FontSize->14, FontWeight->"Bold"], Cell[StyleData["Subsection", "Presentation"], CellMargins->{{36, 10}, {11, 32}}, LineSpacing->{1, 0}, FontFamily->"Times New Roman", FontSize->22], Cell[StyleData["Subsection", "Condensed"], CellMargins->{{16, Inherited}, {6, 12}}, FontFamily->"Times New Roman", FontSize->12], Cell[StyleData["Subsection", "Printout"], CellMargins->{{9, 0}, {7, 22}}, FontFamily->"Times New Roman", FontSize->12] }, Closed]], Cell[CellGroupData[{ Cell[StyleData["Subsubsection"], CellDingbat->"\[EmptySquare]", CellMargins->{{18, Inherited}, {8, 12}}, Evaluatable->False, CellGroupingRules->{"SectionGrouping", 50}, CellHorizontalScrolling->False, PageBreakBelow->False, CounterIncrements->"Subsubsection", AspectRatioFixed->True, FontFamily->"Times New Roman", FontSize->12, FontWeight->"Bold"], Cell[StyleData["Subsubsection", "Presentation"], CellMargins->{{34, 10}, {11, 26}}, LineSpacing->{1, 0}, FontFamily->"New York", FontSize->18], Cell[StyleData["Subsubsection", "Condensed"], CellMargins->{{17, Inherited}, {6, 12}}, FontFamily->"New York", FontSize->10], Cell[StyleData["Subsubsection", "Printout"], CellMargins->{{9, 0}, {7, 14}}, FontFamily->"New York", FontSize->11] }, Closed]] }, Open ]], Cell[CellGroupData[{ Cell[TextData[StyleBox["Styles for Body Text"]], "Section", FontFamily->"New York", FontSize->17], Cell[CellGroupData[{ Cell[StyleData["Text"], CellMargins->{{7, 10}, {7, 7}}, Evaluatable->False, CellHorizontalScrolling->False, PageBreakWithin->Automatic, LineSpacing->{1, 3}, CounterIncrements->"Text", AspectRatioFixed->True, FontFamily->"Times New Roman", FontSize->13], Cell[StyleData["Text", "Presentation"], CellMargins->{{24, 10}, {10, 10}}, LineSpacing->{1, 5}, FontFamily->"Times New Roman", FontSize->14], Cell[StyleData["Text", "Condensed"], CellMargins->{{8, 10}, {6, 6}}, LineSpacing->{1, 1}, FontFamily->"Times New Roman", FontSize->14], Cell[StyleData["Text", "Printout"], CellMargins->{{2, 2}, {6, 6}}, FontFamily->"Times New Roman", FontSize->14] }, Open ]], Cell[CellGroupData[{ Cell[StyleData["SmallText"], CellMargins->{{7, 10}, {6, 6}}, Evaluatable->False, CellHorizontalScrolling->False, PageBreakWithin->Automatic, LineSpacing->{1, 3}, CounterIncrements->"SmallText", AspectRatioFixed->True, FontFamily->"New York", FontSize->11], Cell[StyleData["SmallText", "Presentation"], CellMargins->{{24, 10}, {8, 8}}, LineSpacing->{1, 5}, FontFamily->"New York", FontSize->13], Cell[StyleData["SmallText", "Condensed"], CellMargins->{{8, 10}, {5, 5}}, LineSpacing->{1, 2}, FontFamily->"New York", FontSize->10], Cell[StyleData["SmallText", "Printout"], CellMargins->{{2, 2}, {5, 5}}, FontFamily->"New York", FontSize->8] }, Closed]] }, Open ]], Cell[CellGroupData[{ Cell[TextData[StyleBox["Styles for Input/Output"]], "Section", FontFamily->"Courier", FontSize->14, FontWeight->"Plain"], Cell[TextData[StyleBox[ "The cells in this section define styles used for input and output to the \ kernel. Be careful when modifying, renaming, or removing these styles, \ because the front end associates special meanings with these style names."]], "Text", FontFamily->"Courier", FontSize->14], Cell[CellGroupData[{ Cell[StyleData["Input"], PageWidth->Infinity, CellMargins->{{42, 10}, {5, 7}}, Evaluatable->True, CellGroupingRules->"InputGrouping", CellHorizontalScrolling->True, PageBreakWithin->False, GroupPageBreakWithin->False, CellLabelMargins->{{23, Inherited}, {Inherited, Inherited}}, DefaultFormatType->DefaultInputFormatType, LineSpacing->{1, 0}, AutoItalicWords->{}, FormatType->InputForm, ShowStringCharacters->True, NumberMarks->True, CounterIncrements->"Input", AspectRatioFixed->True, FontFamily->"Courier", FontSize->14, FontWeight->"Plain", FontSlant->"Plain", FontTracking->"Plain", FontVariations->{"Underline"->False, "Outline"->False, "Shadow"->False}], Cell[StyleData["Input", "Presentation"], CellMargins->{{72, Inherited}, {8, 10}}, LineSpacing->{1, 0}, FontFamily->"Courier", FontSize->14, FontWeight->"Plain"], Cell[StyleData["Input", "Condensed"], CellMargins->{{40, 10}, {2, 3}}, FontFamily->"Courier", FontSize->14, FontWeight->"Plain"], Cell[StyleData["Input", "Printout"], CellMargins->{{39, 0}, {4, 6}}, FontFamily->"Courier", FontSize->14, FontWeight->"Plain"] }, Closed]], Cell[StyleData["InputOnly"], Evaluatable->True, CellGroupingRules->"InputGrouping", CellHorizontalScrolling->True, DefaultFormatType->DefaultInputFormatType, AutoItalicWords->{}, FormatType->InputForm, ShowStringCharacters->True, NumberMarks->True, CounterIncrements->"Input", StyleMenuListing->None, FontFamily->"Courier", FontSize->14, FontWeight->"Plain", FontSlant->"Plain", FontTracking->"Plain", FontVariations->{"Underline"->False, "Outline"->False, "Shadow"->False}], Cell[CellGroupData[{ Cell[StyleData["Output"], PageWidth->Infinity, CellMargins->{{42, 10}, {7, 5}}, CellEditDuplicate->True, Evaluatable->False, CellGroupingRules->"OutputGrouping", CellHorizontalScrolling->True, PageBreakWithin->False, GroupPageBreakWithin->False, GeneratedCell->True, CellAutoOverwrite->True, CellLabelMargins->{{23, Inherited}, {Inherited, Inherited}}, DefaultFormatType->DefaultOutputFormatType, LineSpacing->{1, 0}, AutoItalicWords->{}, FormatType->InputForm, CounterIncrements->"Output", AspectRatioFixed->True, FontFamily->"Courier", FontSize->14, FontWeight->"Plain", FontSlant->"Plain", FontTracking->"Plain", FontVariations->{"Underline"->False, "Outline"->False, "Shadow"->False}], Cell[StyleData["Output", "Presentation"], CellMargins->{{72, Inherited}, {10, 8}}, LineSpacing->{1, 0}, FontFamily->"Courier", FontSize->14], Cell[StyleData["Output", "Condensed"], CellMargins->{{41, Inherited}, {3, 2}}, FontFamily->"Courier", FontSize->14], Cell[StyleData["Output", "Printout"], CellMargins->{{39, 0}, {6, 4}}, FontFamily->"Courier", FontSize->14] }, Closed]], Cell[CellGroupData[{ Cell[StyleData["Message"], PageWidth->Infinity, CellMargins->{{42, Inherited}, {Inherited, Inherited}}, Evaluatable->False, CellGroupingRules->"OutputGrouping", PageBreakWithin->False, GroupPageBreakWithin->False, GeneratedCell->True, CellAutoOverwrite->True, ShowCellLabel->False, CellLabelMargins->{{23, Inherited}, {Inherited, Inherited}}, DefaultFormatType->DefaultOutputFormatType, LineSpacing->{1, 0}, AutoItalicWords->{}, FormatType->InputForm, CounterIncrements->"Message", AspectRatioFixed->True, StyleMenuListing->None, FontFamily->"Courier", FontSize->14, FontWeight->"Plain", FontSlant->"Plain", FontTracking->"Plain", FontColor->RGBColor[0.500008, 0, 0], FontVariations->{"Underline"->False, "Outline"->False, "Shadow"->False}], Cell[StyleData["Message", "Presentation"], CellMargins->{{72, Inherited}, {Inherited, Inherited}}, LineSpacing->{1, 0}, FontFamily->"Courier", FontSize->14], Cell[StyleData["Message", "Condensed"], CellMargins->{{41, Inherited}, {Inherited, Inherited}}, FontFamily->"Courier", FontSize->14], Cell[StyleData["Message", "Printout"], CellMargins->{{39, Inherited}, {Inherited, Inherited}}, FontFamily->"Courier", FontSize->14, FontColor->GrayLevel[0]] }, Closed]], Cell[CellGroupData[{ Cell[StyleData["Print"], PageWidth->Infinity, CellMargins->{{42, Inherited}, {Inherited, Inherited}}, Evaluatable->False, CellGroupingRules->"OutputGrouping", CellHorizontalScrolling->True, PageBreakWithin->False, GroupPageBreakWithin->False, GeneratedCell->True, CellAutoOverwrite->True, ShowCellLabel->False, CellLabelMargins->{{23, Inherited}, {Inherited, Inherited}}, DefaultFormatType->DefaultOutputFormatType, LineSpacing->{1, 0}, AutoItalicWords->{}, FormatType->InputForm, CounterIncrements->"Print", AspectRatioFixed->True, StyleMenuListing->None, FontFamily->"Courier", FontSize->14, FontWeight->"Plain", FontSlant->"Plain", FontTracking->"Plain", FontVariations->{"Underline"->False, "Outline"->False, "Shadow"->False}], Cell[StyleData["Print", "Presentation"], CellMargins->{{72, Inherited}, {Inherited, Inherited}}, LineSpacing->{1, 0}, FontFamily->"Courier", FontSize->14], Cell[StyleData["Print", "Condensed"], CellMargins->{{41, Inherited}, {Inherited, Inherited}}, FontFamily->"Courier", FontSize->14], Cell[StyleData["Print", "Printout"], CellMargins->{{39, Inherited}, {Inherited, Inherited}}, FontFamily->"Courier", FontSize->14] }, Closed]], Cell[CellGroupData[{ Cell[StyleData["Graphics"], PageWidth->Infinity, CellMargins->{{7, Inherited}, {Inherited, Inherited}}, Evaluatable->False, CellGroupingRules->"GraphicsGrouping", CellHorizontalScrolling->True, PageBreakWithin->False, GroupPageBreakWithin->False, GeneratedCell->True, CellAutoOverwrite->True, ShowCellLabel->False, DefaultFormatType->DefaultOutputFormatType, FormatType->InputForm, CounterIncrements->"Graphics", AspectRatioFixed->True, ImageSize->{387, 393}, ImageMargins->{{34, Inherited}, {Inherited, 0}}, StyleMenuListing->None, FontFamily->"Courier", FontSize->14, FontWeight->"Plain", FontSlant->"Plain", FontTracking->"Plain", FontVariations->{"Underline"->False, "Outline"->False, "Shadow"->False}], Cell[StyleData["Graphics", "Presentation"], ImageMargins->{{62, Inherited}, {Inherited, 0}}, FontFamily->"Courier", FontSize->14], Cell[StyleData["Graphics", "Condensed"], ImageSize->{175, 175}, ImageMargins->{{38, Inherited}, {Inherited, 0}}, FontFamily->"Courier", FontSize->14], Cell[StyleData["Graphics", "Printout"], ImageSize->{250, 250}, ImageMargins->{{30, Inherited}, {Inherited, 0}}, FontFamily->"Courier", FontSize->14] }, Closed]], Cell[CellGroupData[{ Cell[StyleData["CellLabel"], StyleMenuListing->None, FontFamily->"Courier", FontSize->14, FontWeight->"Plain", FontSlant->"Plain", FontTracking->"Plain", FontColor->RGBColor[0, 0, 1], FontVariations->{"Underline"->False, "Outline"->False, "Shadow"->False}], Cell[StyleData["CellLabel", "Presentation"], FontFamily->"Courier", FontSize->14], Cell[StyleData["CellLabel", "Condensed"], FontFamily->"Courier", FontSize->14], Cell[StyleData["CellLabel", "Printout"], FontFamily->"Courier", FontSize->14, FontColor->GrayLevel[0]] }, Closed]] }, Closed]], Cell[CellGroupData[{ Cell[TextData[StyleBox["Formulas and Programming"]], "Section"], Cell[CellGroupData[{ Cell[StyleData["InlineFormula"], CellMargins->{{10, 4}, {0, 8}}, CellHorizontalScrolling->True, ScriptLevel->1, SingleLetterItalics->True], Cell[StyleData["InlineFormula", "Presentation"], CellMargins->{{24, 10}, {10, 10}}, LineSpacing->{1, 5}], Cell[StyleData["InlineFormula", "Condensed"], CellMargins->{{8, 10}, {6, 6}}, LineSpacing->{1, 1}], Cell[StyleData["InlineFormula", "Printout"], CellMargins->{{2, 0}, {6, 6}}] }, Closed]], Cell[CellGroupData[{ Cell[StyleData["DisplayFormula"], CellMargins->{{42, Inherited}, {Inherited, Inherited}}, CellHorizontalScrolling->True, DefaultFormatType->DefaultInputFormatType, ScriptLevel->0, SingleLetterItalics->True, UnderoverscriptBoxOptions->{LimitsPositioning->True}], Cell[StyleData["DisplayFormula", "Presentation"], LineSpacing->{1, 5}], Cell[StyleData["DisplayFormula", "Condensed"], LineSpacing->{1, 1}], Cell[StyleData["DisplayFormula", "Printout"]] }, Closed]] }, Closed]], Cell[CellGroupData[{ Cell[TextData[StyleBox["Styles for Headers and Footers"]], "Section"], Cell[StyleData["Header"], CellMargins->{{7, 0}, {4, 1}}, Evaluatable->False, PageBreakWithin->Automatic, AspectRatioFixed->True, StyleMenuListing->None, FontFamily->"Times", FontSize->12, FontSlant->"Italic"], Cell[StyleData["Footer"], CellMargins->{{7, 0}, {0, 4}}, Evaluatable->False, PageBreakWithin->Automatic, TextAlignment->Center, AspectRatioFixed->True, StyleMenuListing->None, FontFamily->"Times", FontSize->12, FontSlant->"Italic"], Cell[StyleData["PageNumber"], CellMargins->{{0, 0}, {4, 1}}, StyleMenuListing->None, FontFamily->"Times", FontSize->10] }, Closed]], Cell[CellGroupData[{ Cell[TextData[StyleBox["Palette Styles"]], "Section"], Cell[TextData[StyleBox[ "The cells below define styles that define standard ButtonFunctions, for \ use in palette buttons."]], "Text"], Cell[StyleData["Paste"], StyleMenuListing->None, ButtonStyleMenuListing->Automatic, ButtonBoxOptions->{ButtonFunction:>(FrontEndExecute[ { FrontEnd`NotebookApply[ FrontEnd`InputNotebook[ ], #, After]}]&)}], Cell[StyleData["Evaluate"], StyleMenuListing->None, ButtonStyleMenuListing->Automatic, ButtonBoxOptions->{ButtonFunction:>(FrontEndExecute[ { FrontEnd`NotebookApply[ FrontEnd`InputNotebook[ ], #, All], SelectionEvaluate[ FrontEnd`InputNotebook[ ], All]}]&)}], Cell[StyleData["EvaluateCell"], StyleMenuListing->None, ButtonStyleMenuListing->Automatic, ButtonBoxOptions->{ButtonFunction:>(FrontEndExecute[ { FrontEnd`NotebookApply[ FrontEnd`InputNotebook[ ], #, All], FrontEnd`SelectionMove[ FrontEnd`InputNotebook[ ], All, Cell, 1], FrontEnd`SelectionEvaluateCreateCell[ FrontEnd`InputNotebook[ ], All]}]&)}], Cell[StyleData["CopyEvaluate"], StyleMenuListing->None, ButtonStyleMenuListing->Automatic, ButtonBoxOptions->{ButtonFunction:>(FrontEndExecute[ { FrontEnd`SelectionCreateCell[ FrontEnd`InputNotebook[ ], All], FrontEnd`NotebookApply[ FrontEnd`InputNotebook[ ], #, All], FrontEnd`SelectionEvaluate[ FrontEnd`InputNotebook[ ], All]}]&)}], Cell[StyleData["CopyEvaluateCell"], StyleMenuListing->None, ButtonStyleMenuListing->Automatic, ButtonBoxOptions->{ButtonFunction:>(FrontEndExecute[ { FrontEnd`SelectionCreateCell[ FrontEnd`InputNotebook[ ], All], FrontEnd`NotebookApply[ FrontEnd`InputNotebook[ ], #, All], FrontEnd`SelectionEvaluateCreateCell[ FrontEnd`InputNotebook[ ], All]}]&)}] }, Closed]], Cell[CellGroupData[{ Cell[TextData[StyleBox["Hyperlink Styles"]], "Section"], Cell[TextData[StyleBox[ "The cells below define styles useful for making hypertext ButtonBoxes. \ The \"Hyperlink\" style is for links within the same Notebook, or between \ Notebooks."]], "Text"], Cell[CellGroupData[{ Cell[StyleData["Hyperlink"], StyleMenuListing->None, ButtonStyleMenuListing->Automatic, FontColor->RGBColor[0, 0, 1], FontVariations->{"Underline"->True}, ButtonBoxOptions->{ButtonFunction:>(FrontEndExecute[ { FrontEnd`NotebookLocate[ #2]}]&), Active->True, ButtonNote->ButtonData}], Cell[StyleData["Hyperlink", "Presentation"]], Cell[StyleData["Hyperlink", "Condensed"]], Cell[StyleData["Hyperlink", "Printout"], FontColor->GrayLevel[0], FontVariations->{"Underline"->False}] }, Closed]], Cell[TextData[StyleBox[ "The following styles are for linking automatically to the on-line help \ system."]], "Text"], Cell[CellGroupData[{ Cell[StyleData["MainBookLink"], StyleMenuListing->None, ButtonStyleMenuListing->Automatic, FontColor->RGBColor[0, 0, 1], FontVariations->{"Underline"->True}, ButtonBoxOptions->{ButtonFunction:>(FrontEndExecute[ { FrontEnd`HelpBrowserLookup[ "MainBook", #]}]&), Active->True, ButtonFrame->"None"}], Cell[StyleData["MainBookLink", "Presentation"]], Cell[StyleData["MainBookLink", "Condensed"]], Cell[StyleData["MainBookLink", "Printout"], FontColor->GrayLevel[0], FontVariations->{"Underline"->False}] }, Closed]], Cell[CellGroupData[{ Cell[StyleData["AddOnsLink"], StyleMenuListing->None, ButtonStyleMenuListing->Automatic, FontFamily->"Courier", FontColor->RGBColor[0, 0, 1], FontVariations->{"Underline"->True}, ButtonBoxOptions->{ButtonFunction:>(FrontEndExecute[ { FrontEnd`HelpBrowserLookup[ "AddOns", #]}]&), Active->True, ButtonFrame->"None"}], Cell[StyleData["AddOnsLink", "Presentation"]], Cell[StyleData["AddOnsLink", "Condensed"]], Cell[StyleData["AddOnLink", "Printout"], FontColor->GrayLevel[0], FontVariations->{"Underline"->False}] }, Closed]], Cell[CellGroupData[{ Cell[StyleData["RefGuideLink"], StyleMenuListing->None, ButtonStyleMenuListing->Automatic, FontFamily->"Courier", FontColor->RGBColor[0, 0, 1], FontVariations->{"Underline"->True}, ButtonBoxOptions->{ButtonFunction:>(FrontEndExecute[ { FrontEnd`HelpBrowserLookup[ "RefGuideLink", #]}]&), Active->True, ButtonFrame->"None"}], Cell[StyleData["RefGuideLink", "Presentation"]], Cell[StyleData["RefGuideLink", "Condensed"]], Cell[StyleData["RefGuideLink", "Printout"], FontColor->GrayLevel[0], FontVariations->{"Underline"->False}] }, Closed]], Cell[CellGroupData[{ Cell[StyleData["GettingStartedLink"], StyleMenuListing->None, ButtonStyleMenuListing->Automatic, FontColor->RGBColor[0, 0, 1], FontVariations->{"Underline"->True}, ButtonBoxOptions->{ButtonFunction:>(FrontEndExecute[ { FrontEnd`HelpBrowserLookup[ "GettingStarted", #]}]&), Active->True, ButtonFrame->"None"}], Cell[StyleData["GettingStartedLink", "Presentation"]], Cell[StyleData["GettingStartedLink", "Condensed"]], Cell[StyleData["GettingStartedLink", "Printout"], FontColor->GrayLevel[0], FontVariations->{"Underline"->False}] }, Closed]], Cell[CellGroupData[{ Cell[StyleData["OtherInformationLink"], StyleMenuListing->None, ButtonStyleMenuListing->Automatic, FontColor->RGBColor[0, 0, 1], FontVariations->{"Underline"->True}, ButtonBoxOptions->{ButtonFunction:>(FrontEndExecute[ { FrontEnd`HelpBrowserLookup[ "OtherInformation", #]}]&), Active->True, ButtonFrame->"None"}], Cell[StyleData["OtherInformationLink", "Presentation"]], Cell[StyleData["OtherInformationLink", "Condensed"]], Cell[StyleData["OtherInformationLink", "Printout"], FontColor->GrayLevel[0], FontVariations->{"Underline"->False}] }, Closed]] }, Closed]], Cell[CellGroupData[{ Cell[TextData[StyleBox["Placeholder Styles"]], "Section"], Cell[TextData[StyleBox[ "The cells below define styles useful for making placeholder objects in \ palette templates."]], "Text"], Cell[CellGroupData[{ Cell[StyleData["Placeholder"], Editable->False, Selectable->False, StyleBoxAutoDelete->True, Placeholder->True, StyleMenuListing->None], Cell[StyleData["Placeholder", "Presentation"]], Cell[StyleData["Placeholder", "Condensed"]], Cell[StyleData["Placeholder", "Printout"]] }, Closed]], Cell[CellGroupData[{ Cell[StyleData["SelectionPlaceholder"], Editable->False, Selectable->False, StyleBoxAutoDelete->True, Placeholder->Primary, StyleMenuListing->None, DrawHighlighted->True], Cell[StyleData["SelectionPlaceholder", "Presentation"]], Cell[StyleData["SelectionPlaceholder", "Condensed"]], Cell[StyleData["SelectionPlaceholder", "Printout"]] }, Closed]] }, Closed]], Cell[CellGroupData[{ Cell[TextData[StyleBox["FormatType Styles"]], "Section"], Cell[TextData[StyleBox[ "The cells below define styles that are mixed in with the styles of most \ cells. If a cell's FormatType matches the name of one of the styles defined \ below, then that style is applied between the cell's style and its own \ options."]], "Text"], Cell[StyleData["CellExpression"], PageWidth->Infinity, CellMargins->{{6, Inherited}, {Inherited, Inherited}}, ShowCellLabel->False, ShowSpecialCharacters->False, AllowInlineCells->False, AutoItalicWords->{}, StyleMenuListing->None, FontFamily->"Courier", Background->GrayLevel[1]], Cell[StyleData["InputForm"], AllowInlineCells->False, StyleMenuListing->None, FontFamily->"Courier"], Cell[StyleData["OutputForm"], PageWidth->Infinity, TextAlignment->Left, LineSpacing->{1, -5}, StyleMenuListing->None, FontFamily->"Courier"], Cell[StyleData["StandardForm"], LineSpacing->{1.25, 0}, StyleMenuListing->None, FontFamily->"Courier"], Cell[StyleData["TraditionalForm"], LineSpacing->{1.25, 0}, SingleLetterItalics->True, TraditionalFunctionNotation->True, DelimiterMatching->None, StyleMenuListing->None], Cell[TextData[StyleBox[ "The style defined below is mixed in to any cell that is in an inline cell \ within another."]], "Text"], Cell[StyleData["InlineCell"], TextAlignment->Left, ScriptLevel->1, StyleMenuListing->None], Cell[StyleData["InlineCellEditing"], StyleMenuListing->None, Background->RGBColor[1, 0.749996, 0.8]] }, Closed]] }, Open ]] }] ] (*********************************************************************** 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[1709, 49, 198, 5, 43, "Subtitle"], Cell[1910, 56, 182, 5, 39, "Subsubtitle"], Cell[2095, 63, 88, 1, 33, "Text"], Cell[2186, 66, 97, 2, 55, "Input"], Cell[2286, 70, 185, 3, 52, "Text"], Cell[CellGroupData[{ Cell[2496, 77, 196, 4, 78, "Input"], Cell[2695, 83, 70, 2, 32, "Output"], Cell[2768, 87, 69, 2, 32, "Output"], Cell[2840, 91, 67, 2, 32, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[2944, 98, 117, 3, 55, "Input"], Cell[3064, 103, 69, 2, 32, "Output"], Cell[3136, 107, 69, 2, 32, "Output"] }, Open ]], Cell[3220, 112, 350, 5, 71, "Text"], Cell[CellGroupData[{ Cell[3595, 121, 279, 6, 143, "Input"], Cell[3877, 129, 62, 2, 32, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[3976, 136, 279, 6, 143, "Input"], Cell[4258, 144, 62, 2, 32, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[4357, 151, 211, 5, 33, "Text", PageBreakAbove->True], Cell[CellGroupData[{ Cell[4593, 160, 590, 13, 180, "Input", PageBreakAbove->Automatic], Cell[5186, 175, 69, 2, 32, "Output"] }, Open ]] }, Open ]], Cell[5282, 181, 209, 4, 52, "Text"], Cell[CellGroupData[{ Cell[5516, 189, 241, 4, 147, "Input"], Cell[5760, 195, 67, 2, 32, "Output"] }, Open ]], Cell[5842, 200, 133, 3, 33, "Text", PageBreakAbove->True], Cell[5978, 205, 89, 2, 55, "Input"], Cell[CellGroupData[{ Cell[6092, 211, 384, 9, 94, "Input"], Cell[6479, 222, 75, 2, 53, "Output"], Cell[6557, 226, 62, 2, 32, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[6656, 233, 312, 7, 141, "Input"], Cell[6971, 242, 64, 2, 53, "Output"], Cell[7038, 246, 65, 2, 53, "Output"], Cell[7106, 250, 53, 2, 32, "Output"] }, Open ]], Cell[7174, 255, 155, 3, 33, "Text"], Cell[CellGroupData[{ Cell[7354, 262, 228, 6, 46, "Input"], Cell[7585, 270, 53, 2, 32, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[7675, 277, 227, 6, 46, "Input"], Cell[7905, 285, 53, 2, 32, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[7995, 292, 105, 2, 53, "Input"], Cell[8103, 296, 51, 2, 32, "Output"] }, Open ]], Cell[8169, 301, 73, 0, 42, "Subsection"], Cell[8245, 303, 167, 3, 52, "Text"], Cell[CellGroupData[{ Cell[8437, 310, 234, 5, 78, "Input"], Cell[8674, 317, 63, 2, 32, "Output"], Cell[8740, 321, 63, 2, 32, "Output"], Cell[8806, 325, 62, 2, 32, "Output"] }, Open ]], Cell[8883, 330, 293, 5, 71, "Text"], Cell[CellGroupData[{ Cell[9201, 339, 102, 2, 47, "Input"], Cell[9306, 343, 52, 2, 32, "Output"] }, Open ]], Cell[9373, 348, 97, 2, 33, "Text"], Cell[CellGroupData[{ Cell[9495, 354, 304, 7, 151, "Input"], Cell[9802, 363, 62, 2, 32, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[9901, 370, 78, 2, 32, "Input"], Cell[9982, 374, 63, 2, 32, "Output"] }, Open ]] } ] *) (*********************************************************************** End of Mathematica Notebook file. ***********************************************************************)