1st Worksheet

132 days ago by arrigunaga

solve([6-2*x-2*3==3+x],x) 
       
[x == -1]
[x == -1]
solve([-5*x>20],x) 
       
[[x < -4]]
[[x < -4]]
solve([5+x<-3],x) 
       
[[x < -8]]
[[x < -8]]
def f(x): return 3 - 2*x^2 f(100) 
       
-19997
-19997
var('A x') solve([A==2+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_12.py", line 10, in <module>
    exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n" + _support_.preparse_worksheet_cell(base64.b64decode("dmFyKCdBIHgnKSBzb2x2ZShbQT09Mit4XSx4KQ=="),globals())+"\\n"); execfile(os.path.abspath("___code___.py"))
  File "", line 1, in <module>
    
  File "/tmp/tmp1KtWFy/___code___.py", line 3
    var('A x') solve([A==_sage_const_2 +x],x)
                   ^
SyntaxError: invalid syntax