Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News AboutSign UpSign In
| Download

All published worksheets from http://sagenb.org

Views: 168733
Image: ubuntu2004
factor(10989)
3^3 * 11 * 37
factor(12177)
3^3 * 11 * 41
10989/12177
37/41
f(x)==([abs(x-3)+3],x) f(-1)
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "_sage_input_5.py", line 10, in <module> exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n" + _support_.preparse_worksheet_cell(base64.b64decode("Zih4KT09KFthYnMoeC0zKSszXSx4KSBmKC0xKQ=="),globals())+"\\n"); execfile(os.path.abspath("___code___.py"))' + '\n', '', 'single') File "", line 1, in <module> File "/tmp/tmpqrhzLs/___code___.py", line 3 f(x)==([abs(x-_sage_const_3 )+_sage_const_3 ],x) f(-_sage_const_1 ) ^ SyntaxError: invalid syntax
solve([abs(x-3)+3<=5],x)
#0: solve_rat_ineq(ineq=abs(x-3)+3 <= 5) [[x == 5], [x == 1], [1 < x, x < 3], [x == 3], [3 < x, x < 5]]