code: 
  
  
  
  from collections import OrderedDict
  from typing import Mapping
  
  from ...configuration_utils import PretrainedConfig
  from ...onnx import OnnxConfig
  from ...utils import logging
  
  
  __A       					=		logging.get_logger(__name__)
  
  __A       					=		{
      '''google/electra-small-generator''': '''https://huggingface.co/google/electra-small-generator/resolve/main/config.json''',
      '''google/electra-base-generator''': '''https://huggingface.co/google/electra-base-generator/resolve/main/config.json''',
      '''google/electra-large-generator''': '''https://huggingface.co/google/electra-large-generator/resolve/main/config.json''',
      '''google/electra-small-discriminator''': (
          '''https://huggingface.co/google/electra-small-discriminator/resolve/main/config.json'''
      ),
      '''google/electra-base-discriminator''': (
          '''https://huggingface.co/google/electra-base-discriminator/resolve/main/config.json'''
      ),
      '''google/electra-large-discriminator''': (
          '''https://huggingface.co/google/electra-large-discriminator/resolve/main/config.json'''
      ),
  }
  
  
  
  
  
  
  class 	lowercase		(				snake_case__):
  
  
  
  
  
  
  	"""simple docstring"""
  
  
  	a__   :      Union[str, Any]	     =							"electra"
  
  
  
  
  	def __init__(			self			:		List[Any]		,						__UpperCAmelCase			:		List[Any]=30_522		,						__UpperCAmelCase			:		Optional[int]=128		,						__UpperCAmelCase			:		Optional[Any]=256		,						__UpperCAmelCase			:		Optional[Any]=12		,						__UpperCAmelCase			:		str=4		,						__UpperCAmelCase			:		Any=1_024		,						__UpperCAmelCase			:		List[Any]="gelu"		,						__UpperCAmelCase			:		str=0.1		,						__UpperCAmelCase			:		Optional[int]=0.1		,						__UpperCAmelCase			:		Dict=512		,						__UpperCAmelCase			:		Optional[int]=2		,						__UpperCAmelCase			:		Optional[int]=0.02		,						__UpperCAmelCase			:		List[Any]=1E-12		,						__UpperCAmelCase			:		List[str]="first"		,						__UpperCAmelCase			:		int=True		,						__UpperCAmelCase			:		int="gelu"		,						__UpperCAmelCase			:		str=0.1		,						__UpperCAmelCase			:		Tuple=0		,						__UpperCAmelCase			:		Optional[int]="absolute"		,						__UpperCAmelCase			:		List[Any]=True		,						__UpperCAmelCase			:		Any=None		,						**__UpperCAmelCase			:		List[str]		,						)    ->				int:
  							super().__init__(pad_token_id=__UpperCAmelCase		,						**__UpperCAmelCase  )
  
  							UpperCAmelCase_=     vocab_size
  							UpperCAmelCase_=     embedding_size
  							UpperCAmelCase_=     hidden_size
  							UpperCAmelCase_=     num_hidden_layers
  							UpperCAmelCase_=     num_attention_heads
  							UpperCAmelCase_=     intermediate_size
  							UpperCAmelCase_=     hidden_act
  							UpperCAmelCase_=     hidden_dropout_prob
  							UpperCAmelCase_=     attention_probs_dropout_prob
  							UpperCAmelCase_=     max_position_embeddings
  							UpperCAmelCase_=     type_vocab_size
  							UpperCAmelCase_=     initializer_range
  							UpperCAmelCase_=     layer_norm_eps
  
  							UpperCAmelCase_=     summary_type
  							UpperCAmelCase_=     summary_use_proj
  							UpperCAmelCase_=     summary_activation
  							UpperCAmelCase_=     summary_last_dropout
  							UpperCAmelCase_=     position_embedding_type
  							UpperCAmelCase_=     use_cache
  							UpperCAmelCase_=     classifier_dropout
  
  
  
  
  
  
  class 	lowercase		(				snake_case__):
  
  
  
  
  
  
  	"""simple docstring"""
  
  
  	@property
  	def 						_SCREAMING_SNAKE_CASE	(			self			:		Optional[int]  )    ->				Mapping[str, Mapping[int, str]]:
  							if self.task == "multiple-choice":
  													UpperCAmelCase_=     {0: """batch""", 1: """choice""", 2: """sequence"""}
  							else:
  													UpperCAmelCase_=     {0: """batch""", 1: """sequence"""}
  							return OrderedDict(
  							    [
  							        ("""input_ids""", dynamic_axis),
  							        ("""attention_mask""", dynamic_axis),
  							        ("""token_type_ids""", dynamic_axis),
  							    ]  )
  
  
  
  
  
