DandelineSpheresEllipseCylinder::usage="Spheres tangent to a plane and a cylinder, their points of contact with the plane determine the foci of the ellipse in the space formed by the intersection of the plane and the cylinder. References: Wolfram MathWorld: Dandeline Spheres; Personal ";
In[]:=
​​Manipulate​​j[x_,y_]:=
3
x;​​γ[t_]:=
t
3
,-
3-
2
t
3
,t;
γ
1
[t_]:=
t
3
,
3-
2
t
3
,t;​​ζ[t_]:={Cos[t],Sin[t],2};
ζ
1
[t_]:={Cos[t],Sin[t],-2};​​​​d11[t_]:=NNorm-
3
2
,0,
3
2
+γ[t];​​d22[t_]:=NNorm--
3
2
,0,-
3
2
+γ[t];​​d33[t_]:=NNorm-
3
2
,0,
3
2
+
γ
1
[t];​​d44[t_]:=NNorm--
3
2
,0,-
3
2
+
γ
1
[t];​​d3[t_]:=d11[t]+d22[t];​​d4[t_]:=d33[t]+d44[t];​​​​w=Grid[{{
PF
1
,
PF
2
,2a},{d11[t1],d22[t1],d3[t1]}},FrameAll,ItemSize->15,ItemStyle->15];​​o=Grid[{{
PF
1
,
PF
2
,2a},{d33[t1],d44[t1],d4[t1]}},FrameAll,ItemSize->15,ItemStyle->15];​​Showsurf1=ParametricPlot3D[{Cos[u],Sin[u],v},{u,0,2π},{v,-2,2},PlotStyleDirective[Green,Specularity[White,20],Opacity[0.1]],MeshFalse,PerformanceGoal"Quality"],​​surf2=ParametricPlot3D[{Cos[u]Sin[v],Sin[u]Sin[v],Cos[v]+2},{u,0,2π},{v,0,π},ColorFunction"LightTemperatureMap",PlotStyle->Directive[Opacity[0.7]],MeshFalse,PerformanceGoal"Quality"],​​surf3=ParametricPlot3D[{Cos[u]Sin[v],Sin[u]Sin[v],Cos[v]-2},{u,0,2π},{v,0,π},ColorFunction"LightTemperatureMap",PlotStyle->Directive[Opacity[0.7]],MeshFalse,PerformanceGoal"Quality"],​​surf4=Plot3D[j[x,y],{x,-5,5},{y,-5,5},PlotStyleDirective[Yellow,Opacity[0.1]],MeshFalse,PerformanceGoal"Quality"],curv1=ParametricPlot3D[ζ[θ],{θ,0,2π},PerformanceGoal"Quality"],curv2=ParametricPlot3D[
ζ
1
[θ],{θ,0,2π},PerformanceGoal"Quality"],curv3=ParametricPlot3D[γ[θ],θ,-
3
,t1,ColorFunction->"DarkTerrain",PerformanceGoal"Quality"],​​curv4=ParametricPlot3D[
γ
1
[θ],θ,-
3
,t1,ColorFunction->"DarkTerrain",PerformanceGoal"Quality"],​​Graphics3DBlack,Ball
3
2
,0,
3
2
,0.04,Graphics3DBlack,Ball-
3
2
,0,-
3
2
,0.04,Graphics3D[{Red,Ball[N[γ[t1]],0.04]}],Graphics3D[{Black,Ball[{0,0,0},0.04]}],Graphics3D[{Red,Ball[N[
γ
1
[t1]],0.04]}],Graphics3DBlack,Dashed,Thick,LineN[γ[t1]],
3
2
,0,
3
2
,Graphics3DBlack,Dashed,Thick,LineN[
γ
1
[t1]],
3
2
,0,
3
2
,Graphics3DBlack,Dashed,Thick,LineN[γ[t1]],-
3
2
,0,-
3
2
,Graphics3DBlack,Dashed,Thick,LineN[
γ
1
[t1]],-
3
2
,0,-
3
2
,AxesLabel->(Style[#,15,Blue]&/@{"X","Y","Z"}),AxesOrigin{0,0,0},MeshFalse,AxesTrue,BoxedFalse,PlotRange{{-2,2},{-2,2},{-3,3}},ViewPoint{1.3,-2.4,4.},ImageSize900,Style["Dandeline Spheres Cylinder Ellipse case:",Bold,Medium],t1,-
3
+0.00002,"Value (t)",-
3
+0.00001,
3
,0.00001,Delimiter,{{w,2,"Vectors radii of Ellipse"}},Delimiter,{{o,2,"Vectors radii of Ellipse"}},ControlPlacementTop​​​​​​​​
Out[]=
​
Dandeline Spheres Cylinder Ellipse case:
Value (t)
Vectors radii of Ellipse
PF
1
PF
2
2a
1.68393
2.31607
4.
Vectors radii of Ellipse
PF
1
PF
2
2a
1.68393
2.31607
4.