mathematica_examples_for_tutorial

mathematica_examples_for_tutorial - (* Content-type:...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: (* Content-type: application/mathematica *) (*** Wolfram Notebook File ***) (* http://www.wolfram.com/nb *) (* CreatedBy='Mathematica 6.0' *) (*CacheID: 234*) (* Internal cache information: NotebookFileLineBreakTest NotebookFileLineBreakTest NotebookDataPosition[ 145, 7] NotebookDataLength[ 489880, 9181] NotebookOptionsPosition[ 483013, 8936] NotebookOutlinePosition[ 483350, 8951] CellTagsIndexPosition[ 483307, 8948] WindowFrame->Normal ContainsDynamic->False*) (* Beginning of Notebook Content *) Notebook[{ Cell[CellGroupData[{ Cell["Mathematica review", "Title", CellChangeTimes->{{3.465774326210569*^9, 3.4657743438512077`*^9}}], Cell[CellGroupData[{ Cell["Print", "Section", CellChangeTimes->{{3.465772222364602*^9, 3.4657722230566187`*^9}}], Cell[CellGroupData[{ Cell[BoxData[{ RowBox[{ RowBox[{ RowBox[{"Clear", "[", RowBox[{"l", ",", "m", ",", "value"}], "]"}], ";"}], "\[IndentingNewLine]"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"l", "=", "2"}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"m", "=", "2"}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{ RowBox[{"value23", " ", "=", " ", RowBox[{"SphericalHarmonicY", "[", RowBox[{"l", ",", "m", ",", ".3", ",", ".5"}], "]"}]}], ";"}], "\[IndentingNewLine]"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"Print", "[", RowBox[{"\"\<angular momentum quantum number is =\>\"", ",", "l"}], "]"}], "\[IndentingNewLine]"}], "\[IndentingNewLine]", RowBox[{ RowBox[{ RowBox[{"Print", "[", RowBox[{ "\"\<l = \>\"", ",", "l", ",", "\"\< m = \>\"", ",", "m", ",", "\"\< Ylm = \>\"", ",", "value23"}], "]"}], ";"}], "\[IndentingNewLine]"}], "\[IndentingNewLine]"}], "Input", CellChangeTimes->{{3.465652415980988*^9, 3.465652436619051*^9}, { 3.465652487605709*^9, 3.46565261194449*^9}, 3.465767366701989*^9, { 3.465767399285426*^9, 3.46576753647287*^9}, {3.465767773959962*^9, 3.46576780141634*^9}}, FontSize->18], Cell[CellGroupData[{ Cell[BoxData[ InterpretationBox[ RowBox[{"\<\"angular momentum quantum number is =\"\>", "\[InvisibleSpace]", "2"}], SequenceForm["angular momentum quantum number is =", 2], Editable->False]], "Print", CellChangeTimes->{{3.465767492967709*^9, 3.465767530494814*^9}, 3.46576756665272*^9, {3.465767774929575*^9, 3.465767802223517*^9}, 3.465772217454438*^9}, FontSize->18], Cell[BoxData[ InterpretationBox[ RowBox[{ RowBox[{"\<\"l = \"\>", "\[InvisibleSpace]", "2", "\[InvisibleSpace]", "\<\" m = \"\>", "\[InvisibleSpace]", "2", "\[InvisibleSpace]", "\<\" Ylm = \"\>", "\[InvisibleSpace]", "0.018226651451062083`"}], "\[InvisibleSpace]", "+", RowBox[{"0.02838632776447657`", " ", "\[ImaginaryI]"}]}], SequenceForm["l = ", 2, " m = ", 2, " Ylm = ", Complex[0.018226651451062083`, 0.02838632776447657]], Editable->False]], "Print", CellChangeTimes->{{3.465767492967709*^9, 3.465767530494814*^9}, 3.46576756665272*^9, {3.465767774929575*^9, 3.465767802223517*^9}, 3.465772217456514*^9}, FontSize->18] }, Open ]] }, Open ]] }, Open ]], Cell[CellGroupData[{ Cell["Defining a function", "Section", CellChangeTimes->{{3.465652912086961*^9, 3.465652914473939*^9}}],CellChangeTimes->{{3....
View Full Document

This note was uploaded on 12/02/2009 for the course CHE 110A taught by Professor Mccurdy during the Spring '09 term at UC Davis.

Page1 / 156

mathematica_examples_for_tutorial - (* Content-type:...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online