style_context: 
  
  
  
  from math import radians as angle_to_radians
  from math import sin
  
  # Acceleration Constant on Earth (unit m/s^2)
  __A       					=		9.8_0_6_6_5
  
  
  
  def  __a  (					lowerCAmelCase_     :      float    ,lowerCAmelCase_     :      float       )   ->				None:
  
  
  
  
  
  
  						'''simple docstring'''
  
  
  
  						if not isinstance(lowerCAmelCase_    ,(int, float)       ):
  												raise TypeError("""Invalid velocity. Should be a positive number."""       )
  
  						if not isinstance(lowerCAmelCase_    ,(int, float)       ):
  												raise TypeError("""Invalid angle. Range is 1-90 degrees."""       )
  
  						# Ensure valid angle
  						if angle > 90 or angle < 1:
  												raise ValueError("""Invalid angle. Range is 1-90 degrees."""       )
  
  						# Ensure valid velocity
  						if init_velocity < 0:
  												raise ValueError("""Invalid velocity. Should be a positive number."""       )
  
  
  
  def  __a  (					lowerCAmelCase_     :      float    ,lowerCAmelCase_     :      float       )   ->				float:
  
  
  
  
  
  
  						'''simple docstring'''
  
  
  
  						check_args(lowerCAmelCase_    ,lowerCAmelCase_       )
  						UpperCAmelCase_=     angle_to_radians(2 * angle       )
  						return round(init_velocity**2 * sin(lowerCAmelCase_       ) / g    ,2       )
  
  
  
  def  __a  (					lowerCAmelCase_     :      float    ,lowerCAmelCase_     :      float       )   ->				float:
  
  
  
  
  
  
  						'''simple docstring'''
  
  
  
  						check_args(lowerCAmelCase_    ,lowerCAmelCase_       )
  						UpperCAmelCase_=     angle_to_radians(lowerCAmelCase_       )
  						return round(init_velocity**2 * sin(lowerCAmelCase_       ) ** 2 / (2 * g)    ,2       )
  
  
  
  def  __a  (					lowerCAmelCase_     :      float    ,lowerCAmelCase_     :      float       )   ->				float:
  
  
  
  
  
  
  						'''simple docstring'''
  
  
  
  						check_args(lowerCAmelCase_    ,lowerCAmelCase_       )
  						UpperCAmelCase_=     angle_to_radians(lowerCAmelCase_       )
  						return round(2 * init_velocity * sin(lowerCAmelCase_       ) / g    ,2       )
  
  
  
  def  __a  (					)   ->				None:
  
  
  
  
  
  
  						'''simple docstring'''
  
  
  
  						UpperCAmelCase_,     UpperCAmelCase_=     25, 20
  						assert horizontal_distance(lowerCAmelCase_    ,lowerCAmelCase_       ) == 40.97
  						assert max_height(lowerCAmelCase_    ,lowerCAmelCase_       ) == 3.73
  						assert total_time(lowerCAmelCase_    ,lowerCAmelCase_       ) == 1.74
  
  
  if __name__ == "__main__":
  	from doctest import testmod
  
  	testmod()
  
  	# Get input from user
  	__A       					=		float(input('''Initial Velocity: ''').strip())
  
  	# Get input from user
  	__A       					=		float(input('''angle: ''').strip())
  
  	# Print results
  	print()
  	print('''Results: ''')
  	print(f'Horizontal Distance: {horizontal_distance(init_vel, angle)!s} [m]')
  	print(f'Maximum Height: {max_height(init_vel, angle)!s} [m]')
  	print(f'Total Time: {total_time(init_vel, angle)!s} [s]')
  
  
  
  
  