

def  lowerCamelCase__ (					_a):
	if not isinstance(_a							,			_a):
		raise ValueError("Input must be an integer")
	if input_num <= 0:
		raise ValueError("Input must be positive")
	return sum(
	    divisor for divisor in range(1							,			input_num // 2 + 1) if input_num % divisor == 0)


if __name__ == "__main__":
			import doctest

			doctest.testmod()









import math

def  lowerCamelCase__ (					_a							,			_a):
	if (
	    not isinstance(_a							,			(int, float))
	    or power_factor < -1
	    or power_factor > 1
	):
		raise ValueError("power_factor must be a valid float value between -1 and 1.")
	return apparent_power * power_factor

def  lowerCamelCase__ (					_a							,			_a):
	if (
	    not isinstance(_a							,			(int, float))
	    or power_factor < -1
	    or power_factor > 1
	):
		raise ValueError("power_factor must be a valid float value between -1 and 1.")
	return apparent_power * math.sqrt(1 - power_factor**2)


if __name__ == "__main__":
			import doctest

			doctest.testmod()