Lambert W function and hanging chain revisited