Problem 737
Posted: Tue Dec 08, 2020 9:34 pm
How is whether or not coins are stackable determined? I figured that, for the assembly of the first n-1 coins to be stackable on the nth coin, the center of mass of the first n-1 coins should lie within the nth coin. Knowing the nth center of mass thus gives a quick way to compute the nth angle. It seems natural to store the center of mass in polar coordinates. I found a more or less closed form solution for the radius, as well as an iterative solution, and a formula for the angle of the center of mass and rotation angle in terms of the radius.
But my concern is twofold. My formulae seem a little bit off: the total angles for the numbers of coins given are about 3% off, but the error decreases for more coins. I know there is probably a precision problem as well. Unfortunately I haven't been able to find any clean form for the sum of angles. Have others used a laurent series or some other approximation?
I won't put my exact formula for the radius, but the n=2 radius can be immediately calculated assuming the center of mass interpretation is correct.
But my concern is twofold. My formulae seem a little bit off: the total angles for the numbers of coins given are about 3% off, but the error decreases for more coins. I know there is probably a precision problem as well. Unfortunately I haven't been able to find any clean form for the sum of angles. Have others used a laurent series or some other approximation?
I won't put my exact formula for the radius, but the n=2 radius can be immediately calculated assuming the center of mass interpretation is correct.