






from __future__ import annotations

from collections.abc import Callable







def   snake_case		(				UpperCAmelCase						:							str,    UpperCAmelCase						:							int,    UpperCAmelCase						:							str,    UpperCAmelCase						:							str = 1_00,    ):
				A									=   x_start
				A									=   fnc(UpperCAmelCase )
				A									=   0.0

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

								# Increment step
								A									=   xa
								A									=   fxa
				return area


if __name__ == "__main__":







					def   snake_case		(				UpperCAmelCase						:							Tuple ):
									return x**3

					print('f(x) = x^3')
					print('The area between the curve, x = -10, x = 10 and the x axis is:')
					lowerCAmelCase_     =			10
					while i <= 100_000:
										lowerCAmelCase_     =			trapezoidal_area(f, -5, 5, i)
										print(f'''with {i} steps: {area}''')
										i *= 10












"""simple docstring"""






from collections import defaultdict

def    __lowerCamelCase     (							SCREAMING_SNAKE_CASE = 5				)		->							int:






       """simple docstring"""




       _UpperCAmelCase			     =  defaultdict(SCREAMING_SNAKE_CASE				)
       _UpperCAmelCase			     =  0

       while True:
              _UpperCAmelCase			     =  get_digits(SCREAMING_SNAKE_CASE				)
              freqs[digits].append(SCREAMING_SNAKE_CASE				)

              if len(freqs[digits]				) == max_base:
                     _UpperCAmelCase			     =  freqs[digits][0] ** 3
                     return base

              num += 1

def    __lowerCamelCase     (							SCREAMING_SNAKE_CASE				)		->							str:






       """simple docstring"""




       return "".join(sorted(str(num**3				)				)				)


if __name__ == "__main__":
    print(F'''{solution() = }''')






