def     UpperCamelCase						(	__lowercase						:			float     ):
		'''simple docstring'''




		if edge <= 0 or not isinstance(lowerCAmelCase__						,lowerCAmelCase__     ):
				raise ValueError('Length must be a positive.'     )
		return 3 * ((25 + 10 * (5 ** (1 / 2))) ** (1 / 2)) * (edge**2)




def     UpperCamelCase						(	__lowercase						:			float     ):
		'''simple docstring'''




		if edge <= 0 or not isinstance(lowerCAmelCase__						,lowerCAmelCase__     ):
				raise ValueError('Length must be a positive.'     )
		return ((15 + (7 * (5 ** (1 / 2)))) / 4) * (edge**3)


if __name__ == "__main__":
					import doctest

					doctest.testmod()







import warnings

from ...utils import logging
from .image_processing_donut import DonutImageProcessor


_UpperCAmelCase            =		logging.get_logger(__name__)





class UpperCAmelCase						( __A  ):


				'''simple docstring'''






				def __init__(						self		,     *lowercase		,     **lowercase ):



						"""simple docstring"""





						warnings.warn(
						    'The class DonutFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please'
						    ' use DonutImageProcessor instead.'		,     lowercase		,     )
						super().__init__(*lowercase		,     **lowercase )






