What is everyone excited for??? More math! Ok, maybe not, but I’ll come back to the electronics projects later (including investigating the Parallax RFID reader, Arduino FIO, and heck, maybe even some more LED fun). In the meantime, let’s get back to math.
What do the volume calculations look like, and how would one go about calculating the center of mass/geometric centroid of a spherical plot? More after the break…
So, using our good buddy, Wolfram Mathworld, we know that the spherical coordinate volume element, basically the volume we will be using when integrating the solid, is equal to:
Note that we are going to use the ISO 31-11 convention for our coordinate system, meaning that is the “longitude” and ranges from to , is the “latitude” and ranges from to , and is the radius at any given point.
Integrating this around a sphere gives us the volume of the sphere:
To convert from spherical to Cartesian coordinates, we have to simply use the following:
So, to solve for the x, y, and z centers of mass, we will need to convert from spherical cooridnates to Cartesian coordinates. We will do this while calculating the function centroid for each axis. The basic formula is:
Our in this case is the from above and so the basic forms for the COM for each of the three axes is:
So, substituting our Cartesian coordinate conversions and our from above:
Solving these for a constant (i.e., ) leads to:
No big surprise, because, as we would assume, the center of mass for a sphere should be at the origin, .
Now, instead of a perfect circle, let’s try a different shape, say defined by:
A shape that looks somewhat like a peach and leads to COM values of:
Or a spiraling shell:
Or perhaps something really out there:
With COM values of: