| Download
All published worksheets from http://sagenb.org
Project: sagenb.org published worksheets
Views: 168749Image: ubuntu2004
5
True
False
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "_sage_input_18.py", line 10, in <module>
exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n" + _support_.preparse_worksheet_cell(base64.b64decode("d2hpbGUgbW9uZXk8MjAwMDA="),globals())+"\\n"); execfile(os.path.abspath("___code___.py"))' + '\n', '', 'single')
File "", line 1, in <module>
File "/tmp/tmpaIt9QS/___code___.py", line 3
while money<_sage_const_20000
^
SyntaxError: invalid syntax
1
10690.0000000000
123
123
123
1
0
cos(x)
-sin(x)
-1/2*(y + 1)*x^3 + 1/6*x^3 + (y + 1)*x - x
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "_sage_input_50.py", line 10, in <module>
exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n" + _support_.preparse_worksheet_cell(base64.b64decode("Zm9yIGEgaW4gcmFuZ2UoMiw4KzEpOg=="),globals())+"\\n"); execfile(os.path.abspath("___code___.py"))' + '\n', '', 'single')
File "", line 1, in <module>
File "/tmp/tmpZIslj7/___code___.py", line 4
^
IndentationError: expected an indented block
(x, y)
Full MatrixSpace of 2 by 3 dense matrices over Integer Ring
[1 2 3]
[4 5 6]
[1/2 1 3/2]
[ 2 5/2 3]
Full MatrixSpace of 2 by 3 dense matrices over Rational Field
[1 2 3]
[4 5 6]
[1/2 1 3/2]
[ 2 5/2 3]
Full MatrixSpace of 2 by 3 dense matrices over Real Field with 53 bits of precision
[1.00000000000000 2.00000000000000 3.00000000000000]
[4.00000000000000 5.00000000000000 6.00000000000000]
[0.500000000000000 1.00000000000000 1.50000000000000]
[ 2.00000000000000 2.50000000000000 3.00000000000000]
[0 1 2]
[3 4 5]
[6 7 8]
[1]
[2]
[3]
[ 40 80 120]
[ 40 80 120]
759
[1.00000000000000 2.00000000000000]
[3.00000000000000 4.00000000000000]
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "_sage_input_88.py", line 10, in <module>
exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n" + _support_.preparse_worksheet_cell(base64.b64decode("cCh5KQ=="),globals())+"\\n"); execfile(os.path.abspath("___code___.py"))' + '\n', '', 'single')
File "", line 1, in <module>
File "/tmp/tmpcWlbNQ/___code___.py", line 2, in <module>
exec compile(u'p(y)' + '\n', '', 'single')
File "", line 1, in <module>
TypeError: 'Graphics' object is not callable
x