Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Compute the natural equations of a curve
ResourceFunction["NaturalEquations"][c,t] computes the natural equations of a curve c with parameter t. |
Natural equations for a circle:
| In[1]:= |
| Out[1]= |
Natural equations for several curves:
| In[2]:= | ![]() |
| Out[2]= | ![]() |
Natural equations for some curves can be solved in terms of elementary functions. Get the equation for a logarithmic spiral:
| In[3]:= |
| Out[3]= |
Get the natural equations:
| In[4]:= |
| Out[4]= |
The Cornu spiral:
| In[6]:= |
| Out[6]= |
NaturalEquations gives the same result:
| In[7]:= |
| Out[7]= |
Alfred Gray’s generalization of the Cornu spiral:
| In[8]:= | ![]() |
In this case, the resulting natural equations contain special functions:
| In[9]:= |
| Out[9]= | ![]() |
Using assumptions can simplify the resulting expressions:
| In[10]:= |
| Out[10]= |
Get equations for the clothoid prime curve (the velocity of the nth clothoid):
| In[11]:= |
| Out[11]= |
Simplifying:
| In[12]:= |
| Out[12]= |
Some cases can give large results:
| In[13]:= | ![]() |
| Out[13]= | ![]() |
But they can often be simplified:
| In[14]:= |
| Out[14]= |
Cassini curve:
| In[15]:= | ![]() |
Some cases need some time to evaluate:
| In[16]:= |
| Out[16]= |
This work is licensed under a Creative Commons Attribution 4.0 International License