lecture1a - Content-type application/mathematica Wolfram...

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

View Full Document Right Arrow Icon
(* 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[ 12646, 523] NotebookOptionsPosition[ 9437, 413] NotebookOutlinePosition[ 9945, 433] CellTagsIndexPosition[ 9902, 430] WindowFrame->Normal ContainsDynamic->False*) (* Beginning of Notebook Content *) Notebook[{ Cell["\<\ Introduction to Mathematical Software 21-126 Lecture 1a: Introduction to Mathematica\ \>", "Subtitle", CellChangeTimes->{3.40913969121875*^9, 3.40914042759375*^9}, TextAlignment->Center, TextJustification->0, FontSize->24], Cell[CellGroupData[{ Cell[TextData[{ StyleBox["Mathematica", FontSlant->"Italic"], " Interface" }], "Section", FontSize->18], Cell["\<\ Notebooks are made from cells which automatically get combined into groups\ \>", "Subsubsection", FontSize->14], Cell["\<\ Cell groups may be opened or closed and may be copied and pasted as whole \ units.\ \>", "Subsubsection", FontSize->14], Cell[TextData[{ StyleBox["Mathematica", FontSlant->"Italic"], "'s cursor is a horozonatal line that sits between cells. When the cursor is \ displayed, typing at the keyboard causes a new input cell to be formed by \ default." }], "Subsubsection", FontSize->14],
Background image of page 1

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

View Full DocumentRight Arrow Icon
Cell[TextData[{ "To get ", StyleBox["Mathematica", FontSlant->"Italic"], " to execute commands in an input cell, use the Enter key or Shift-Return" }], "Subsubsection", FontSize->14], Cell[TextData[{ "By default, there is just one copy of the ", StyleBox["Mathematica", FontSlant->"Italic"], " kernel running, and all windows are connected to it." }], "Subsubsection", FontSize->14] }, Closed]], Cell[CellGroupData[{ Cell["Basic Syntax and Conventions", "Section", FontSize->18], Cell[CellGroupData[{ Cell["\<\ Use parenthises () to order arithmetic operations. The usual mathematical \ convention concerning the omission of a multiplication sign is used.\ \>", "Subsubsection", FontSize->14], Cell[BoxData[ RowBox[{"1", " ", "+", " ", "1"}]], "Input", CellChangeTimes->{{3.4091397155*^9, 3.40913971759375*^9}}, FontSize->14], Cell[BoxData[{ RowBox[{"3", " ", "+", " ", RowBox[{"2", " ", "6"}]}], "\n", RowBox[{ RowBox[{"(", RowBox[{"3", " ", "+", " ", "2"}], ")"}], " ", "6"}]}], "Input", FontSize->14], Cell[BoxData[{ RowBox[{ RowBox[{"8", "^", "1"}], "/", "3"}], "\n", RowBox[{"8", "^", RowBox[{"(", RowBox[{"1", "/", "3"}], ")"}]}]}], "Input", FontSize->14], Cell[BoxData[{ RowBox[{"3", "x", " ", "x"}], "\n", RowBox[{ RowBox[{"3", "xx"}], "\n"}]}], "Input", FontSize->14] }, Closed]],
Background image of page 2
Cell[CellGroupData[{ Cell["Use = to assign variables.", "Subsubsection", FontSize->14], Cell[BoxData[{ RowBox[{"a", " ", "=", " ", "5"}], "\[IndentingNewLine]", RowBox[{"b", " ", "=", " ", RowBox[{"a", "^", "2"}]}]}], "Input", FontSize->14] }, Closed]], Cell[CellGroupData[{ Cell["\<\ All commands begin with an upper case letter, and function arguments are \
Background image of page 3

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

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

This note was uploaded on 04/19/2011 for the course MATH 21126 taught by Professor Johnson during the Spring '11 term at Carnegie Mellon.

Page1 / 10

lecture1a - Content-type application/mathematica Wolfram...

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

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