This is the mathematical equivalent of calculating the point at which a cardboard cut-out of Scotland could be perfectly balanced on the tip of a pin.
Locating the ideal spot for a flat representation of Scotland, crafted from cardboard, to rest stably on a pinhead is equivalent to solving this mathematical problem.