| Download
All published worksheets from http://sagenb.org
Project: sagenb.org published worksheets
Views: 168822Image: ubuntu2004
y
(x, y, z)
e
-(log(x)/x^2 - 1/x^2)*sin(x) + log(x^(1/x))*cos(x)
1/2
1/2/(x - 1) - 1/2/(x + 1)
1/2/(x - 1) - 1/2/(x + 1)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "_sage_input_2.py", line 10, in <module>
exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n" + _support_.preparse_worksheet_cell(base64.b64decode("bWF4aW1hLnBsb3QyZF9wYXJhbWV0cmljKFsiY29zKDIqdCkgKyAyKmNvcyh0KSIsIjQqY29zKHQpIC0gY29zKDIqdCkiXSwgInQiLFswLDFdKQ=="),globals())+"\\n"); execfile(os.path.abspath("___code___.py"))' + '\n', '', 'single')
File "", line 1, in <module>
File "/tmp/tmp61CPk9/___code___.py", line 3, in <module>
exec compile(u'maxima.plot2d_parametric(["cos(2*t) + 2*cos(t)","4*cos(t) - cos(2*t)"], "t",[_sage_const_0 ,_sage_const_1 ])' + '\n', '', 'single')
File "", line 1, in <module>
File "/sagenb/sage_install/sage-5.0-boxen-x86_64-Linux/local/lib/python2.7/site-packages/sage/interfaces/maxima_abstract.py", line 738, in plot2d_parametric
self(cmd)
File "/sagenb/sage_install/sage-5.0-boxen-x86_64-Linux/local/lib/python2.7/site-packages/sage/interfaces/interface.py", line 198, in __call__
return cls(self, x, name=name)
File "/sagenb/sage_install/sage-5.0-boxen-x86_64-Linux/local/lib/python2.7/site-packages/sage/interfaces/maxima.py", line 1155, in __init__
ExpectElement.__init__(self, parent, value, is_name=False, name=None)
File "/sagenb/sage_install/sage-5.0-boxen-x86_64-Linux/local/lib/python2.7/site-packages/sage/interfaces/expect.py", line 1334, in __init__
raise TypeError, x
TypeError: Error executing code in Maxima
CODE:
sage0 : plot2d([parametric, cos(2*t) + 2*cos(t), 4*cos(t) - cos(2*t), [t, 0, 1], [nticks, 50]])$
Maxima ERROR:
exec: No such file or directory
Maxima encountered a Lisp error:
Serious signal 13 caught.
Automatically continuing.
To enable the Lisp debugger set *debugger-hook* to nil.
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "_sage_input_12.py", line 10, in <module>
exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n" + _support_.preparse_worksheet_cell(base64.b64decode("cGxvdDJkX3BhcmFtZXRyaWMoWyJjb3MoMip0KSArIDIqY29zKHQpIiwiNCpjb3ModCkgLSBjb3MoMip0KSJdLCAidCIsWzAsMV0p"),globals())+"\\n"); execfile(os.path.abspath("___code___.py"))' + '\n', '', 'single')
File "", line 1, in <module>
File "/tmp/tmpjs0cCN/___code___.py", line 3, in <module>
exec compile(u'plot2d_parametric(["cos(2*t) + 2*cos(t)","4*cos(t) - cos(2*t)"], "t",[_sage_const_0 ,_sage_const_1 ])' + '\n', '', 'single')
File "", line 1, in <module>
NameError: name 'plot2d_parametric' is not defined
24
y