


In LiveGraphics3D, these are all treated as (double precision) floating point numbers. It is not necessary to declare the data type of a variable before assigning it a value, and Mathematica does automatic conversion between the various types of numbers.

Assignments and RulesĪs with most languages, you can assign a value to a variable using an equal sign, as in a = 2. It is defined to be Pi/180 so that, for example, 270*Degree evaluates to 3*Pi/2. (The capitalization is important.) The constant Degree might also be useful to convert from degrees to radians. The most recognizable of these are Pi and E. Mathematica and LiveGraphics3D recognize a number of mathematical constants. Is essentially invisible to either Mathematica or LiveGraphics3D. If you wish, you may jump directly to one of the following topics by clicking on the link.Īny expression delineated by (* and *), such as The Document Center also has a searchable index of Mathematica functions with examples. Their Documentation Center currently offers free access to The Mathematica Book ( Wolfram, 2003) which describes all aspects of the program. Further information can be found at Wolfram Research's website. This page contains a very brief overview of the syntax used throughout the rest of the article.
