# 기초수학

## 2412 days 전, tmddnjs513 작성

p1=plot(x*sin(3/x), x, -0.5,0, color='blue') p2=plot(x*sin(3/x), x, 0,0.5, color='red') show(p1+p2, ymax=0.3, ymin=-0.3, aspect_ratio=1)
9 Sage 사용 예시                              (piecewise 조각마다 정의된 함수의 그래프) plot(Piecewise([[(0,1),x^2],[(1,2),1],[(2,3),x^2-3]]))
 Traceback (click to the left of this block for traceback) ... SyntaxError: invalid syntax Traceback (most recent call last): File "", line 1, in File "_sage_input_6.py", line 10, in exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n" + _support_.preparse_worksheet_cell(base64.b64decode("OQpTYWdlIOyCrOyaqSDsmIjsi5wK7oOqIO6BhO6DvCDugYUg7oGHCu6BuArugbkK7oG6Cu6BuwrugbsK7oO87oC1IO6AvSDugZUg7oO8IO6BlSDugLQK7oC0IO6AtCDugZUg7oO8IO6BlSDugLUK7oO87oC1IO6BhiDugLYg7oC1IO6BlSDug7wg7oGVIO6AtgoocGllY2V3aXNlIOyhsOqwgeuniOuLpCDsoJXsnZjrkJwg7ZWo7IiY7J2YIOq3uOuemO2UhCkKcGxvdChQaWVjZXdpc2UoW1soMCwxKSx4XjJdLFsoMSwyKSwxXSxbKDIsMykseF4yLTNdXSkp"),globals())+"\\n"); execfile(os.path.abspath("___code___.py")) File "", line 1, in File "/tmp/tmpZE4s3I/___code___.py", line 4 Sage 사용 예시 ^ SyntaxError: invalid syntax