<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - answers and comments on Question, Equation of a sphere (1)</title>
    <link>http://www.mapleprimes.com/questions/130625-Equation-Of-A-Sphere-1</link>
    <language>en-us</language>
    <copyright>2026 Maplesoft, A Division of Waterloo Maple Inc.</copyright>
    <generator>Maplesoft Document System</generator>
    <lastBuildDate>Thu, 11 Jun 2026 08:59:01 GMT</lastBuildDate>
    <pubDate>Thu, 11 Jun 2026 08:59:01 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The latest answers and comments added to the Question, Equation of a sphere (1)</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - answers and comments on Question, Equation of a sphere (1)</title>
      <link>http://www.mapleprimes.com/questions/130625-Equation-Of-A-Sphere-1</link>
    </image>
    <item>
      <title>2) How i can use the&amp;nbsp;&amp;nbsp;commant sort</title>
      <link>http://www.mapleprimes.com/questions/130625-Equation-Of-A-Sphere-1?ref=Feed:MaplePrimes:Equation of a sphere (1):Comments#answer130628</link>
      <itunes:summary>&lt;p&gt;2) How i can use the&amp;nbsp;&amp;nbsp;commant &lt;strong&gt;sort&lt;/strong&gt; in the line&amp;nbsp;Student[Precalculus][CompleteSquare](Equation(S));?&amp;nbsp;&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;2) How i can use the&amp;nbsp;&amp;nbsp;commant &lt;strong&gt;sort&lt;/strong&gt; in the line&amp;nbsp;Student[Precalculus][CompleteSquare](Equation(S));?&amp;nbsp;&lt;/p&gt;</description>
      <guid>130628</guid>
      <pubDate>Mon, 13 Feb 2012 19:43:28 Z</pubDate>
      <itunes:author>toandhsp</itunes:author>
      <author>toandhsp</author>
    </item>
    <item>
      <title>Another version of your code</title>
      <link>http://www.mapleprimes.com/questions/130625-Equation-Of-A-Sphere-1?ref=Feed:MaplePrimes:Equation of a sphere (1):Comments#answer130635</link>
      <itunes:summary>&lt;p&gt;&lt;span class="hps"&gt;I would write&lt;/span&gt; &lt;span class="hps"&gt;your&lt;/span&gt; &lt;span class="hps"&gt;code so&lt;/span&gt;:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;restart: &amp;nbsp;with(geom3d): &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;a:=[-t, -t, t]: point(T, a): point(A, 1, -1, -1): point(B, 2, 1, 2): point(C, 1, 3, 1): &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;plane(ABC, [A,B,C], [x, y, z]): &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;d:= distance(T, ABC):&amp;nbsp; R:= distance(T, A): &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;r:= R^2 - d^2;&amp;nbsp; simplify(r) assuming real; &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;sol:= minimize(r, location);&amp;nbsp; Sol:= op(sol[2])[1];&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;point(T, subs(Sol, a)):&amp;nbsp; R:= subs(Sol, R): &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Equation(sphere(S, [T,R], [x, y, z]));&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Eq:=Student[Precalculus][CompleteSquare](Equation(S));&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;op(1, Eq) - op(4, op(1, Eq)) = sqrt(-op(4, op(1, Eq)))^`2`;&amp;nbsp; # Canonical equation of S&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span class="hps"&gt;Here you&lt;/span&gt; &lt;span class="hps"&gt;will find answers to&lt;/span&gt; &lt;span class="hps"&gt;your questions!&lt;/span&gt;&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;&lt;span class="hps"&gt;I would write&lt;/span&gt; &lt;span class="hps"&gt;your&lt;/span&gt; &lt;span class="hps"&gt;code so&lt;/span&gt;:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;restart: &amp;nbsp;with(geom3d): &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;a:=[-t, -t, t]: point(T, a): point(A, 1, -1, -1): point(B, 2, 1, 2): point(C, 1, 3, 1): &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;plane(ABC, [A,B,C], [x, y, z]): &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;d:= distance(T, ABC):&amp;nbsp; R:= distance(T, A): &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;r:= R^2 - d^2;&amp;nbsp; simplify(r) assuming real; &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;sol:= minimize(r, location);&amp;nbsp; Sol:= op(sol[2])[1];&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;point(T, subs(Sol, a)):&amp;nbsp; R:= subs(Sol, R): &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Equation(sphere(S, [T,R], [x, y, z]));&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Eq:=Student[Precalculus][CompleteSquare](Equation(S));&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;op(1, Eq) - op(4, op(1, Eq)) = sqrt(-op(4, op(1, Eq)))^`2`;&amp;nbsp; # Canonical equation of S&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span class="hps"&gt;Here you&lt;/span&gt; &lt;span class="hps"&gt;will find answers to&lt;/span&gt; &lt;span class="hps"&gt;your questions!&lt;/span&gt;&lt;/p&gt;</description>
      <guid>130635</guid>
      <pubDate>Mon, 13 Feb 2012 22:19:49 Z</pubDate>
      <itunes:author>Kitonum</itunes:author>
      <author>Kitonum</author>
    </item>
    <item>
      <title>Thank you</title>
      <link>http://www.mapleprimes.com/questions/130625-Equation-Of-A-Sphere-1?ref=Feed:MaplePrimes:Equation of a sphere (1):Comments#answer130654</link>
      <itunes:summary>&lt;p&gt;Thank you very much. I want the anserw has the form&amp;nbsp;(x+1)^2 +&amp;nbsp;(y+1)^2 +&amp;nbsp;&amp;nbsp;(z-1)^2 = (2*2^(1/2))^`2` not the form&amp;nbsp;(z-1)^2+(y+1)^2+(x+1)^2 = (2*2^(1/2))^`2`. What must i do?&amp;nbsp;&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Thank you very much. I want the anserw has the form&amp;nbsp;(x+1)^2 +&amp;nbsp;(y+1)^2 +&amp;nbsp;&amp;nbsp;(z-1)^2 = (2*2^(1/2))^`2` not the form&amp;nbsp;(z-1)^2+(y+1)^2+(x+1)^2 = (2*2^(1/2))^`2`. What must i do?&amp;nbsp;&lt;/p&gt;</description>
      <guid>130654</guid>
      <pubDate>Tue, 14 Feb 2012 11:34:17 Z</pubDate>
      <itunes:author>toandhsp</itunes:author>
      <author>toandhsp</author>
    </item>
    <item>
      <title>Answer</title>
      <link>http://www.mapleprimes.com/questions/130625-Equation-Of-A-Sphere-1?ref=Feed:MaplePrimes:Equation of a sphere (1):Comments#answer130671</link>
      <itunes:summary>&lt;p&gt;&lt;span class="hps"&gt;I have not found&lt;/span&gt; &lt;span class="hps"&gt;a suitable&lt;/span&gt; &lt;span class="hps"&gt;way to&lt;/span&gt; &lt;span class="hps"&gt;sort,&lt;/span&gt; &lt;span class="hps"&gt;so I suggest&lt;/span&gt; &lt;span class="hps"&gt;a way to&lt;/span&gt; &lt;span class="hps"&gt;manually&lt;/span&gt;&amp;nbsp;&lt;span class="hps"&gt;isolate&lt;/span&gt;&amp;nbsp;&lt;span class="hps"&gt;complete squares.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The code:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;restart:&amp;nbsp; with(geom3d): &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;a:=[-t, -t, t]: point(T, a): point(A, 1, -1, -1): point(B, 2, 1, 2): point(C, 1, 3, 1): plane(ABC, [A,B,C], [x, y, z]): &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;d:= distance(T, ABC):&amp;nbsp; R:= distance(T, A): &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;r:= R^2 - d^2;&amp;nbsp; simplify(r) assuming real; &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;sol:= minimize(r, location);&amp;nbsp; Sol:= op(sol[2])[1];&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;point(T, subs(Sol, a)):&amp;nbsp; R:= subs(Sol, R): &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Eq:=lhs(Equation(sphere(S, [T,R], [x, y, z])));&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;(x+coeff(Eq,x)/2)^2+(y+coeff(Eq,y)/2)^2+(z+coeff(Eq,z)/2)^2=sqrt((coeff(Eq,x)^2+coeff(Eq,y)^2+coeff(Eq,z)^2)/4-tcoeff(Eq))^`2`;&amp;nbsp; # Canonical equation of S&lt;/strong&gt;&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;&lt;span class="hps"&gt;I have not found&lt;/span&gt; &lt;span class="hps"&gt;a suitable&lt;/span&gt; &lt;span class="hps"&gt;way to&lt;/span&gt; &lt;span class="hps"&gt;sort,&lt;/span&gt; &lt;span class="hps"&gt;so I suggest&lt;/span&gt; &lt;span class="hps"&gt;a way to&lt;/span&gt; &lt;span class="hps"&gt;manually&lt;/span&gt;&amp;nbsp;&lt;span class="hps"&gt;isolate&lt;/span&gt;&amp;nbsp;&lt;span class="hps"&gt;complete squares.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The code:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;restart:&amp;nbsp; with(geom3d): &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;a:=[-t, -t, t]: point(T, a): point(A, 1, -1, -1): point(B, 2, 1, 2): point(C, 1, 3, 1): plane(ABC, [A,B,C], [x, y, z]): &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;d:= distance(T, ABC):&amp;nbsp; R:= distance(T, A): &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;r:= R^2 - d^2;&amp;nbsp; simplify(r) assuming real; &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;sol:= minimize(r, location);&amp;nbsp; Sol:= op(sol[2])[1];&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;point(T, subs(Sol, a)):&amp;nbsp; R:= subs(Sol, R): &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Eq:=lhs(Equation(sphere(S, [T,R], [x, y, z])));&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;(x+coeff(Eq,x)/2)^2+(y+coeff(Eq,y)/2)^2+(z+coeff(Eq,z)/2)^2=sqrt((coeff(Eq,x)^2+coeff(Eq,y)^2+coeff(Eq,z)^2)/4-tcoeff(Eq))^`2`;&amp;nbsp; # Canonical equation of S&lt;/strong&gt;&lt;/p&gt;</description>
      <guid>130671</guid>
      <pubDate>Tue, 14 Feb 2012 21:10:47 Z</pubDate>
      <itunes:author>Kitonum</itunes:author>
      <author>Kitonum</author>
    </item>
  </channel>
</rss>