




'''simple docstring'''
from math import exp





def  lowerCamelCase(       SCREAMING_SNAKE_CASE_    )		->		float:
   return 8 * x - 2 * exp(-x    )





def  lowerCamelCase(       SCREAMING_SNAKE_CASE_					,SCREAMING_SNAKE_CASE_					,SCREAMING_SNAKE_CASE_    )		->		float:
   A_       		=   lower_bound
   A_       		=   upper_bound
   for _ in range(0					,SCREAMING_SNAKE_CASE_    ):
      A_		,   A_       		=   xa, xa - (f(SCREAMING_SNAKE_CASE_    ) * (xa - xa)) / (f(SCREAMING_SNAKE_CASE_    ) - f(SCREAMING_SNAKE_CASE_    ))
   return xa


if __name__ == "__main__":
       print(f"""Example: {secant_method(1, 3, 2)}""")










'''simple docstring'''
def  lowerCamelCase(       SCREAMING_SNAKE_CASE_    )		->		int:

			if not isinstance(SCREAMING_SNAKE_CASE_					,SCREAMING_SNAKE_CASE_    ) or number < 0:
						raise ValueError('Input must be a non-negative integer'    )

			A_       		=   number & ~(number - 1)
			A_       		=   0
			while intermediate:
						intermediate >>= 1
						index += 1
			return index - 1


if __name__ == "__main__":
							import doctest

							doctest.testmod(verbose=True)




