Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News AboutSign UpSign In
| Download

All published worksheets from http://sagenb.org

Views: 168749
Image: ubuntu2004
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "_sage_input_14.py", line 10, in <module> exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n" + _support_.preparse_worksheet_cell(base64.b64decode("Y2lyY2xlKCgwLDApLCAxLCByZ2Jjb2xvcj0oMCwxLDApKQpBc3BlY3QgcmF0aW89MQ=="),globals())+"\\n"); execfile(os.path.abspath("___code___.py"))' + '\n', '', 'single') File "", line 1, in <module> File "/tmp/tmp955HE_/___code___.py", line 4 Aspect ratio=_sage_const_1 ^ SyntaxError: invalid syntax
a=circle((1,1), 2, rgbcolor=(0,0,0)) c=circle((0,0), 1, rgbcolor=(0,1,0)) k3_1=circle((1,2), 2, rgbcolor=(0,0,1), fill=False) k3_2=circle((2,3), 1, rgbcolor=(1,0,0), fill=True) x = var('x') k4 = plot(((x)^3),(x,-2,4),rgbcolor=hue(0.6)) k5_1 = plot((e^((-1/2)*x)), (x,0,6), rgbcolor=(1,1,0)) k5_2 = plot((cos(2*pi*x)*(e^((-1/2)*x))), (x,0,6), rgbcolor=(1,0,1)) t1 = text("Aufgabe 1", (2,4), rgbcolor=(0,0,0)) t2a = text("Aufgabe 2a", (0.5,1.5), rgbcolor=(0,0,0)) t2b = text("Aufgabe 2b", (0.5,1.5), rgbcolor=(0,0,0)) t3 = text("Aufgabe 3", (1,5), rgbcolor=(0,0,0)) t4 = text("Aufgabe 4", (1,80), rgbcolor=(0,0,0)) t5 = text("Aufgabe 5", (2,2), rgbcolor=(0,0,0)) show(t1+a) show(c+t2a,aspect_ratio=1) show(c+t2b,aspect_ratio=1,axes=false) show(k3_1+k3_2+t3,aspect_ratio=1) show(k4+t4) show(k5_1+k5_2+t5)