Evaluate

127 days ago by anakvh

var('y') solve(y^2 + 3*y + 2, y) 
       
[y == -2, y == -1]
[y == -2, y == -1]
diff(x*csc(x^2)) 
       
-2*x^2*csc(x^2)*cot(x^2) + csc(x^2)
-2*x^2*csc(x^2)*cot(x^2) + csc(x^2)
integral(cos(2*x),x) 
       
1/2*sin(2*x)
1/2*sin(2*x)
solve (6 - 2*(x - 3)=((3 + x ), x) 
       
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_20.py", line 10, in <module>
    exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n" + _support_.preparse_worksheet_cell(base64.b64decode("c29sdmUKKDYgLSAyKih4IC0gMyk9KCgzICsgeCApLCB4KQ=="),globals())+"\\n"); execfile(os.path.abspath("___code___.py"))
  File "", line 1, in <module>
    
  File "/tmp/tmpW5c8x4/___code___.py", line 4
    (_sage_const_6  - _sage_const_2 *(x - _sage_const_3 )=((_sage_const_3  + x ), x)
                                                         ^
SyntaxError: invalid syntax
f(x)=(3-2*x^2)/(5*x^2+100*x) f(1,000,000) 
       
1/105
1/105