



'''simple docstring'''





import math




def 	UpperCAmelCase   (						_lowerCamelCase ,    _lowerCamelCase    ):
			return math.pow(_lowerCAmelCase ,    2    ) - a




def 	UpperCAmelCase   (						_lowerCamelCase    ):
			return 2 * x




def 	UpperCAmelCase   (						_lowerCamelCase    ):
			A							:					Dict              =						2.0

			while start <= a:
						A							:					Dict              =						math.pow(_lowerCAmelCase ,    2    )

			return start




def 	UpperCAmelCase   (						_lowerCamelCase ,    _lowerCamelCase = 9999 ,    _lowerCamelCase = 0.00_00_00_00_00_00_01    ):

			if a < 0:
						raise ValueError("math domain error"    )

			A							:					str              =						get_initial_point(_lowerCAmelCase    )

			for _ in range(_lowerCAmelCase    ):
						A							:					List[str]              =						value
						A							:					Optional[int]              =						value - fx(_lowerCAmelCase ,    _lowerCAmelCase    ) / fx_derivative(_lowerCAmelCase    )
						if abs(prev_value - value    ) < tolerance:
									return value

			return value


if __name__ == "__main__":
							from doctest import testmod

							testmod()




from dataclasses import dataclass, field
from typing import ClassVar, Dict

from ..features import Features, Sequence, Value
from .base import TaskTemplate

@dataclass(frozen=_A						)
class 	lowerCamelCase_    ( _A						):






						'''simple docstring'''
						# `task` is not a ClassVar since we want it to be part of the `asdict` output for JSON serialization
						a__   =  field(default="question-answering-extractive"						,metadata={"include_in_asdict_even_if_is_default": True}						)
						a__   =  Features({"question": Value("string"						), "context": Value("string"						)}						)
						a__   =  Features(
						    {
						        "answers": Sequence(
						            {
						                "text": Value("string"						),
						                "answer_start": Value("int32"						),
						            }						)
						    }						)
						a__   =  "question"
						a__   =  "context"
						a__   =  "answers"







						@property
						def 			SCREAMING_SNAKE_CASE__		(	self      :			Union[str, Any] )      ->				Dict[str, str]:
									return {self.question_column: "question", self.context_column: "context", self.answers_column: "answers"}