Mathematica Demystified

Chapter 1: Getting Started

1.1 Starting Mathematica

When we start Mathematica a fresh window, or notebook, will open. This is where we will do all of our mathematical calculations and graphics. At the top of the window we see the title of the window, which initially is "untitled-1." Later, when we see how to save our work as a file, we can give a name to the file, and that name will appear in the title bar of the window.

1.2 Entering Expressions

Let's do our first calculation! If we type 1+1 and then press Shift+Return (i.e., hold down the Shift key and then the Return key) [1] Mathematica computes the sum and places the answer on the next line in the window. This is called evaluating or entering the expression. The window now contains

Example 1.2.1
<span class="inlinemediaobject"><a NAME="IMG_1"> href="portalcontent.asp?bkid=29884&image_src=https://images.books24x7.com/bookimages/id_29884/figu2%5F1%5F0%2Ejpg&image_id=1&previd=IMG_1"> target="_parent"><img alt="Image from book"> border="0"> height="26"> id="IMG_1"> src="https://images.books24x7.com/bookimages/id_29884/figu2_1.jpg"> title="Click To expand"> width="240"></a></span>

Notice that Mathematica has placed " In[1]:=" and " Out[1]=" labels to the left of 1+1 and 2, respectively. To the right of the input and output, Mathematica has placed a set of brackets. The two innermost brackets enclose the input and output, respectively, and the larger bracket groups the input and output together. Each bracket contains what is known as a cell. All of the calculations that we do in this notebook will be organized into cells and the brackets that surround the cells will come...

UNLIMITED FREE
ACCESS
TO THE WORLD'S BEST IDEAS

SUBMIT
Already a GlobalSpec user? Log in.

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.

Customize Your GlobalSpec Experience

Category: Calcite Polarizers
Finish!
Privacy Policy

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.