def _calculate_area_by_volume(self): self.area = math.pi * (helpers.cube_root((3 * self.volume) / (4 * math.pi)) ** 2) return
def _calculate_perimeter_by_volume(self): self.perimeter = 2 * math.pi * (helpers.cube_root((3 * self.volume) / (4 * math.pi))) return
def _calculate_radius_by_volume(self): self.radius = helpers.cube_root((3 * self.volume) / (4 * math.pi)) return
def _calculate_diameter_by_volume(self): self.diameter = helpers.cube_root((6 * self.volume) / math.pi) return
def _calculate_incircle_radius_by_volume(self): self.incircle_radius = helpers.cube_root(self.volume) / 2 return
def _calculate_surface_area_by_volume(self): self.surface_area = 6 * (helpers.cube_root(self.volume) ** 2) return
def _calculate_diagonal_length_by_volume(self): self.diagonal_length = helpers.cube_root(self.volume) * math.sqrt(2) return
def _calculate_circumscribed_circle_radius_by_volume(self): self.circumscribed_circle_radius = helpers.cube_root(self.volume) / math.sqrt(2) return
def _calculate_perimeter_by_volume(self): self.perimeter = 4 * helpers.cube_root(self.volume) return
def _calculate_area_by_volume(self): self.area = helpers.cube_root(self.volume) ** 2 return
def _calculate_side_length_by_volume(self): self.side_length = helpers.cube_root(self.volume) return
def _calculate_circumscribed_sphere_radius_by_volume(self): self.circumscribed_sphere_radius = (math.sqrt(3) / 2) * helpers.cube_root(self.volume) return
def _calculate_space_diagonal_length_by_volume(self): self.space_diagonal_length = math.sqrt(3) * helpers.cube_root(self.volume) return