Starting up with SageMath

Working with SageMathCloud.

SageMathCloud is the easiest way to start working with SageMath. (Though, if you are feeling more adventurous, you could also install Sage on your computer following directions here.)

Steps to get going with SageMathCloud:

  1. You need to be using either Google Chrome or Safari. Unfortunately, Firefox does not work.
  2. Create an account on https://cloud.sagemath.com. You just need your name, email address and a password. After entering this information
  3. You should now be brought to a page where you can create a new project (which is like a directory on the server for storing your work with SAGE). Enter a title such as "Dynamics Class". You don't need a description. Click "Create Project". (The other buttons involve adding features you do not, and the site charges for these features.) You will be brought to the Project page.
  4. Important: Observe that in the top right corner of the worksheet, it says Python 2 (SageMath). This means this is a python notebook and not a sage notebook. To fix this click on the Kernel menu, then move down to Change kernel and click SageMath 7.5 (or whatever the latest version of SageMath is).
  5. Click on the button ⊕New. Replace the name (which defaults to the current date and time) with something reasonable like "First Notebook". Then under "Select the type" click the button for "Jupyter Notebook". The page should update to allow you to view the notebook.
  6. Playing around with a first notebook:
  7. To do something related to the course, you can visit the Cobweb plot notebook I created. You can not edit or manipulate this page. But, you can copy the notebook to your project and then manipulate it. Click the button labeled Copy Jupyter Notebook to your Project.... Then under In the project select the project you just created and click Copy 1 item. Then go back to your project (possibly by entering cloud.sagemath.com into your browser and clicking on your project). You should now have a file named Cobweb.ipynb. Click on this file name. You can now select the text boxes one at a time and press Shift+Enter to run them. (This must be done in order or you'll likely get errors.) Later in the notebook sliders and interactive graphics should be created. You should play around with these things. For example, you could try to study the family of maps $T_c(x)=c \cos(x)$ defined on the interval $[-c,c]$. This function can be represented by the code lambda x:c*cos(x).
Course webpage | Course Information for SageMath
Last modified on August 17, 2018.
[check html] [check css]