(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9602],{72123:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/features/sage",function(){return a(44196)}])},68721:function(e,t){"use strict";t.Z={src:"/_next/static/media/sage-worksheet.dcc7f9ca.png",height:766,width:1400,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAECAMAAACEE47CAAAAJ1BMVEX3+fr+/v3x8vHl6evu7urn7fHp4LrOsT7n2aDr4OLs2dr29vb7+O9GN+fMAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAJklEQVR4nAXBiQEAIAgDsWsBwWf/eU2IirKBsPBdi9zA6yaPhGY+B8wAfDckoOoAAAAASUVORK5CYII=",blurWidth:8,blurHeight:4}},37606:function(e,t,a){"use strict";var s=a(65748),n=a(89516),r=a(49924),i=a.n(r);let o=n.memo(()=>{let{__html:e}=i()("\\LaTeX",!0);return(0,s.jsx)("span",{dangerouslySetInnerHTML:{__html:e}})});t.Z=o},44196:function(e,t,a){"use strict";a.r(t),a.d(t,{__N_SSP:function(){return S},default:function(){return Z}});var s=a(65748),n=a(95997),r=a(7772),i=a(15700),o=a(48164),l=a(88571),c=a(94288),h=a(64521),d=a(37606),u=a(97118),A=a(9695),g=a(97939),x=a(47126),m=a(90012),j=a(23205),p=a(31180),f={src:"/_next/static/media/cocalc-sagemath-sagetex.dd1b230b.png",height:958,width:1307,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAGCAMAAADJ2y/JAAAAFVBMVEXz8/P3+Pf////r6+vm6OXT3tjS3de+E8xPAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAKUlEQVR4nCXIsQ3AMADDMFl28v/JQVGOpOW3RUgoaiIrX0lJ3KQj3uMDB4UAVVIw3JUAAAAASUVORK5CYII=",blurWidth:8,blurHeight:6},b={src:"/_next/static/media/sage-circular-v2.2ed917af.svg",height:256,width:256,blurWidth:0,blurHeight:0},y={src:"/_next/static/media/sage-nbgrader.be27e0c3.png",height:687,width:1200,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAMAAABPT11nAAAAG1BMVEXd5Oz4+Prn7PL////x9PfZ3ePK19/u6OTu5+NnWhK5AAAACXBIWXMAABYlAAAWJQFJUiTwAAAAJ0lEQVR4nC3GyQ0AIBADsUmyB/1XjJB42QyAy9ANluBZEjM/Z5UkugcUAFsYzV30AAAAAElFTkSuQmCC",blurWidth:8,blurHeight:5},w=a(68721),v={src:"/_next/static/media/sagemath-jupyter.0b1893a5.png",height:858,width:1508,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAMAAABPT11nAAAAM1BMVEX+/v7GrrmZhaksJ2vz8/L4/PnAvdD7+fru8PH29/WllqlSUnjg2OeVncBSNkvUyMiLeIj1q008AAAACXBIWXMAAAsTAAALEwEAmpwYAAAALUlEQVR4nAXBiQHAIAwDsaNNsE0/9p+2Ei67EuMkx7MnJfq9zoWgxzdvJNTADxmUAQFIr/tvAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:5};let M="SageMath";var S=!0;function Z(e){let{customize:t}=e;return(0,s.jsxs)(j.l,{value:t,children:[(0,s.jsx)(l.Z,{title:"Use SageMath Online"}),(0,s.jsxs)(n.default,{children:[(0,s.jsx)(c.Z,{page:"features",subPage:"sage",runnableTag:"sage"}),(0,s.jsxs)(n.default.Content,{children:[(0,s.jsx)(i.Z,{landing:!0,startup:M,body:b,title:(0,s.jsxs)(s.Fragment,{children:["Use ",(0,s.jsx)(m.Z,{href:"https://www.sagemath.org/",children:"SageMath"})," Online"]}),subtitle:(0,s.jsxs)(s.Fragment,{children:["The goal of ",(0,s.jsx)(m.Z,{href:"https://www.sagemath.org/",children:"SageMath"})," is to create a viable free open source alternative to Magma, Maple, Mathematica and Matlab by building on top of many existing open-source packages, including NumPy, SciPy, matplotlib, SymPy, Maxima, GAP, FLINT, and"," ",(0,s.jsx)(m.Z,{href:"/features/r-statistical-software",children:"R"}),"."]}),subtitleBelow:!0,image:v,alt:"Using Sage in a Worksheet"}),(0,s.jsx)(u.Z,{col1:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(x.Dx,{level:2,children:[(0,s.jsx)(r.Icon,{name:"sagemath"})," Start using"," ",(0,s.jsx)(m.Z,{href:"https://sagemath.org/",children:"SageMath"})," on ",(0,s.jsx)(p.Z,{})]}),(0,s.jsxs)(x.nv,{children:[(0,s.jsxs)("ol",{children:[(0,s.jsxs)("li",{children:["Start by ",(0,s.jsx)(m.Z,{href:"/auth/sign-up",children:"signing up"})," for a free"," ",(0,s.jsx)(p.Z,{})," account."]}),(0,s.jsxs)("li",{children:["Read the"," ",(0,s.jsx)(m.Z,{href:"https://doc.cocalc.com/getting-started.html",children:"getting started guide"})," ","to orient yourself and create your first project."]})]}),"After creating your first project, go ahead and create",(0,s.jsxs)("ul",{children:[(0,s.jsxs)("li",{children:["a"," ",(0,s.jsx)(m.Z,{href:"/features/jupyter-notebook",children:"Jupyter Notebooks"})," ","file,"]}),(0,s.jsx)("li",{children:"a Sage Worksheet,"}),(0,s.jsxs)("li",{children:["a ",(0,s.jsx)(d.Z,{})," document, or"]}),(0,s.jsxs)("li",{children:["a plaintext ",(0,s.jsx)(x.xv,{code:!0,children:"*.sage"})," file and run sage in a ",(0,s.jsx)(m.Z,{href:"/features/terminal",children:"Linux Terminal"}),"."]})]})]})]}),col2:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(x.Dx,{level:2,children:[(0,s.jsx)(r.Icon,{name:"smile"})," Benefits of SageMath on ",(0,s.jsx)(p.Z,{})]}),(0,s.jsxs)(x.nv,{children:[(0,s.jsxs)("ul",{children:[(0,s.jsxs)("li",{children:["You no longer have to"," ",(0,s.jsx)("strong",{children:(0,s.jsx)(m.Z,{href:"https://www.sagemath.org/download.html",children:"install and maintain"})})," ","SageMath, which can be challenging since Sage is large. When you're"," ",(0,s.jsx)(m.Z,{href:"/features/teaching",children:"teaching a class"}),", students just have to sign in to CoCalc to get started!"]}),(0,s.jsxs)("li",{children:["You can easily"," ",(0,s.jsx)(m.Z,{href:"https://github.com/sagemathinc/cocalc-howto/blob/main/build-sage.md",children:"build Sage from source and run it on extremely powerful computers"})," ","for only a few cents."]}),(0,s.jsxs)("li",{children:["You can still easily run ",(0,s.jsx)("b",{children:"older versions of Sage"})," ","since many are all preinstalled in every CoCalc project."]}),(0,s.jsxs)("li",{children:["All your files are private, stored persistently, snapshotted and backed up; moreover, you can ",(0,s.jsx)("b",{children:"rsync"})," ","them to your computer or push them to ",(0,s.jsx)("b",{children:"GitHub"}),"."]}),(0,s.jsxs)("li",{children:["You can invite ",(0,s.jsx)("strong",{children:"collaborators"})," to your project to simultaneously edit the same notebooks or code files."]}),(0,s.jsxs)("li",{children:["Everything runs remotely, which means you do not have to worry about messing up your own computer."," "]})]}),(0,s.jsx)("iframe",{width:"560",height:"315",src:"https://www.youtube.com/embed/b8e8qq-KWbA?si=620SEO8C1JBYXpJL",title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0})]})]})}),(0,s.jsx)(A.Z,{startup:M}),(0,s.jsx)(h.Z.Heading,{description:(0,s.jsxs)(s.Fragment,{children:["There are many ways to use ",M," online via CoCalc."]}),children:"Feature Overview"}),(0,s.jsxs)(h.Z,{title:"SageMath Worksheets",image:w.Z,alt:"Using SageMath in a Worksheet",anchor:"sagews",icon:"sagemath",wide:!0,children:[(0,s.jsxs)(x.nv,{children:["CoCalc's"," ",(0,s.jsx)(m.Z,{href:"https://doc.cocalc.com/sagews.html",children:"SageMath Worksheets"})," ",'are a single document experience that can be more friendly than the Jupyter notebook "multiple cells" approach.']}),(0,s.jsx)(x.nv,{children:"They are a great way to teach SageMath, since you can easily include text, code, and output in a single document."})]}),(0,s.jsxs)(h.Z,{title:(0,s.jsxs)(s.Fragment,{children:["SageMath in ",(0,s.jsx)(d.Z,{})," documents"]}),image:f,alt:"Using SageMath in a LaTeX document",anchor:"latex",wide:!0,children:[(0,s.jsxs)(x.nv,{children:["You can also embed SageMath code in your"," ",(0,s.jsxs)(m.Z,{href:"/features/latex-editor",children:[(0,s.jsx)(d.Z,{})," documents"]}),"."]}),(0,s.jsx)(x.nv,{children:"This means you no longer have to manually copy and paste output from SageMath worksheets into your LaTeX documents."}),(0,s.jsxs)(x.nv,{children:["Learn more about"," ",(0,s.jsx)(m.Z,{href:"https://ctan.org/pkg/sagetex?lang=en",children:"SageTeX"})," and"," ",(0,s.jsx)(m.Z,{href:"https://doc.cocalc.com/latex.html#sage",children:"how to use it in CoCalc"}),"."]})]}),(0,s.jsxs)(h.Z,{title:"SageMath in Jupyter Notebooks",image:v,alt:"Using SageMath in a Jupyter Notebook",anchor:"jupyter",icon:"jupyter",wide:!0,children:[(0,s.jsxs)(x.nv,{children:["You can also use SageMath in"," ",(0,s.jsx)(m.Z,{href:"/features/jupyter-notebook",children:"Jupyter Notebooks"}),"."]}),(0,s.jsx)(x.nv,{children:"This is a great way to teach SageMath, since you can easily include text, code, and output in a single document."}),(0,s.jsxs)(x.nv,{children:["Learn more about"," ",(0,s.jsx)(m.Z,{href:"https://doc.cocalc.com/jupyter.html",children:"how to use SageMath in Jupyter Notebooks"}),"."]})]}),(0,s.jsxs)(h.Z,{title:"Teach using SageMath and Nbgrader",image:y,alt:"A screenshot using nbgrader with SageMath.",anchor:"nbgrader",icon:"graduation-cap",wide:!0,children:[(0,s.jsxs)(x.nv,{children:["CoCalc's"," ",(0,s.jsx)(m.Z,{href:"/features/teaching",children:"integrated course management system"})," ","fully supports"," ",(0,s.jsx)(m.Z,{href:"https://doc.cocalc.com/teaching-nbgrader.html",children:"using nbgrader together with SageMath"})," ","Jupyter Notebooks."]}),(0,s.jsx)(x.nv,{children:"We provide custom Python templates for all the nbgrader cell types."}),(0,s.jsx)(x.nv,{children:"Tests run in the student's project by default, so malicious code won't impact anybody except the student."})]}),(0,s.jsx)(g.Z,{}),(0,s.jsx)(A.Z,{startup:M})]}),(0,s.jsx)(o.Z,{})]})]})}}},function(e){e.O(0,[8257,8246,1822,7988,2143,939,6593,3241,5125,661,4170,3729,8094,4288,527,3956,2888,9774,179],function(){return e(e.s=72123)}),_N_E=e.O()}]);