Before we go very far, perhaps we should look at a few basics of the Mathematica interface. In a few moments you'll be clicking on buttons that launch you into Mathematica Notebooks. The screens that you will then encounter will look a little like the following picture, (without all of the little balloons.)
A Typical Mathematica Notebook Window
| If you can't see all of the above picture, widen your browser window by clicking in the Zoom Box in the top right corner of the window, as shown the the screen-shot on the left. |
The balloons that I've superimposed upon the picture are there to describe to you some of the basic window elements that are unique to the Mathematica interface. Look over them carefully now, because we're not going to be discussing them again, (though you can always come back here later if you want to check on something you've forgotten.)
If you find that you still have questions about the Mathematica interface, there are several sources of guidance built right into the program.
COMMAND-?: Holding down the command (or Apple) key next to the SPACE bar on your keyboard and hitting the question-mark key will turn the moving cursor on your screen into a question mark. Once the cursor looks like this, clicking on any item in the Mathematica window, or selecting any item from a menu will bring up a description of the item's purpose.
|
Balloon Help: Mathematica is fully compliant with the Macintosh's built-in ballon help system. This feature can be turned on by accessing the ballon help menu, second from the right on your menu bar, as shown here. Once this feature is activated, the computer will automatically display a help ballon for every item that you point at, without even clicking. While this feature is good for beginners, it can soon become irritating for experienced users. It may be turned off in the same way that it was turned on. |
|
There are several ways of obtaining help from Mathematica if you run into any questions about it's built in commands, etc.
The ?command: The simplest way to get help assumes that you already know the name of the command that you wish to use, and simply wish to check on its syntax. This can be found by typing a question mark, followed by the command's name, followed by hitting the ENTER key. This same command can be used to check on the current values of the variables that you are using, and the definitions of user defined functions, etc.
|
The Function Browser: If you simply don't know the name of a desired command at all, and wish to track it down, you might wish to use the Mathematica's Function Browser, which may be found under the Help menu as shown here. This feature allows you to narrow your search for the desired function by clicking on more and more specific categories, from left to right across the Browser's window, until you have found the function you need. You may even choose to paste a copy of the function into the current notebook, once you have found what you want, in order to save yourself some typing. |
|
While using Mathematica it is handy to be aware of a few typing shortcuts:
COMMAND-K: This keystroke will attempt to complete the command that you are currently typing for you. If the there is more than one possible ending to what you have typed so far, Mathematica will generate a little pop-up menu containing the the full list of possible endings. You may select one of the items on this list by either using the mouse, and clicking, or the arrow keys on the keyboard, and hitting RETURN.
COMMAND-L: This keystroke retypes in the current cell the full command from the cell immediately above it. The newly produced cell may then be edited to give a new command. This comes in useful when you are doing a sequence of problems where very little changes between consecutive commands.
The %-key: The percent key, %, can be used as a direct reference within a new command to the previous answer. This comes in useful when doing a sequence of commands where a new command depends on the result of the previous command. Furthermore, %% refers to the result from two commands earlier, %%% to three commands earlier, etc. %n refers to the result from Out[n] in Mathematica's sequentially numbered cells.
You're now finishing learning the Basics of the Mathematica Interface. You may now go to the first notebook, the Table of Contents for the Mathematica Basics Labs, or the Table of Contents for all of the Differential Equations Labs, or simply quit.