


"""simple docstring"""




import math







def 	SCREAMING_SNAKE_CASE_						(      __A			:      float  ,   __A			:      float    )     ->		Any:

       """simple docstring"""

       return math.pow(__a  ,   2    ) - a







def 	SCREAMING_SNAKE_CASE_						(      __A			:      float    )     ->		Tuple:

       """simple docstring"""

       return 2 * x







def 	SCREAMING_SNAKE_CASE_						(      __A			:      float    )     ->		Optional[int]:

       """simple docstring"""

       a_ :		Optional[int]							=  2.0

       while start <= a:
              a_ :		Any							=  math.pow(__a  ,   2    )

       return start







def 	SCREAMING_SNAKE_CASE_						(      __A			:      float  ,   __A			:      int = 99_99  ,   __A			:      float = 0.00000000000001    )     ->		List[str]:

       """simple docstring"""

       if a < 0:
              raise ValueError('math domain error'    )

       a_ :		Optional[int]							=  get_initial_point(__a    )

       for _ in range(__a    ):
              a_ :		int							=  value
              a_ :		List[Any]							=  value - fx(__a  ,   __a    ) / fx_derivative(__a    )
              if abs(prev_value - value    ) < tolerance:
                     return value

       return value


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

   testmod()






def 	SCREAMING_SNAKE_CASE_						(      __A			:      list    )     ->		bool:

       """simple docstring"""

       if not isinstance(__A  ,   __A    ):
              raise ValueError('Input series is not valid, valid series - [2, 4, 6]'    )
       if len(__A    ) == 0:
              raise ValueError('Input list must be a non empty list'    )
       if len(__A    ) == 1:
              return True
       a_ :		Tuple							=  series[1] - series[0]
       for index in range(len(__A    ) - 1    ):
              if series[index + 1] - series[index] != common_diff:
                     return False
       return True







def 	SCREAMING_SNAKE_CASE_						(      __A			:      list    )     ->		float:

       """simple docstring"""

       if not isinstance(__A  ,   __A    ):
              raise ValueError('Input series is not valid, valid series - [2, 4, 6]'    )
       if len(__A    ) == 0:
              raise ValueError('Input list must be a non empty list'    )
       a_ :		str							=  0
       for val in series:
              answer += val
       return answer / len(__A    )


if __name__ == "__main__":
   import doctest

   doctest.testmod()


