Solve Geometric Problems as Polynomial Systems
Find the diameter of a solid in 
 given by a polynomial inequality.
| In[1]:= | X  | 
| Out[1]= | 
Visualize the region.
| In[2]:= | X  | 
| Out[2]= | ![]()  | 
Formulate a necessary condition for a local maximum of the distance between two points on the boundary of ℛ.
| In[3]:= | ![]() X  | 
| Out[3]= | ![]()  | 
Use NSolve to find pairs 
 satisfying the condition.
| In[4]:= | X  | 
Find the diameter of ℛ.
| In[5]:= | X  | 
| Out[5]= | 
Find the distinct pairs 
 realizing the maximum distance.
| In[6]:= | X  | 
| Out[6]= | 
Visualize the result.
| Out[7]= | ![]()  | 




