





"""simple docstring"""






import math

def     __A      (			a_						:List[str])		->		List[Any]:



				if 1 < number < 4:
								# 2 and 3 are primes
								return True
				elif number < 2 or number % 2 == 0 or number % 3 == 0:
								# Negatives, 0, 1, all even numbers, all multiples of 3 are not primes
								return False

				# All primes number are in format of 6k +/- 1
				for i in range(5   ,       int(math.sqrt(lowerCamelCase_) + 1)   ,       6):
								if number % i == 0 or number % (i + 2) == 0:
												return False
				return True

def     __A      (			a_						:str = 1_00_01)		->		Any:



				try:
								__a :						Tuple			       =  int(lowerCamelCase_)
				except (TypeError, ValueError):
								raise TypeError('''Parameter nth must be int or castable to int.''') from None
				if nth <= 0:
								raise ValueError('''Parameter nth must be greater than or equal to one.''')
				__a :						list[int]			       =  []
				__a :						Dict			       =  2
				while len(lowerCamelCase_) < nth:
								if is_prime(lowerCamelCase_):
												primes.append(lowerCamelCase_)
												num += 1
								else:
												num += 1
				return primes[len(lowerCamelCase_) - 1]


if __name__ == "__main__":
		print(F'{solution() = }')






"""simple docstring"""






from math import log

from scipy.constants import Boltzmann, physical_constants

A 			=  300  # TEMPERATURE (unit = K)

def     __A      (			a_						:float   ,       a_						:float   ,       a_						:float   ,       )		->		float:

				if donor_conc <= 0:
								raise ValueError('''Donor concentration should be positive''')
				elif acceptor_conc <= 0:
								raise ValueError('''Acceptor concentration should be positive''')
				elif intrinsic_conc <= 0:
								raise ValueError('''Intrinsic concentration should be positive''')
				elif donor_conc <= intrinsic_conc:
								raise ValueError(
								    '''Donor concentration should be greater than intrinsic concentration''')
				elif acceptor_conc <= intrinsic_conc:
								raise ValueError(
								    '''Acceptor concentration should be greater than intrinsic concentration''')
				else:
								return (
								    Boltzmann
								    * T
								    * log((donor_conc * acceptor_conc) / intrinsic_conc**2)
								    / physical_constants["electron volt"][0]
								)


if __name__ == "__main__":
		import doctest

		doctest.testmod()