
'''simple docstring'''
import decimal




def 					_UpperCamelCase		(    )   ->				int:


		'''simple docstring'''


		snake_case   :    List[Any]			       =		0
		snake_case   :    str			       =		decimal.Context(prec=105       )
		for i in range(2      ,    100       ):
				snake_case   :    Dict			       =		decimal.Decimal(SCREAMING_SNAKE_CASE__       )
				snake_case   :    Optional[Any]			       =		number.sqrt(SCREAMING_SNAKE_CASE__       )
				if len(str(SCREAMING_SNAKE_CASE__       )       ) > 1:
						answer += int(str(SCREAMING_SNAKE_CASE__       )[0]       )
						snake_case   :    List[str]			       =		str(SCREAMING_SNAKE_CASE__       )[2:101]
						answer += sum(int(SCREAMING_SNAKE_CASE__       ) for x in sqrt_number_str       )
		return answer


if __name__ == "__main__":
						import doctest

						doctest.testmod()
						print(f"{solution() = }")




'''simple docstring'''
from __future__ import annotations

from collections.abc import Callable




def 					_UpperCamelCase		(    SCREAMING_SNAKE_CASE__      ,    SCREAMING_SNAKE_CASE__      ,    SCREAMING_SNAKE_CASE__      ,    SCREAMING_SNAKE_CASE__ = 100      ,    )   ->				float:


		'''simple docstring'''


		snake_case   :    int			       =		x_start
		snake_case   :    Tuple			       =		fnc(SCREAMING_SNAKE_CASE__       )
		snake_case   :    Dict			       =		0.0

		for _ in range(SCREAMING_SNAKE_CASE__       ):
				# Approximates small segments of curve as linear and solve
				# for trapezoidal area
				snake_case   :    str			       =		(x_end - x_start) / steps + xa
				snake_case   :    str			       =		fnc(SCREAMING_SNAKE_CASE__       )
				area += abs(fxa + fxa       ) * (xa - xa) / 2

				# Increment step
				snake_case   :    Any			       =		xa
				snake_case   :    List[str]			       =		fxa
		return area


if __name__ == "__main__":




						def 					_UpperCamelCase		(    SCREAMING_SNAKE_CASE__       )   ->				str:


								'''simple docstring'''


								return x**3

						print("f(x) = x^3")
						print("The area between the curve, x = -10, x = 10 and the x axis is:")
						lowercase__		    =	1_0
						while i <= 1_0_0_0_0_0:
												lowercase__		    =	trapezoidal_area(f, -5, 5, i)
												print(f"with {i} steps: {area}")
												i *= 1_0


