


"""simple docstring"""


import math


def _lowerCamelCase			(	_UpperCamelCase					,				_UpperCamelCase   ):

			'''simple docstring'''




			__lowerCAmelCase       					=    len(_UpperCamelCase   )
			__lowerCAmelCase       					=    int(math.floor(math.sqrt(_UpperCamelCase   )   )   )
			__lowerCAmelCase       					=    0
			while arr[min(_UpperCamelCase					,				_UpperCamelCase   ) - 1] < x:
						__lowerCAmelCase       					=    step
						step += int(math.floor(math.sqrt(_UpperCamelCase   )   )   )
						if prev >= n:
									return -1

			while arr[prev] < x:
						__lowerCAmelCase       					=    prev + 1
						if prev == min(_UpperCamelCase					,				_UpperCamelCase   ):
									return -1
			if arr[prev] == x:
						return prev
			return -1


if __name__ == "__main__":
	A  :     Union[str, Any]    					=    input("Enter numbers separated by a comma:\n").strip()
	A  :     str    					=    [int(item) for item in user_input.split(",")]
	A  :     Optional[Any]    					=    int(input("Enter the number to be searched:\n"))
	A  :     Union[str, Any]    					=    jump_search(arr, x)
	if res == -1:
		print("Number not found!")
	else:
		print(f'''Number {x} is at index {res}''')








"""simple docstring"""


import cmath
import math


def _lowerCamelCase			(	_UpperCamelCase					,				_UpperCamelCase					,				_UpperCamelCase					,				_UpperCamelCase   ):

			'''simple docstring'''




			__lowerCAmelCase       					=    math.radians(_UpperCamelCase   )
			__lowerCAmelCase       					=    math.radians(_UpperCamelCase   )

			# Convert voltage and current to rectangular form
			__lowerCAmelCase       					=    cmath.rect(_UpperCamelCase					,				_UpperCamelCase   )
			__lowerCAmelCase       					=    cmath.rect(_UpperCamelCase					,				_UpperCamelCase   )

			# Calculate apparent power
			return voltage_rect * current_rect


if __name__ == "__main__":
	import doctest

	doctest.testmod()




