






'''simple docstring'''





import math
from collections.abc import Callable






def    lowerCamelCase_     (    lowercase__				,     lowercase__				,     lowercase__):
 lowerCamelCase__  =     xa
 lowerCamelCase__  =     xa
 while True:
  if x_n == x_na or function(lowercase__) == function(lowercase__):
   raise ZeroDivisionError("float division by zero, could not find root")
  lowerCamelCase__  =     x_na - (
      function(lowercase__) / ((function(lowercase__) - function(lowercase__)) / (x_na - x_n))
  )
  if abs(x_na - x_na) < 10**-5:
   return x_na
  lowerCamelCase__  =     x_na
  lowerCamelCase__  =     x_na






def    lowerCamelCase_     (    lowercase__):
 return math.pow(lowercase__				,     3) - (2 * x) - 5


if __name__ == "__main__":
 print(intersection(f, 3, 3.5))









'''simple docstring'''





def    lowerCamelCase_     (    lowercase__				,     lowercase__				,     lowercase__):
 return round(float(moles / volume) * nfactor)






def    lowerCamelCase_     (    lowercase__				,     lowercase__				,     lowercase__):
 return round(float((moles * 0.0_821 * temperature) / (volume)))






def    lowerCamelCase_     (    lowercase__				,     lowercase__				,     lowercase__):
 return round(float((moles * 0.0_821 * temperature) / (pressure)))






def    lowerCamelCase_     (    lowercase__				,     lowercase__				,     lowercase__):
 return round(float((pressure * volume) / (0.0_821 * moles)))


if __name__ == "__main__":
 import doctest

 doctest.testmod()

