Computing Topics --> Open Computer Labs at Maryland --> All Computer Lab Pages --> Mathematica 3.0 Notebooks -->

Mathematica 3.0 Notebooks

Mathematica 3.0 Notebooks

Every Mathematica "notebook," or file, is separated into a series of sections. These sections are shown by the blue brackets on the far right of the window. By highlighting the appropriate blue bracket, an entire section can be executed at a time. You can highlight a large section that includes many smaller subsections, and execute, copy, or delete them all by deleting the large section.

  1. Let's say we want to delete the first calculation, the integral. Instead of selecting each little part, the entire calculation can be selected and deleted all at once. Looking at the blue brackets on the right, you will notice that there are three different columns, or levels, or brackets. The second bracket down in the middle column corresponds to the entire calculation we want to delete, the integral.

    notebook with integrals

  2. Click on the second bracket down in the middle column. This will highlight and select the bracket corresponding to the integration.

    highlighted second bracket

  3. Now that the entire calculation is selected, it can be deleted by pressing "delete." Note: Make sure you have to correct brackets selected before you delete anything! You could inadvertently delete a large portion of your work!

    deleted cell

  4. Once you have a function, you may want to plot it. A plot is very useful if you want to get an overall picture of how a function or functions behave. You can make a simple 2-Dimensional plot by using the command:

    Plot[f(x),{x,min range,max range}]

    plot of f(x)

    In this example, the command y=Integrate[x^2,x] was used to set the variable "y" equal to the integral of the square of "x." The result was plotted using the "Plot" command shown above.

How do I:
How are we doing? Comments on this page?
Office of Information Technology
Office of Information Technology Help Desk Web Site University of Maryland Web Site Office of Information Technology Web Site