
import math
from collections.abc import Callable



def  UpperCamelCase					(							lowerCAmelCase__				,    lowerCAmelCase__				,    lowerCAmelCase__	):
					'''simple docstring'''
					lowercase					=		xa
					lowercase					=		xa
					while True:
										if x_n == x_na or function(lowerCAmelCase__	) == function(lowerCAmelCase__	):
															raise ZeroDivisionError('''float division by zero, could not find root'''	)
										lowercase					=		x_na - (
										    function(lowerCAmelCase__	) / ((function(lowerCAmelCase__	) - function(lowerCAmelCase__	)) / (x_na - x_n))
										)
										if abs(x_na - x_na	) < 10**-5:
															return x_na
										lowercase					=		x_na
										lowercase					=		x_na



def  UpperCamelCase					(							lowerCAmelCase__	):
					'''simple docstring'''
					return math.pow(lowerCAmelCase__				,    3	) - (2 * x) - 5


if __name__ == "__main__":
							print(intersection(f, 3, 3.5))






from __future__ import annotations



def  UpperCamelCase					(							lowerCAmelCase__	):
					'''simple docstring'''
					if len(lowerCAmelCase__	) < 2:
										raise ValueError('''Monogons and Digons are not polygons in the Euclidean space'''	)
					if any(i <= 0 for i in nums	):
										raise ValueError('''All values must be greater than 0'''	)
					lowercase					=		nums.copy()
					copy_nums.sort()
					return copy_nums[-1] < sum(copy_nums[:-1]	)


if __name__ == "__main__":
							import doctest

							doctest.testmod()




