-1
$\begingroup$

Given a cone with equation

z^2 = x^2 + y^2,

how would I draw it in Sage?

I tried turning it into a function and passing arguments but it didn't work out for me.

  • 0
    Try to give a look to the Sage's Reference Manual precisely here:http://www.sagemath.org/doc/reference/sage/plot/plot3d/implicit_plot3d.html#sage.plot.plot3d.implicit_plot3d.implicit_plot3d2012-05-21
  • 0
    Thanks, I got this with implicit_plot :). If you wan't, answer it so I can accept it.2012-05-21

1 Answers 1

1

I have drawn the cone with the following code:

var('x,y,z') implicit_plot3d(x^2+y^2-z^2==0, (x, -3, 3), (y, -3,3), (z, -3,3)) 
  • 0
    Yeah, found it just a second ago. Thanks alot.2012-05-21