def pres_from_Cp(Cp, p_inf, rho_inf, V_inf):
	"""
	Calculates pressure from freestream conditions based upon local pressure
	coefficient, Cp.

	Input variables:
		Cp			:	Local pressure coefficient
		p_inf		:	Freestream pressure
		rho_inf		:	Freestream density
		V_inf		:	Freestream velocity
	"""

	p = p_inf + (Cp * 0.5 * rho_inf * (V_inf**2))

	return p