2317 days 전, drug231 작성

var('a,b') f(x)=sqrt(x^2+a*x)-sqrt(x^2+b*x) limit(f(x), x=oo) 
1/2*a - 1/2*b
1/2*a - 1/2*b
plot(f(x), (x, -5, 5)) 
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_18.py", line 10, in <module>
    exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n" + _support_.preparse_worksheet_cell(base64.b64decode("cGxvdChmKHgpLCh4LCAtNSwgNSk="),globals())+"\\n"); execfile(os.path.abspath("___code___.py"))
  File "", line 1, in <module>
  File "/tmp/tmpbqoTzQ/___code___.py", line 4
SyntaxError: invalid syntax