Compute Centroids 

The centroid is also known as center of mass for a region and corresponds to a measure of center location for a region. The centroid is given by an integral , where is the measure of the region .

Regions in 1D.

In[1]:=
Click for copyable input
X
Out[1]=
In[2]:=
Click for copyable input
X
Out[2]=

Regions in 2D.

In[3]:=
Click for copyable input
X
Out[3]=
In[4]:=
Click for copyable input
X
Out[4]=
In[5]:=
Click for copyable input
X
Out[5]=
In[6]:=
Click for copyable input
X
Out[6]=
In[7]:=
Click for copyable input
X
Out[7]=
In[8]:=
Click for copyable input
X
Out[8]=

Regions in 3D.

In[9]:=
Click for copyable input
X
Out[9]=
In[10]:=
Click for copyable input
X
Out[10]=
In[11]:=
Click for copyable input
X
In[12]:=
Click for copyable input
X
Out[12]=
In[13]:=
Click for copyable input
X
Out[13]=
In[14]:=
Click for copyable input
X
Out[14]=
In[15]:=
Click for copyable input
X
Out[15]=

Regions in D.

In[16]:=
Click for copyable input
X
Out[16]=
In[17]:=
Click for copyable input
X
Out[17]=