Answer

The center of gravity of the third block is given by:

EXECUTEcg3 := (2*(cg2 + 1/6) - 2/6) / 3;

The combined center of gravity of the top two blocks has been moved one-sixth of a unit to the right. The center of gravity of the bottom block is two-sixths of a unit to the left of the edge of the table. We multiply the center of gravity of the top two blocks by two because they are twice as massive as the bottom block, and we divide the sum by three (instead of two) because there are three blocks.

Return to lesson.



Joseph L. Zachary
Hamlet Project
Department of Computer Science
University of Utah