




from math import exp







def 		lowercase__ (		__A:						float					):





					'''simple docstring'''






					return 8 * x - 2 * exp(-x					)







def 		lowercase__ (		__A:						float				,__A:						float				,__A:						int					):





					'''simple docstring'''






					__magic_name__				:						List[str]     				=				lower_bound
					__magic_name__				:						Optional[int]     				=				upper_bound
					for _ in range(0				,__A					):
										__magic_name__				,     __magic_name__				:						str     				=				xa, xa - (f(__A					) * (xa - xa)) / (f(__A					) - f(__A					))
					return xa


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









def 		lowercase__ (		__A:						int					):





					'''simple docstring'''






					if not isinstance(__A				,__A					):
										__magic_name__				:						Dict     				=				F'''Input value of [number={number}] must be an integer'''
										raise TypeError(__A					)
					if number < 0 or number % 2 == 1:
										return False
					__magic_name__				:						Any     				=				int(number**0.5					)
					return number == number_sqrt * (number_sqrt + 1)


if __name__ == "__main__":
	import doctest

	doctest.testmod()



