
def 		UpperCamelCase	(      lowercase_   )		->	Any:


  '''simple docstring'''






  return 10 - x * x

def 		UpperCamelCase	(      lowercase_ , lowercase_   )		->	Optional[Any]:


  '''simple docstring'''






  if equation(_lowerCAmelCase   ) * equation(_lowerCAmelCase   ) >= 0:
    raise ValueError("""Wrong space!"""   )

  lowercase__  :   List[str]    		=      a
  while (b - a) >= 0.01:
    # Find middle point
    lowercase__  :   Union[str, Any]    		=      (a + b) / 2
    # Check if middle point is root
    if equation(_lowerCAmelCase   ) == 0.0:
      break
    # Decide the side to repeat the steps
    if equation(_lowerCAmelCase   ) * equation(_lowerCAmelCase   ) < 0:
      lowercase__  :   Union[str, Any]    		=      c
    else:
      lowercase__  :   Any    		=      c
  return c


if __name__ == "__main__":
     import doctest

     doctest.testmod()

     print(bisection(-2, 5))
     print(bisection(0, 6))








def 		UpperCamelCase	(      lowercase_ = 10_00   )		->	int:


  '''simple docstring'''






  return sum(2 * a * ((a - 1) // 2) for a in range(3 , n + 1   )   )


if __name__ == "__main__":
     print(solution())






