Getting started

This post contains detailed instructions for creating your first worksheet on SageMathCloud. It should take you about 15 minutes to work through. (Click on any of the screen shots below for a bigger version.)

  1. Visit https://cocalc.com .  You will see a screen where you can create an account:

    Click “Create Your Free CoCalc Account!”

    Click “I agree to the Terms of Service.” Fill out the form using a real e-mail address and you have an account.
  2. You will be taken to a list of your projects (currently blank):

    Click “Create New Project”, enter a name (e.g., “Math 342”) and click “Create”.

    Then click on the name of your new project.
  3. The next step is to create a new file to work in. Type a name (e.g., “Blog1”) and click “Sage worksheet”.
  4. Your screen should now look like this:

    Type “2+2” and press Shift-Return. (That is, hold down the Shift key and press Return.) Sage should compute “4” for you:
  5. Admittedly, that’s not very impressive. The worksheet has some menus to help you get comfortable with Sage syntax and learn the names of functions. For example, we can graph a function by going to the “Plots” menu select “Function”. You can also plot functions of two variables. Play around with it a bit.
  6. Sage will (try to) solve systems of equations using the “solve” command. Type:
    %var x y
    solve([3*x+5*y==7, x-2*y==3],x,y)

    and press shift-return.
  7. We can also do this using a matrix. To create a matrix, type:
    A=matrix([[3,5,7],[1,-2,3]])
    To get Sage to print your matrix for you, type
    A
    and hit shift-return.
    To get the row-reduced echelon form of A, type:
    A.rref().
  8. Try entering and row-reducing another matrix, then print out your worksheet and hand it in.  (It’s okay to print it 2 pages per side, to save space.)