pKaTool/Ghosts/utilities_CSP.py
def fieldCoulomb(distCharge, cosAngle, charge):
	'''
	Calculate electric field using Coulombs law
	'''
	import math
	E = 1.0/(4*math.pi*e0)*qe/(distCharge*1E-10)**2 *charge*cosAngle / au_field
	return E

	Calculate electric field using Coulombs law
	
Calculate electric field using Coulombs law
Calculate electric field using Coulombs law
def fieldCoulomb(distCharge, cosAngle, charge):
	import math
	E = 1.0/(4*math.pi*e0)*qe/(distCharge*1E-10)**2 *charge*cosAngle / au_field
	return E
def fieldCoulomb ( distCharge , cosAngle , charge ) : import math E = 1.0 / ( 4 * math . pi * e0 ) * qe / ( distCharge * 1E-10 ) ** 2 * charge * cosAngle / au_field return E
Calculate electric field using Coulombs law
Calculate electric field using Coulombs law
'''
	Calculate electric field using Coulombs law
	'''
distCharge
cosAngle
charge