In a previous post, I showed how to geometrically construct a sine-like function for a regular polyg