411 Home
Classes
Assignments
Handouts
Sage
Schedule


Colloquium
Sage

Sage is a free open-source mathematical software system designed to be an open source alternative to Mathematica, Maple, Matlab etc. It can plot functions, take derivatives and limits, integrate, and solve equations among many other things. Check out the Sage website if you are interested. You can use Sage from your web browser or download it for free onto your own computer (Linux, Mac, or Windows).

Instructions for getting started with Sage:

  1. Open a browser, and go to reed.sagenb.org or to sagenb.org. First hurdle: signing in. One way to do this is to type your Reed email address in for the username. Then click on Google. Note: do not fill in the password on this first page. With luck, you will eventually be asked to sign in at Reed, and you should be presented with The Sage Notebook page.
  2. Click on New Worksheet and give your worksheet a name. Click inside the cell (rectangle) and type 1+1. Click on evaluate of hold down the Shift key and hit Enter.
  3. Now enter plot?. After a few seconds, you should see more than you want to know about the plot function. I usually skip through the documentation looking for examples. Try plotting something.
  4. Next potential problem: getting 3d-rendering working in your browser. Try entering
    var('x,y')
    plot3d(x^2+y^2,(x,-1,1),(y,-1-1))
    Then click on Make Interactive. I tried this on three different browsers in the ETC. For each one, I needed to click on something to get the appropriate plugin to load. After doing this, I needed to restart the browser (at least with Firefox). With Chrome, I was told that I needed to give java permission to run. There was a button that appeared at the top of the browser (which I did not notice at first—argh!) that gave this permission.
  5. In order to get the images of 3d plots in the notebook to print, click on Toggle Advanced Controls, then click on Get Static Image to Save. You can then choose Print from the menu on your browser.

Pointers:

Tutorials:

To email your Sage notebook:

To upload a Sage worksheet (sws file):