def volume(self):
    '[summary]\n        This method calculates the volume of the Ball using the formula :math:` V_{n+1} =\\int_{-r}^{r}V_{n}(\\sqrt{r^2 -x^2})dx`\n        '
    v = 1
    for i in range(self.dimension()):
        integ = (lambda x: (v * np.sqrt(((self.rad ** 2) - (x ** 2)))))
        v = integrate.quad(integ, (- self.rad), self.rad)
    return v
[summary]
This method calculates the volume of the Ball using the formula :math:` V_{n+1} =\int_{-r}^{r}V_{n}(\sqrt{r^2 -x^2})dx`
def volume(self):
    '[summary]\n        This method calculates the volume of the Ball using the formula :math:` V_{n+1} =\\int_{-r}^{r}V_{n}(\\sqrt{r^2 -x^2})dx`\n        '
    v = 1
    for i in range(self.dimension()):
        integ = (lambda x: (v * np.sqrt(((self.rad ** 2) - (x ** 2)))))
        v = integrate.quad(integ, (- self.rad), self.rad)
    return v