Mathematica Cheat Sheet

Posted on  by 



Show Mobile NoticeShow All Notes

Create a Pull Request. When your Instant Answer is ready for an initial review, create a pull request.Be sure to paste the link to this Instant Answer page in the PR description. Mathematica Notebook. Mathematica Cheat Sheet (not by me) Part 2 - Python Lecture 6. Procedural programming in Python. Flow of control.Slides. Code and Solutions. Lecture 8 - Won't happen! Object oriented Python. Elliptic Curve Cryptography Slides. Code and Solutions. Python Cheat Sheet (not by me) Links and Notes.

Hide All Notes
You appear to be on a device with a 'narrow' screen width (i.e. you are probably on a mobile phone). Due to the nature of the mathematics on this site it is best views in landscape mode. If your device is not in landscape mode many of the equations will run off the side of your device (should be able to scroll to see them) and some of the menu items will be cut off due to the narrow screen width.

Here is list of cheat sheets and tables that I've written. All of the cheat sheets come in two version. A full sized version and a 'reduced' version. The reduced version contains all the information that the full sized version does except that each page from the full sized version has been reduced so that each page of the reduced version is two pages from the full version. With the exception of the Complete Calculus Cheat Sheet and the Integrals Cheat Sheet all the reduced versions will fit on one piece of paper. All of these are pdf files and so you will need the Adobe Viewer to view them. You can download the latest version here.

If you wish to link to any of these files the URL for each one of them is also given.

Algebra Cheat Sheet - This is as many common algebra facts, properties, formulas, and functions that I could think of. There is also a page of common algebra errors included. Currently the full version of the cheat sheet is 4 pages long.
Full Version : http://tutorial.math.lamar.edu/getfile.aspx?file=B,30,N
Reduced Version : http://tutorial.math.lamar.edu/getfile.aspx?file=B,31,N
Trig Cheat Sheet - Here is a set of common trig facts, properties and formulas. A unit circle (completely filled out) is also included. Currently this cheat sheet is 4 pages long.
Full Version : http://tutorial.math.lamar.edu/getfile.aspx?file=B,32,N
Reduced Version : http://tutorial.math.lamar.edu/getfile.aspx?file=B,33,N
Complete Calculus Cheat Sheet - This contains common facts, definitions, properties of limits, derivatives and integrals. Most of the information here is generally taught in a Calculus I course although there is some information that is generally taught in a Calculus II course included as well. The full sized version is 11 pages.
Full Version : http://tutorial.math.lamar.edu/getfile.aspx?file=B,40,N
Reduced Version : http://tutorial.math.lamar.edu/getfile.aspx?file=B,41,N
Limits Calculus Cheat Sheet - This is the limits portion of the Complete Calculus Cheat Sheet. The full sized version is 2 pages.
Full Version : http://tutorial.math.lamar.edu/getfile.aspx?file=B,42,N
Reduced Version : http://tutorial.math.lamar.edu/getfile.aspx?file=B,43,N
Derivatives Calculus Cheat SheetQuick - This is the derivatives portion of the Complete Calculus Cheat Sheet. The full sized version is 4 pages.
Full Version : http://tutorial.math.lamar.edu/getfile.aspx?file=B,44,N
Reduced Version : http://tutorial.math.lamar.edu/getfile.aspx?file=B,45,N
Integrals Calculus Cheat Sheet - This is the integrals portion of the Complete Calculus Cheat Sheet. The full sized version is 5 pages.
Full Version : http://tutorial.math.lamar.edu/getfile.aspx?file=B,46,N
Reduced Version : http://tutorial.math.lamar.edu/getfile.aspx?file=B,47,N
CheatCommon Derivatives and Integrals - Here is a set of common derivatives and integrals that are used somewhat regularly in a Calculus I or Calculus II class. Also included are reminders on several integration techniques. Currently this cheat sheet is 4 pages long.
Full Version : http://tutorial.math.lamar.edu/getfile.aspx?file=B,34,N
Reduced Version : http://tutorial.math.lamar.edu/getfile.aspx?file=B,35,N
Table of Laplace Transforms - Here is a list of Laplace transforms for a differential equations class. This tables gives many of the commonly used Laplace transforms and formulas. Currently this table is 2 pages long. The table itself however is only the first page of the file. The second page is just a set of facts about some of the table entries.
Full Version : http://tutorial.math.lamar.edu/getfile.aspx?file=B,36,N

Elementary Math Cheat Sheet

Description and Overview¶

Mathematica is a fully integrated environment for technical computing. It performs symbolic manipulation of equations, integrals, differential equations, and most other mathematical expressions. Numeric results can be evaluated as well.

How to Use Mathematica¶

Running in the Notebook Interface¶

To use the graphical interface to Mathematica, you will need to connect to a NERSC machine with X11.

Tip

Mathematica Syntax Cheat Sheet

We highly recommend the use of NX to invoke an X11 session and run the Mathematica notebook interface.

Next, you will need to load the Mathematica module. To use the default version of Mathematica, use

To start up Mathematica once the module is loaded, you can simply type

You should see the Mathematica logo ('Spikey') appear, followed by the application interface.

Mathematica Licensing¶

NERSC's Mathematica licenses are for a limited number of seats. Once you are finished using Mathematica, please be sure you disconnect your X11 session so that your seat becomes available to the next user. If you use NX, remember to exit Mathematica within your NX session before closing, as NX will otherwise keep the session alive, preventing other users from launching Mathematica.

Mathematica Cheat Sheet Pdf

When starting up a new Mathematica session, check to be sure that you don't already have an instance of Mathematica running. The most common issue with Mathematica licensing at NERSC is that another user is inadvertently using multiple seats.

Running Mathematica Scripts¶

To run Mathematica scripts, you can do so in interactive mode or in batch mode. Both approaches require the use of the job scheduler.

To run in interactive mode, use salloc to obtain access to a compute node. To avoid using multiple license seats at once (always a good thing), specify a single node and a single task per node. If you want to take advantage of parallelism in your script, you can specify more than one cpu per task. An allocation to run on four cores in the regular queue would be obtained with a command like the following:

Running the script is then as simple as

To run in batch mode, you will need to write a Slurm batch script and then use sbatch to put your job into the queue. An example batch script that makes 4 cores available to your script follows.

If you want to take advantage of parallelism in Mathematica, you can use the application's built-in parallel commands. (See the Wolfram web site for more about parallel commands in Mathematica.) Following is an example script that works on Cori. With Cori, you can use up to 16 cores. Be sure the first line of your script points to the correct directory for the machine on which you're running.

Mathematica Cheat Sheet

Documentation¶

Mathematica Cheat Sheet Pdf

Extensive on-line documentation is available at the Wolfram web site.





Coments are closed