Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News AboutSign UpSign In
| Download

All published worksheets from http://sagenb.org

Views: 168703
Image: ubuntu2004
x=1+2; print x
3
<p style="color: red;">hi</p>

hi

Traceback (most recent call last): File "<stdin>", line 1, in <module> File "_sage_input_7.py", line 10, in <module> exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n" + _support_.preparse_worksheet_cell(base64.b64decode("QT1tYXRyaXgoW1szLDJdLFsyLDRdXSk7IApBOwpBLmVpZ2VudmFsdWVzKCk7IApBLmVpZ2VudmVjdG9ycygpIDs="),globals())+"\\n"); execfile(os.path.abspath("___code___.py"))' + '\n', '', 'single') File "", line 1, in <module> File "/tmp/tmp1m3VMB/___code___.py", line 6, in <module> exec compile(u'A.eigenvectors() ;' + '\n', '', 'single') File "", line 1, in <module> File "element.pyx", line 306, in sage.structure.element.Element.__getattr__ (sage/structure/element.c:2632) File "parent.pyx", line 268, in sage.structure.parent.getattr_from_other_class (sage/structure/parent.c:2835) File "parent.pyx", line 170, in sage.structure.parent.raise_attribute_error (sage/structure/parent.c:2602) AttributeError: 'sage.matrix.matrix_integer_dense.Matrix_integer_dense' object has no attribute 'eigenvectors'
var('x'); y=plot(x^2,x,-2,2); show(y);
sqrt(1^2+(1/2)^2)
1/2*sqrt(5)
sqrt((sqrt(5)/2)^2-(sqrt(3)/2)^2)
sqrt(1/2)