| Download
All published worksheets from http://sagenb.org
Project: sagenb.org published worksheets
Views: 168703Image: ubuntu2004
0.997002*I
I
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "_sage_input_4.py", line 10, in <module>
exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n" + _support_.preparse_worksheet_cell(base64.b64decode("ZmxvYXQoYW5zd2VyLnJlYWxfcGFydCgpKStmbG9hdChhbnN3ZXIuaW1hZ19wYXJ0KCkpKkkKICAjY2hlY2sgaWYgYW5zd2VyIGZyb20gcGFyYW1ldGVyaXphdGlvbiBhZ3JlZXMgd2l0aCBhcHByb3hpbWF0aW9uIHRha2luZyBpdHMgZmxvYXRpbmctcG9pbnQgdmFsdWU="),globals())+"\\n"); execfile(os.path.abspath("___code___.py"))' + '\n', '', 'single')
File "", line 1, in <module>
File "/tmp/tmpzHLXPD/___code___.py", line 2, in <module>
exec compile(u'float(answer.real_part())+float(answer.imag_part())*I\n #check if answer from parameterization agrees with approximation taking its floating-point value' + '\n', '', 'single')
File "", line 1, in <module>
NameError: name 'answer' is not defined