

"""simple docstring"""




__UpperCAmelCase			=					[
    "VerificationMode",
    "Version",
    "disable_progress_bar",
    "enable_progress_bar",
    "is_progress_bar_enabled",
    "experimental",
]

from .info_utils import VerificationMode
from .logging import disable_progress_bar, enable_progress_bar, is_progress_bar_enabled
from .version import Version
from .experimental import experimental






'''simple docstring'''


from __future__ import annotations

__lowerCAmelCase						:							List[str]    							=						8.988e9  # units = N * m^s * C^-2





def    lowerCAmelCase       (		UpperCamelCase__					: float     ,       UpperCamelCase__					: float     ,       UpperCamelCase__					: float     ,       UpperCamelCase__					: float							):


	"""simple docstring"""
	__UpperCAmelCase      					=      abs(chargea * chargea							)

	if (force, chargea, chargea, distance).count(0							) != 1:
		raise ValueError('''One and only one argument must be 0'''							)
	if distance < 0:
		raise ValueError('''Distance cannot be negative'''							)
	if force == 0:
		__UpperCAmelCase      					=      COULOMBS_CONSTANT * charge_product / (distance**2)
		return {"force": force}
	elif chargea == 0:
		__UpperCAmelCase      					=      abs(UpperCamelCase__							) * (distance**2) / (COULOMBS_CONSTANT * chargea)
		return {"charge1": chargea}
	elif chargea == 0:
		__UpperCAmelCase      					=      abs(UpperCamelCase__							) * (distance**2) / (COULOMBS_CONSTANT * chargea)
		return {"charge2": chargea}
	elif distance == 0:
		__UpperCAmelCase      					=      (COULOMBS_CONSTANT * charge_product / abs(UpperCamelCase__							)) ** 0.5
		return {"distance": distance}
	raise ValueError('''Exactly one argument must be 0'''							)


if __name__ == "__main__":
					import doctest

					doctest.testmod()
