# 일반수학및실습2-12.1절

## 2042 days 전, jhlee2chn 작성

예.

var('x, y') f(x, y)=x*y plot3d(f, (x, -5, 5), (y, -4, 4), opacity=0.4)
 Sleeping...

예제 2.

var('x, y') f(x, y)=y^2-x^2 plot3d(f, (x, -5, 5), (y, -4, 4), opacity=0.6)
 Sleeping...

예.

var('x, y') contour_plot(1/3*sqrt(36-9*x^2-4*y^2), (x, -3, 3), (y, -3, 3), fill=False, cmap='hsv')
var('x, y') contour_plot(1/3*sqrt(36-9*x^2-4*y^2), (x, -3, 3), (y, -3, 3), fill=False, cmap='hsv', labels=True)

예.

var('x, y') contour_plot(y^2-x^2, (x, -4, 4), (y, -4, 4), fill=False, cmap='hsv', labels=True)

예.

var('x, y') contour_plot(x*y, (x, -3, 3), (y, -3, 3), fill=False, cmap='hsv', labels=True)

예.

var('x, y, z') f(x, y, z)=sqrt(x^2+y^2+z^2-1) p=Graphics() for k, col in [(1,'red'),(2,'orange'),(3,'yellow')]: p+=implicit_plot3d(f(x,y,z)==k, (x,-4,4), (y,-4,4), (z,-4,4), opacity=0.6, color=col) p
 Sleeping...

예.

var('x, y, z') f(x, y, z)=z-x^2-y^2 p=Graphics() for k, col in [(-1,'red'),(0,'orange'),(1,'yellow'), (2, 'green')]: p+=implicit_plot3d(f(x,y,z)==k, (x,-3,3), (y,-3,3), (z,-1,6), opacity=0.4, color=col) p
 script ERROR: script ERROR: io error reading /root/.sage/sage_notebook.sagenb/home/__store__/3/3b/3bc/3bce/jhlee2chn/\ 36/cells/13/sage0-size500-118201682.jmol.zip|SCRIPT: java.io.FileNotFoundException: /root/.sage/sage_notebook.sagenb/home/__store__/3/3b/3bc/3bce/jhlee2chn/\ 36/cells/13/sage0-size500-118201682.jmol.zip (그런 파일이나 디렉터리가 없습니다) script ERROR: script ERROR: io error reading /root/.sage/sage_notebook.sagenb/home/__store__/3/3b/3bc/3bce/jhlee2chn/36/cells/13/sage0-size500-118201682.jmol.zip|SCRIPT: java.io.FileNotFoundException: /root/.sage/sage_notebook.sagenb/home/__store__/3/3b/3bc/3bce/jhlee2chn/36/cells/13/sage0-size500-118201682.jmol.zip (그런 파일이나 디렉터리가 없습니다) Sleeping...
var('x, y') plot3d(log(x^2+y^2), (x, -2, 2), (y, -2, 2))
 Sleeping...