ConeCircumscribedSphere::usage="The axis of a cone is the line:ℒ: {h, k, l} + t {A, B, C1}. The family of spheres that has its center on that axis is:x - (h + t A) + y - (k + t B) + z - (l + t C1) = h + t A, with A, B ≠ 0 and r = h + t A > 0 , because the radius of each element of the family is r.For t > -.The cone is circumscribed to the family of spheres. That is, the cone is the envelope of the family of spheres.Reference: Personal. ";
2
}
2
}
2
}
2
)
h
A
Example 1:
In[]:=
Showh=0;k=0;l=0;A=7;B=-1;C1=5;t1=1;Solve[++==,(++-)==0,{x,y}]x182t-35z--26t+5z-7182t-35z+-26t+5z+7182t-35z--26t+5z-7-14xy-25+70xz-10yz-0;t>0;{Graphics3D[{Opacity[0.8],Red,Specularity[White,40],Sphere[{h+t1A,k+t1B,l+t1C1},h+t1A]}],ParametricPlot3D[{h,k,l}+t2{A,B,C1},{t2,-8,8},PlotStyle{DarkGreen,Thick}],ContourPlot3D[23-14xy-25+70xz-10yz-0,{x,-30,30},{y,-30,30},{z,-25,30},PerformanceGoal->"Quality",PlotPoints->60,MeshFalse,ContourStyle{Opacity[0.2],Green,Specularity[White,40]}]},AxesLabel->(Style[#,15,Blue]&/@{"X","Y","Z"}),AxesOrigin{0,0,0},AxesTrue,BoxedFalse,BoxRatiosAutomatic,PlotRange{{-30,30},{-30,30},{-25,30}},ImageSize900,ViewPoint{6,-30,2.}
2
(x-(h+tA))
2
(y-(k+tB))
2
(z-(l+tC1))
2
(h+tA)
∂
t
2
(x-(h+tA))
2
(y-(k+tB))
2
(z-(l+tC1))
2
(h+tA)
1
50
624+260tz-75
,y2
t
2
z
1
50
624+260tz-75
,x2
t
2
z
1
50
624+260tz-75
,y2
t
2
z
1
50
624+260tz-75
;Eliminatex==2
t
2
z
1
50
624+260tz-75
,y==2
t
2
z
1
50
624+260tz-75
,z==z,t232
t
2
z
2
x
2
y
2
z
2
x
2
y
2
z
Out[]=
Example 2:
In[]:=
Showh=2;k=-5;l=8;A=1;B=1;C1=1;t1=9;Solve[++==,(++-)==0,{x,y}]x10+2t-,x10+2t+-4+2t-10+2t-,z==z,t169-2x++26y-2xy+-26z-2xz-2yz+0;t>-2;Graphics3D[{Opacity[0.8],Red,Specularity[White,40],Sphere[{h+t1A,k+t1B,l+t1C1},h+t1A]}],Graphics3DOpacity[0.8],Red,Specularity[White,40],Sphereh+A,k+B,l+C1,h+A,ParametricPlot3D[{h,k,l}+t2{A,B,C1},{t2,-12,20},PlotStyle{DarkGreen,Thick}],ContourPlot3D[169-2x++26y-2xy+-26z-2xz-2yz+0,{x,-30,30},{y,-30,30},{z,-15,30},PerformanceGoal->"Quality",PlotPoints->60,MeshFalse,ContourStyle{Opacity[0.2],Green,Specularity[White,40]}],AxesLabel->(Style[#,15,Blue]&/@{"X","Y","Z"}),AxesOrigin{0,0,0},AxesTrue,BoxedFalse,BoxRatiosAutomatic,PlotRangeAll,ImageSize900,ViewPoint{4,-10,4.}
2
(x-(h+tA))
2
(y-(k+tB))
2
(z-(l+tC1))
2
(h+tA)
∂
t
2
(x-(h+tA))
2
(y-(k+tB))
2
(z-(l+tC1))
2
(h+tA)
1
2
26+4t-3z
-6+z
-z,y-2+t+1
2
26+4t-3z
-6+z
-z
2
1
2
26+4t-3z
-6+z
-z,y1
2
26+4t-3z
-6+z
-z;Eliminatex==1
2
26+4t-3z
-6+z
-z,y==-2+t+1
2
26+4t-3z
-6+z
-z
2
2
x
2
y
2
z
t1
9
t1
9
t1
9
t1
9
2
x
2
y
2
z
Out[]=