(*Ellipsoid*)
In[]:=
Solve++3,z
2
x
4
2
y
2
z
9
Out[]=
z-
3
2
12--4
,z2
x
2
y
3
2
12--4
2
x
2
y
Ellipsoid1[x_,y_]=-
3
2
12--4
Ellipsoid2[x_,y_]=2
x
2
y
3
2
12--4
2
x
2
y
Out[]=
-
3
2
12--4
2
x
2
y
Out[]=
3
2
12--4
2
x
2
y
Point: ( -2 , 1 , -3 )
plane:
plane:
Plane[x_,y_]=-x+3y-9(*Tangentplanetothepoint(-2,1,-3)*)
3
2
Out[]=
-9-+3y
3x
2
In[]:=
Show[Plot3D[{Plane[x,y],Ellipsoid1[x,y],Ellipsoid2[x,y]},{x,-5,5},{y,-5,5},BoxRatios{1,1,1},AxesLabelAutomatic,PlotRangeFull,Lighting"Neutral"],ParametricPlot3D[{-t-2,2t+1,-2t/3-3},{t,-5,5}]]
Out[]=
In[]:=
Show[Plot3D[{Plane[x,y],Ellipsoid1[x,y],Ellipsoid2[x,y]},{x,-5,5},{y,-5,5},BoxRatios{1,1,1},AxesLabelAutomatic,PlotRangeFull,Lighting"Neutral"],ParametricPlot3D[{-t-2,2t+1,-2t/3-3},{t,-5,5}],Graphics3D[{PointSize[0.03],Point[{-2,1,-3},VertexColors{Red}]}]]
Out[]=