code: 
  
  
  
  
  
  
  """simple docstring"""
  
  
  
  
  
  
  from typing import TYPE_CHECKING
  
  from ...utils import (
      OptionalDependencyNotAvailable,
      _LazyModule,
      is_tf_available,
      is_tokenizers_available,
      is_torch_available,
  )
  
  
  A_			  =    {
      "configuration_deberta_v2": ["DEBERTA_V2_PRETRAINED_CONFIG_ARCHIVE_MAP", "DebertaV2Config", "DebertaV2OnnxConfig"],
      "tokenization_deberta_v2": ["DebertaV2Tokenizer"],
  }
  
  try:
      if not is_tokenizers_available():
          raise OptionalDependencyNotAvailable()
  except OptionalDependencyNotAvailable:
      pass
  else:
      A_			  =    ["DebertaV2TokenizerFast"]
  
  try:
      if not is_tf_available():
          raise OptionalDependencyNotAvailable()
  except OptionalDependencyNotAvailable:
      pass
  else:
      A_			  =    [
          "TF_DEBERTA_V2_PRETRAINED_MODEL_ARCHIVE_LIST",
          "TFDebertaV2ForMaskedLM",
          "TFDebertaV2ForQuestionAnswering",
          "TFDebertaV2ForSequenceClassification",
          "TFDebertaV2ForTokenClassification",
          "TFDebertaV2Model",
          "TFDebertaV2PreTrainedModel",
      ]
  
  try:
      if not is_torch_available():
          raise OptionalDependencyNotAvailable()
  except OptionalDependencyNotAvailable:
      pass
  else:
      A_			  =    [
          "DEBERTA_V2_PRETRAINED_MODEL_ARCHIVE_LIST",
          "DebertaV2ForMaskedLM",
          "DebertaV2ForMultipleChoice",
          "DebertaV2ForQuestionAnswering",
          "DebertaV2ForSequenceClassification",
          "DebertaV2ForTokenClassification",
          "DebertaV2Model",
          "DebertaV2PreTrainedModel",
      ]
  
  
  if TYPE_CHECKING:
      from .configuration_deberta_va import (
          DEBERTA_V2_PRETRAINED_CONFIG_ARCHIVE_MAP,
          DebertaVaConfig,
          DebertaVaOnnxConfig,
      )
      from .tokenization_deberta_va import DebertaVaTokenizer
  
      try:
          if not is_tokenizers_available():
              raise OptionalDependencyNotAvailable()
      except OptionalDependencyNotAvailable:
          pass
      else:
          from .tokenization_deberta_va_fast import DebertaVaTokenizerFast
  
      try:
          if not is_tf_available():
              raise OptionalDependencyNotAvailable()
      except OptionalDependencyNotAvailable:
          pass
      else:
          from .modeling_tf_deberta_va import (
              TF_DEBERTA_V2_PRETRAINED_MODEL_ARCHIVE_LIST,
              TFDebertaVaForMaskedLM,
              TFDebertaVaForQuestionAnswering,
              TFDebertaVaForSequenceClassification,
              TFDebertaVaForTokenClassification,
              TFDebertaVaModel,
              TFDebertaVaPreTrainedModel,
          )
  
      try:
          if not is_torch_available():
              raise OptionalDependencyNotAvailable()
      except OptionalDependencyNotAvailable:
          pass
      else:
          from .modeling_deberta_va import (
              DEBERTA_V2_PRETRAINED_MODEL_ARCHIVE_LIST,
              DebertaVaForMaskedLM,
              DebertaVaForMultipleChoice,
              DebertaVaForQuestionAnswering,
              DebertaVaForSequenceClassification,
              DebertaVaForTokenClassification,
              DebertaVaModel,
              DebertaVaPreTrainedModel,
          )
  
  else:
      import sys
  
      A_			  =    _LazyModule(__name__, globals()["__file__"], _import_structure, module_spec=__spec__)
  
style_context: 
  
  
  
  
  
  
  """simple docstring"""
  
  
  
  
  
  
  from math import radians as angle_to_radians
  from math import sin
  
  # Acceleration Constant on Earth (unit m/s^2)
  A_			  =    9.80665
  
  
  
  
  def 						_UpperCamelCase			(  A    ,       A			):
  
     # Ensure valid instance
     if not isinstance(A    ,       (int, float)			):
        raise TypeError("Invalid velocity. Should be a positive number."			)
  
     if not isinstance(A    ,       (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 						_UpperCamelCase			(  A    ,       A			):
     check_args(A    ,       A			)
     UpperCamelCase_     =angle_to_radians(2 * angle			)
     return round(init_velocity**2 * sin(A			) / g    ,       2			)
  
  
  
  
  def 						_UpperCamelCase			(  A    ,       A			):
     check_args(A    ,       A			)
     UpperCamelCase_     =angle_to_radians(A			)
     return round(init_velocity**2 * sin(A			) ** 2 / (2 * g)    ,       2			)
  
  
  
  
  def 						_UpperCamelCase			(  A    ,       A			):
     check_args(A    ,       A			)
     UpperCamelCase_     =angle_to_radians(A			)
     return round(2 * init_velocity * sin(A			) / g    ,       2			)
  
  
  
  
  def 						_UpperCamelCase			(  ):
     UpperCamelCase_    ,							UpperCamelCase_     =25, 20
     assert horizontal_distance(A    ,       A			) == 40.97
     assert max_height(A    ,       A			) == 3.73
     assert total_time(A    ,       A			) == 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]''')
  