MATLAB Answers

Intersection between a sphere x^2+y^2+z^2 =6 and paraboloid z=x^2+y^2

44 views (last 30 days)
F.O on 5 Oct 2017
Answered: KSSV on 6 Oct 2017
I want to draw both sphere x^2+y^2+z^2=6 and paraboloid z=x^2+y^2 in 3D to determine the integration region that is the solid region inside the sphere and above the paraboloid. I tried
[x,y,z] = sphere; surf(x*sqrt(6), y*sqrt(6), z*sqrt(6));
axis equal;
hold on
axis equal;
but i don't get the correct drawing and the paraboloid is got drawn outside the sphere.


Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!