
import math




def 	_SCREAMING_SNAKE_CASE					(		_lowerCamelCase :			Optional[Any]						,  _lowerCamelCase :			str)					->    float:






							'''simple docstring'''





							if (
							    not isinstance(__snake_case						,  (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 	_SCREAMING_SNAKE_CASE					(		_lowerCamelCase :			Tuple						,  _lowerCamelCase :			Dict)					->    float:






							'''simple docstring'''





							if (
							    not isinstance(__snake_case						,  (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()






def lowerCAmelCase__(__snake_case							)				->      str:







	'''simple docstring'''







	return "".join(chr(ord(__snake_case							) - 32							) if '''a''' <= char <= '''z''' else char for char in word							)


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

			testmod()



