Problem 54054. Determine Center of Mass for a Set of Floating Spheres

Each sphere has a position determined by theta (x,y plane angle) and tau (elevation angle) as well as L, the distance of the center of the sphere from the origin. Each sphere also has a radius, r, and a density of rho.
These values are defined in a single input matrix: sceneAttributes
The output should be a 1x3 matrix defining the CoM in cartesian 3D space (x, y, z)
All angles are in degrees, all distances are in meters, and density is in kg/m^3
Assume density and lengths are always positive

Solution Stats

31.25% Correct | 68.75% Incorrect
Last Solution submitted on Sep 07, 2022

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers3

Suggested Problems

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!