First Sage Assignment.

131 days ago by haneinen

solve ([6-2*(x-3)==3+x],x) 
       
[x == 3]
[x == 3]
solve ([-5*x > 20],x) 
       
[[x < -4]]
[[x < -4]]
solve ([5 + x < -3],x) 
       
[[x < -8]]
[[x < -8]]
def f(x): solve ([f*(x)==3-2*x^2],x) x=100 
       
Traceback (click to the left of this block for traceback)
...
IndentationError: expected an indented block
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "_sage_input_21.py", line 10, in <module>
    exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n" + _support_.preparse_worksheet_cell(base64.b64decode("ZGVmIGYoeCk6Cgpzb2x2ZSAoW2YqKHgpPT0zLTIqeF4yXSx4KQogICAgICB4PTEwMA=="),globals())+"\\n"); execfile(os.path.abspath("___code___.py"))
  File "", line 1, in <module>
    
  File "/tmp/tmp62GiCs/___code___.py", line 5
    exec compile(u'solve ([f*(x)==_sage_const_3 -_sage_const_2 *x**_sage_const_2 ],x)\n      x=_sage_const_100 
       ^
IndentationError: expected an indented block
var ('A') solve ([A==2+x],x) 
       
[x == A - 2]
[x == A - 2]