Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News AboutSign UpSign In
| Download

All published worksheets from http://sagenb.org

Views: 168749
Image: ubuntu2004
2*3
6
print "hola,"; print "mundo!"
hola, mundo!
factorial? factorial(2)
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "_sage_input_6.py", line 10, in <module> exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n" + _support_.preparse_worksheet_cell(base64.b64decode("ZmFjdG9yaWFsPwpmYWN0b3JpYWwoMik="),globals())+"\\n"); execfile(os.path.abspath("___code___.py"))' + '\n', '', 'single') File "", line 1, in <module> File "/tmp/tmpxyyFOO/___code___.py", line 3 factorial? ^ SyntaxError: invalid syntax
factorial(2)
2
plot(sin,(-pi,pi))
lim((1/x),x=3)
1/3
lim((x/x),x=3)
1
diff(sin(x)*log(x^(1/x)),x)
-(log(x)/x^2 - 1/x^2)*sin(x) + log(x^(1/x))*cos(x)
var('x y z'); implicit_plot3d(x^2+y^2-z^2,(x, -2, 2),(y, -2, 2),(z,-2,2))
(x, y, z)