Aufgabe LA 9

179 days ago by frosti

a=1; for i in range (1,39): a=(a*i) print a 
       
523022617466601111760007224100074291200000000
523022617466601111760007224100074291200000000
factorial(38) 
       
523022617466601111760007224100074291200000000
523022617466601111760007224100074291200000000
a=[] for i in srange(10,30,5): a.append(circle((1,i), 6)) show(animate(a,xmin=-5,ymin=4,xmax=30,ymax=34,axes=false)) 
       
j = [sin(2*pi*0.99*(n+1)) for n in range (150)] list_plot(j) 
       
j = [0.99*(n+1) for i in range (150),sin(2*pi*0.99*(n+1))for i in range (150), plot(2*pi*x)] list_plot (j) 
       
 
       
Traceback (click to the left of this block for traceback)
...
SyntaxError: invalid syntax
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "_sage_input_44.py", line 10, in <module>
    exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n" + _support_.preparse_worksheet_cell(base64.b64decode("YT1bXSAKZm9yIGkgaW4gc3JhbmdlKDEsNSw1KTogCiAgICBhLmFwcGVuZChjaXJjbGUoKGksYWJzKCgyMCtpLzE1KSpzaW4oaS81KSkpLCA2KQpzaG93KGFuaW1hdGUoYSx4bWluPS0xMCx5bWluPS0xMCx4bWF4PTEwMCx5bWF4PTQwLGF4ZXM9ZmFsc2UpKQ=="),globals())+"\\n"); execfile(os.path.abspath("___code___.py"))
  File "", line 1, in <module>
    
  File "/tmp/tmp0R7DBU/___code___.py", line 6
    exec compile(u'show(animate(a,xmin=-_sage_const_10 ,ymin=-_sage_const_10 ,xmax=_sage_const_100 ,ymax=_sage_const_40 ,axes=false))
       ^
SyntaxError: invalid syntax