Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Get an Association of the properties of a given circle
ResourceFunction["CircleProperties"][expr,{x,y}] returns an Association of properties of the circle defined by expr in terms of the variables x and y. |
Compute the properties of a circle:
In[1]:= | ![]() |
Out[1]= | ![]() |
Compute the full set of properties of a circle described using a subset of properties:
In[2]:= | ![]() |
Out[2]= | ![]() |
Compute the properties of a general circle centered at {h,k} with radius r:
In[3]:= | ![]() |
Out[3]= | ![]() |
Use the resource function InteractiveConicPlot to visualize the results of CircleProperties:
In[4]:= | ![]() |
Out[4]= | ![]() |
If the input equation or Association does not describe a circle but describes another conic section, CircleProperties will return an Association of properties pertaining to the correct conic section, including its "Type" ("Parabola", "Hyperbola" or "Ellipse"):
In[5]:= | ![]() |
Out[5]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License