






import math


def __A       ( __lowerCAmelCase      )->    Optional[Any]:





						"""simple docstring"""



						if number == 0:
												_UpperCAmelCase							   =     'Zero'
												return words
						else:
												_UpperCAmelCase							   =     math.logaa(UpperCAmelCase_      )
												_UpperCAmelCase							   =     digits + 1
												_UpperCAmelCase							   =     {}
												_UpperCAmelCase							   =     ''
												_UpperCAmelCase							   =     'One'
												_UpperCAmelCase							   =     'Two'
												_UpperCAmelCase							   =     'Three'
												_UpperCAmelCase							   =     'Four'
												_UpperCAmelCase							   =     'Five'
												_UpperCAmelCase							   =     'Six'
												_UpperCAmelCase							   =     'Seven'
												_UpperCAmelCase							   =     'Eight'
												_UpperCAmelCase							   =     'Nine'

												_UpperCAmelCase							   =     {}
												_UpperCAmelCase							   =     ''
												_UpperCAmelCase							   =     'Twenty'
												_UpperCAmelCase							   =     'Thirty'
												_UpperCAmelCase							   =     'Forty'
												_UpperCAmelCase							   =     'Fifty'
												_UpperCAmelCase							   =     'Sixty'
												_UpperCAmelCase							   =     'Seventy'
												_UpperCAmelCase							   =     'Eighty'
												_UpperCAmelCase							   =     'Ninety'

												_UpperCAmelCase							   =     {}
												_UpperCAmelCase							   =     'Ten'
												_UpperCAmelCase							   =     'Eleven'
												_UpperCAmelCase							   =     'Twelve'
												_UpperCAmelCase							   =     'Thirteen'
												_UpperCAmelCase							   =     'Fourteen'
												_UpperCAmelCase							   =     'Fifteen'
												_UpperCAmelCase							   =     'Sixteen'
												_UpperCAmelCase							   =     'Seventeen'
												_UpperCAmelCase							   =     'Eighteen'
												_UpperCAmelCase							   =     'Nineteen'

												_UpperCAmelCase							   =     {}
												_UpperCAmelCase							   =     'Hundred,'
												_UpperCAmelCase							   =     'Thousand,'
												_UpperCAmelCase							   =     'Lakh,'
												_UpperCAmelCase							   =     'Crore,'

												_UpperCAmelCase							   =     number
												_UpperCAmelCase							   =     ''
												_UpperCAmelCase							   =     0
												_UpperCAmelCase							   =     int(UpperCAmelCase_      )
												while counter < digits:
																		_UpperCAmelCase							   =     temp_num % 10
																		if counter % 2 == 0:
																								_UpperCAmelCase							   =     ''
																								if counter in placevalue and current != 0:
																														_UpperCAmelCase							   =     placevalue[counter]
																								if counter == 2:
																														_UpperCAmelCase							   =     singles[current] + addition + words
																								elif counter == 0:
																														if ((temp_num % 100) // 10) == 1:
																																				_UpperCAmelCase							   =     teens[current] + addition + words
																																				_UpperCAmelCase							   =     temp_num // 10
																																				counter += 1
																														else:
																																				_UpperCAmelCase							   =     singles[current] + addition + words

																								else:
																														_UpperCAmelCase							   =     doubles[current] + addition + words

																		else:
																								if counter == 1:
																														if current == 1:
																																				_UpperCAmelCase							   =     teens[number % 10] + words
																														else:
																																				_UpperCAmelCase							   =     ''
																																				if counter in placevalue:
																																										_UpperCAmelCase							   =     placevalue[counter]
																																				_UpperCAmelCase							   =     doubles[current] + addition + words
																								else:
																														_UpperCAmelCase							   =     ''
																														if counter in placevalue:
																																				if current == 0 and ((temp_num % 100) // 10) == 0:
																																										_UpperCAmelCase							   =     ''
																																				else:
																																										_UpperCAmelCase							   =     placevalue[counter]
																														if ((temp_num % 100) // 10) == 1:
																																				_UpperCAmelCase							   =     teens[current] + addition + words
																																				_UpperCAmelCase							   =     temp_num // 10
																																				counter += 1
																														else:
																																				_UpperCAmelCase							   =     singles[current] + addition + words
																		counter += 1
																		_UpperCAmelCase							   =     temp_num // 10
						return words


if __name__ == "__main__":
		import doctest

		doctest.testmod()



'''simple docstring'''

from __future__ import annotations

from collections.abc import Callable




def  UpperCamelCase(	UpperCAmelCase_    ,			UpperCAmelCase_    ,			UpperCAmelCase_    ,			UpperCAmelCase_ = 1_00    ,			):
 UpperCAmelCase			:      Any		   =					x_start
 UpperCAmelCase			:      int		   =					fnc(UpperCAmelCase_      )
 UpperCAmelCase			:      str		   =					0.0

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

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


if __name__ == "__main__":




 def  UpperCamelCase(	UpperCAmelCase_      ):
  return x**3

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




