'''simple docstring'''


import math
from collections.abc import Callable


def  _lowerCamelCase   (				lowerCamelCase_ :							Callable[[float], float]     ,					lowerCamelCase_ :							float     ,					lowerCamelCase_ :							float       ):



     """simple docstring"""





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


def  _lowerCamelCase   (				lowerCamelCase_ :							float       ):



     """simple docstring"""





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


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







'''simple docstring'''


def  _lowerCamelCase   (				lowerCamelCase_ :							int     ,					lowerCamelCase_ :							int       ):



     """simple docstring"""





     return int(input_a == input_a == 0       )


def  _lowerCamelCase   (				):



     """simple docstring"""





     print('Truth Table of NOR Gate:'       )
     print('|   Input 1   |  Input 2  | Output |'       )
     print(F'''|      0      |    0      |  {nor_gate(0     ,					0       )}     |'''       )
     print(F'''|      0      |    1      |  {nor_gate(0     ,					1       )}     |'''       )
     print(F'''|      1      |    0      |  {nor_gate(1     ,					0       )}     |'''       )
     print(F'''|      1      |    1      |  {nor_gate(1     ,					1       )}     |'''       )


if __name__ == "__main__":
 import doctest

 doctest.testmod()
 main()






