


'''simple docstring'''







import cmath
import math






def 				lowerCAmelCase__	(    lowerCamelCase					:      float  ,lowerCamelCase					:      float  ,lowerCamelCase					:      float  ,lowerCamelCase					:      float       ):
       _A					:     List[Any]     = math.radians(lowerCamelCase       )
       _A					:     Dict     = math.radians(lowerCamelCase       )

       # Convert voltage and current to rectangular form
       _A					:     Optional[Any]     = cmath.rect(lowerCamelCase  ,lowerCamelCase       )
       _A					:     Optional[Any]     = cmath.rect(lowerCamelCase  ,lowerCamelCase       )

       # Calculate apparent power
       return voltage_rect * current_rect


if __name__ == "__main__":
   import doctest

   doctest.testmod()










'''simple docstring'''







def 				lowerCAmelCase__	(    lowerCamelCase					:      int = 10       ):
       if not isinstance(lowerCamelCase  ,lowerCamelCase       ) or n < 0:
              raise ValueError('Invalid input'       )
       _A					:     Optional[Any]     = 10**n
       _A					:     List[str]     = 28433 * (pow(2  ,7830457  ,lowerCamelCase       )) + 1
       return str(number % modulus       )


if __name__ == "__main__":
   from doctest import testmod

   testmod()
   print(f"""{solution(10) = }""")






