2016-일반수학 두번째과제

1669 days 전, qogustlr7 작성

5조 배현식

문제 13번

u=vector([2, 6, -4]) v=vector([-5, -15, 10]) print "uxv=", u.cross_product(v) print "vxu=", v.cross_product(u) 
       
uxv= (0, 0, 0)
vxu= (0, 0, 0)
uxv= (0, 0, 0)
vxu= (0, 0, 0)

5조 배현식

문제 26번

var('x,y,z') p1=vector([2, 0, 1]) n=vector([x,y,z]) plane_eq=n.inner_product(p1)==0 print "plane_equation=", plane_eq implicit_plot3d(plane_eq, (x, -4, 4), (y, -4, 4), (z, -2, 2)) 
       
plane_equation= 2*x + z == 0
plane_equation= 2*x + z == 0
Sleeping...
If no image appears re-execute the cell. 3-D viewer has been updated.