code: from math import exp
  def 				__lowercase	(						lowerCamelCase__					)				->float:
  
    '''simple docstring'''
  
  
  
  
    return 8 * x - 2 * exp(-x					)
  def 				__lowercase	(						lowerCamelCase__ ,				lowerCamelCase__ ,				lowerCamelCase__					)				->float:
  
    '''simple docstring'''
  
  
  
  
    a__     		=     lower_bound
    a__     		=     upper_bound
    for _ in range(0 ,				lowerCamelCase__					):
      a__		,a__     		=     xa, xa - (f(lowerCamelCase__					) * (xa - xa)) / (f(lowerCamelCase__					) - f(lowerCamelCase__					))
    return xa
  
  
  if __name__ == "__main__":
       print(F"""Example: {secant_method(1, 3, 2)}""")
  
  
style_context: from unittest.mock import patch
  
  import datasets
  from datasets import Dataset
  def 				__lowercase	(						)				->Union[str, Any]:
  
    '''simple docstring'''
  
  
  
  
    a__     		=     Dataset.from_dict({"col_1": [3, 2, 0, 1]}					)
  
    with patch("tqdm.auto.tqdm"					) as mock_tqdm:
      datasets.disable_progress_bar()
      dset.map(lambda lowerCamelCase__					: {"col_2": x["col_1"] + 1}					)
      mock_tqdm.assert_not_called()
  
      mock_tqdm.reset_mock()
  
      datasets.enable_progress_bar()
      dset.map(lambda lowerCamelCase__					: {"col_2": x["col_1"] + 1}					)
      mock_tqdm.assert_called()
  
  