Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to plot a diagram of a circle obtained by section of a sphere by a plane

A circle is a section of a sphere by a plane, the equation \begin{equation} x^2+y^2+z^2+2gx+2fy+2hz+d=0\tag{1} \end{equation} and \begin{equation} ax+by+cz=p\tag{2} \end{equation} together represent a circle. How do I plot like these diagram for given $g,f,h,a,b,c,p$. How to input by using @interact for the parameter $a,b,c,p$.

image description

How to plot a diagram of a circle obtained by section of a sphere by a plane

A circle is a section of a sphere by a plane, the equation \begin{equation} x^2+y^2+z^2+2gx+2fy+2hz+d=0\tag{1} \end{equation} and \begin{equation} ax+by+cz=p\tag{2} \end{equation} together represent a circle. How do I plot like these diagram for given $g,f,h,a,b,c,p$. How to input by using @interact for the parameter $a,b,c,p$. $a,b,c,p$ to move the plane through the sphere ?

image description