



"""simple docstring"""






import math
from collections.abc import Callable






def        snake_case_  (      A_					:		Callable[[float], float],				A_					:		float,				A_					:		float						):


       '''simple docstring'''





       _lowerCamelCase						:				float    			= xa
       _lowerCamelCase						:				float    			= xa
       while True:
              if x_n == x_na or function(A_						) == function(A_						):
                     raise ZeroDivisionError('''float division by zero, could not find root'''						)
              _lowerCamelCase						:				float    			= x_na - (
                  function(A_						) / ((function(A_						) - function(A_						)) / (x_na - x_n))
              )
              if abs(x_na - x_na						) < 10**-5:
                     return x_na
              _lowerCamelCase						:				int    			= x_na
              _lowerCamelCase						:				List[Any]    			= x_na






def        snake_case_  (      A_					:		float						):


       '''simple docstring'''





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


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





from __future__ import annotations
def      a      (			A__	:   list[int]     )    ->      int:





      """simple docstring"""



      if not nums:
            return 0
      _lowercase	       =nums[0]
      _lowercase	       =0
      for num in nums[1:]:
            _lowercase       ,       _lowercase	       =(
                max_excluding + num,
                max(A__      ,   A__     ),
            )
      return max(A__      ,   A__     )


if __name__ == "__main__":
  import doctest

  doctest.testmod()


