
"""simple docstring"""





def 	__a     (		__lowerCamelCase  ):
   return 10 - x * x







def 	__a     (		__lowerCamelCase,		__lowerCamelCase  ):


   if equation(_SCREAMING_SNAKE_CASE  ) * equation(_SCREAMING_SNAKE_CASE  ) >= 0:
      raise ValueError("Wrong space!"  )

   UpperCAmelCase_					:					Union[str, Any]			     =    a
   while (b - a) >= 0.01:
      # Find middle point
      UpperCAmelCase_					:					List[Any]			     =    (a + b) / 2
      # Check if middle point is root
      if equation(_SCREAMING_SNAKE_CASE  ) == 0.0:
         break
      # Decide the side to repeat the steps
      if equation(_SCREAMING_SNAKE_CASE  ) * equation(_SCREAMING_SNAKE_CASE  ) < 0:
         UpperCAmelCase_					:					Tuple			     =    c
      else:
         UpperCAmelCase_					:					Dict			     =    c
   return c


if __name__ == "__main__":
    import doctest

    doctest.testmod()

    print(bisection(-2, 5))
    print(bisection(0, 6))









def    __lowercase   (      _SCREAMING_SNAKE_CASE = 10	) ->   str:


      '''simple docstring'''


      if not isinstance(_SCREAMING_SNAKE_CASE ,						_SCREAMING_SNAKE_CASE	) or n < 0:
            raise ValueError("""Invalid input"""	)
      SCREAMING_SNAKE_CASE		=						10**n
      SCREAMING_SNAKE_CASE		=						2_84_33 * (pow(2 ,						7_83_04_57 ,						_SCREAMING_SNAKE_CASE	)) + 1
      return str(number % modulus	)


if __name__ == "__main__":
      from doctest import testmod

      testmod()
      print(F'''{solution(1_0) = }''')


