def cost_of_equity_growth(div, Mv, g):
	"""
	Calculates the cost of capital or equity shareholder required rate of 
	return for an investment in which dividend is expected to grow  at a 
	constant growth rate (dividend is about to be paid)

	parameters:
	-----------
	d = dividend per share.	
	Mv = ex-dividend share price. 
	g = growth rate.

	"""
	Mv = Mv - div
	ke = (div * (1 + g)/Mv) + g
	return round(ke, 4)