sage 1

129 days ago by michelledriessen

solve (x^2+3*x+2, x) 
       
[x == -2, x == -1]
[x == -2, x == -1]
solve (6-2*(x-3)==x+3, x) 
       
[x == 3]
[x == 3]
diff (x*csc(x^2), x) 
       
-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)
evaluate (f(x)==(3-2x^2)/(5x^2+100x), x==1000000) 
       
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_15.py", line 10, in <module>
    exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n" + _support_.preparse_worksheet_cell(base64.b64decode("ZXZhbHVhdGUgKGYoeCk9PSgzLTJ4XjIpLyg1eF4yKzEwMHgpLCB4PT0xMDAwMDAwKQ=="),globals())+"\\n"); execfile(os.path.abspath("___code___.py"))
  File "", line 1, in <module>
    
  File "/tmp/tmprBNFCr/___code___.py", line 3
    evaluate (f(x)==(_sage_const_3 -2x**_sage_const_2 )/(5x**_sage_const_2 +100x), x==_sage_const_1000000 )
                                     ^
SyntaxError: invalid syntax