How can I plot two equations in one 3D graph. I have to plot x^2+y^2=1 and x^2+y^2+z^2=2 but I want tu plot only their intersection :(
Thank you
How can I plot two equations in one 3D graph. I have to plot x^2+y^2=1 and x^2+y^2+z^2=2 but I want tu plot only their intersection :(
Thank you
Using the first link provided by Artes in the comments:
ContourPlot3D[{x^2 + y^2 - 1, x^2 + y^2 + z^2 - 2},
{x, -2, 2}, {y, -2, 2}, {z, -2, 2},
ContourStyle -> None, Mesh -> None,
BoundaryStyle -> {1 -> None, 2 -> None, {1, 2} -> Black}]