

import math
from collections.abc import Callable


def 							__lowerCAmelCase     (							_UpperCamelCase		:	Callable[[float], float]		,				_UpperCamelCase		:	float		,				_UpperCamelCase		:	float						)		->				float:
 '''simple docstring'''


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


def 							__lowerCAmelCase     (							_UpperCamelCase		:	float						)		->				float:
 '''simple docstring'''


 return math.pow(_UpperCamelCase		,				3						) - (2 * x) - 5


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




import baseaa


def 							__lowerCAmelCase     (							_UpperCamelCase		:	str						)		->				bytes:
 '''simple docstring'''


 return baseaa.aaaencode(string.encode('utf-8'						)						)


def 							__lowerCAmelCase     (							_UpperCamelCase		:	bytes						)		->				str:
 '''simple docstring'''


 return baseaa.aaadecode(_UpperCamelCase						).decode('utf-8'						)


if __name__ == "__main__":
      import doctest

      doctest.testmod()

