module Math # The `y` root of `x`. def self.root(x, y) x ** (1.0 / y) end end