






from math import exp






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






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


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







from typing import TYPE_CHECKING

from ...utils import _LazyModule


_UpperCAmelCase				:	Dict    						=    {'tokenization_bert_japanese': ['BertJapaneseTokenizer', 'CharacterTokenizer', 'MecabTokenizer']}


if TYPE_CHECKING:
   from .tokenization_bert_japanese import BertJapaneseTokenizer, CharacterTokenizer, MecabTokenizer

else:
   import sys

   _UpperCAmelCase				:	Tuple    						=    _LazyModule(__name__, globals()['__file__'], _import_structure, module_spec=__spec__)