Navigate to https://cloud.sagemath.com. If you're already signed in, first sign out by clicking on your email address by the icon in the upper right, and clicking "Sign out". Click on "create an account", then agree to the terms of usage. Next either enter your name, email address, and password for the new account you would like to create, or login using your Google, Github, Facebook, etc., account. You may change your name, email address or password at any time later, and also reset your password in case you forget it.
Log into https://cloud.sagemath.com, then click in the upper right corner on your email address by the icon. Change your first or last name in the settings tab that appears, then click save.
To change your password, click the "Change password" link, enter your old password, then enter a new password.
To change the email account that is linked to your SageMathCloud account, click on the "change" link next to your email address, type in the password (to your SageMathCloud account), then enter a new email address.
https://github.com/sagemath/cloud-examples.gitand click "From Web". In a few seconds you'll find a directory
sage-cloud-templatesin your project, full of examples.
git pullto get the latest changes and examples (you may have to type "git commit -a" first, if you have made changes). You can also see what's new in the Github repository.
is a system for creating
professional quality documents, with excellent support for typesetting mathematical formulas like
.
There are two main ways to use latex in the SageMathCloud:
In a project, click New then the "Sage" button. In the worksheet that appears, type
%default_mode rthen press shift+enter. For the reset of the worksheet, type normal R commands, followed by shift+enter. Plotting should just work as usual in R. See these example worksheets.
In a project, click New then the "Jupyter" button, or just open an ipynb file. The notebook will be opened using Jupyter's html-based client, with support for embedded graphics. To support the collaborative nature of the SageMathCloud, we've enhanced the Jupyter notebook with realtime sync, so if you open the same notebook on multiple computers (or if multiple people open the same notebook), they will stay in sync. Also, if you want to use the Sage preparser, type %load_ext sage into a notebook cell.
rsync -rltgoDvxH --backup --backup-dir=.trash/ source destso destination files that would be overwritten are instead copied to the trash.
loading…
Á | á | Â | â | ´ | Æ | æ | À | à | ℵ | Α | α | & | ∧ | ∠ | Å | å | ≈ | Ã | ã | Ä | ä | „ | Β | β | ¦ | • | ∩ | Ç | ç | ¸ | ¢ |
Χ | χ | ˆ | ♣ | ≅ | © | ↵ | ∪ | ¤ | † | ‡ | ↓ | ⇓ | ° | Δ | δ | ♦ | ÷ | É | é | Ê | ê | È | è | ∅ | Ε | ε | ≡ | Η | η | ||
Ð | ð | Ë | ë | € | ∃ | ƒ | ∀ | ½ | ¼ | ¾ | ⁄ | Γ | γ | ≥ | > | ↔ | ⇔ | ♥ | … | Í | í | Î | î | ¡ | Ì | ì | ℑ | ∞ | ∫ | Ι | ι |
¿ | ∈ | Ï | ï | Κ | κ | Λ | λ | 〈 | « | ← | ⇐ | ⌈ | “ | ≤ | ⌊ | ∗ | ◊ | | ‹ | ‘ | < | ¯ | — | µ | · | − | Μ | μ | ∇ | – | |
≠ | ∋ | ¬ | ∉ | ⊄ | Ñ | ñ | Ν | ν | Ó | ó | Ô | ô | Œ | œ | Ò | ò | ‾ | Ω | ω | Ο | ο | ⊕ | ∨ | ª | º | Ø | ø | Õ | õ | ⊗ | Ö |
ö | ¶ | ∂ | ‰ | ⊥ | Φ | φ | Π | π | ϖ | ± | £ | ′ | ″ | ∏ | ∝ | Ψ | ψ | " | √ | 〉 | » | → | ⇒ | ⌉ | ” | ℜ | ® | ⌋ | Ρ | ρ | |
› | ’ | ‚ | Š | š | ⋅ | § | | Σ | σ | ς | ∼ | ♠ | ⊂ | ⊆ | ∑ | ⊃ | ¹ | ² | ³ | ⊇ | ß | Τ | τ | ∴ | Θ | θ | ϑ | Þ | þ | ˜ | |
× | ™ | Ú | ú | ↑ | ⇑ | Û | û | Ù | ù | ¨ | ϒ | Υ | υ | Ü | ü | ℘ | Ξ | ξ | Ý | ý | ¥ | ÿ | Ÿ | Ζ | ζ | | |
\$
for a dollar sign),
use [ ]
and [x]
to create checklists, and
press shift+enter to save your changes.
The editor respects the themes you
select in account settings, and
external links open in another browser tab.
You can toggle showing the full description or only everything up to the first blank line.
Of course simultaneous synchronized editing of tasks by multiple clients is fully supported.
foo.tasks
that has one
description per line (as a string):
"the first task" "another task"Or, with one JSON line per task:
{"desc":"the first task"} {"desc":"another task"}Additional optional fields are
position
, which is a float that determines sort order, done
, due
and last_edited
, which are the number of milliseconds since the epoch in the UTC time zone, and task_id
which is a v4 UUID.
To add a student to your course, click on the Students tab, then type a student's name or email address in the "Add student" box to the right and press enter or click the button. Searching for an email address is best, since you can be certain that the person you're adding is really a student in your course (instead of an unknown SageMathCloud user with the same name); moreover, if your student doesn't already have an account, they will receive an invitation via email. To add many students at once, just paste in a list of email addresses separated by commas.
Once you add a student, click on Create Project next to your student's name to create their project (or click Create all Projects... to create 2 or more student projects). You own the project, and they will be added as a collaborator, and invited by email if they do not yet have an account. Don't worry if you have 100s of studnets, since student projects are hidden by default from your main project listing.
To delete a student, click to the right of the student. You can toggle whether deleted students are shown in settings.
To create an assignment, first click
New
in the upper left of your project to create a new folder, and create or add files to it, as usual.
Click on the Assignments
tab of the course, then search for the folder by typing some part of its name in the box on the far right.
Click to select the folder and it will be added to your
list of assignments.
To make copies of this folder available to all of your students whose projects you have created,
click the Assign all... button.
(NOTE: Students will not be explicitly notified that you have made an assignment available.)
(NOTE: You can share arbitrary folders with any contents with your
students -- folders don't have
to contain "assignments", and may contain anything, Sage worksheets, IPython notebooks,
LaTeX documents, etc.)
To collect an assignment from your students, click Collect all... to the right of an assignment to collect it from all students. (NOTE: There is currently no way to schedule collection to happen at a specific time -- it happens when you click the button. Click it again to update the collected files.)
Once the assignments are collected, click and select a student to jump to the folder that contains the collected version of a student's assignment. Edit the files there, indicating grades on each problem, etc. (NOTE: There is no special support yet for recording grades, knowing which homework you have graded already, etc.)
When you are done grading, click Return Graded to return the graded homework to the students. If the homework folder is called homework1, then the graded version will appear in the student's project as homework1-graded.
Set the title and description of the course in the Settings tab. When you change these, the new title and description propagates automatically to all student projects for this course.
%sage
## RUN the thing!!
print "Rubik cube \n \n"
S48=SymmetricGroup(48)
R=S48("(25,27,32,30)(26,29,31,28)(3,38,43,19)(5,36,45,21)(8,33,48,24)")
L=S48("(9,11,16,14)(10,13,15,12)(1,17,41,40)(4,20,44,37)(6,22,46,35)")
U=S48("(1,3,8,6)(2,5,7,4)(9,33,25,17)(10,34,26,18)(11,35,27,19)")
D=S48("(41,43,48,46)(42,45,47,44)(14,22,30,38)(15,23,31,39)(16,24,32,40)")
F=S48("(17,19,24,22)(18,21,23,20)(6,25,43,16)(7,28,42,13)(8,30,41,11)")
B=S48("(33,35,40,38)(34,37,39,36)(3,9,46,32)(2,12,47,29)(1,14,48,27)")
RC3=S48.subgroup([R,L,U,D,F,B]) # define Rubik’s cube group to be RC3
RC3.order()
S48("(7,18)") in RC3
S48("(7,18)(5,26)") in RC3
RC3.is_subgroup(S48)
rubik = CubeGroup()
print "rubik diagram \n"
rubik.display2d("")
rubik.order() # same as RC3
R=rubik.R()
L=rubik.L()
U=rubik.U()
D=rubik.D()
F=rubik.F()
B=rubik.B()
show(R)
print "solve the 'word problem' \n"
state = rubik("(7,18)(5,26)")
rubik.solve(state) # calls the word solve algorithm
print "\n"
B^(-1)
F^2 * R^2 * B^(-1) * F^(-1) * D^(-1) * F * D * B * R^2 * F^(-1) * R^(-1) * F^(-1) * R
F^3
rubik.is_subgroup(S48)
state in S48
Permutation('(1,2,6,5)') in S48
show(Permutation('(1,2,6,5)'))
F=S48("(17,19,24,22)(18,21,23,20)(6,25,43,16)(7,28,42,13)(8,30,41,11)")
xxxxxxxxxx
ff1e0e18-cd2c-4a2d-91c1-dfa1be0d283b
compute3-us