def roi(cost, dis):
	"""calculates the gain from an investment

	parameters:
	-----------
	cost: cost of the investment
	dis: disposal value of the investment

    

	"""
	gain = dis - cost
	ROI  = (gain/cost)
	return round(ROI, 4)