def Ke(self):
        """ Compute cost of equity using CAPM model """
        
        try:
            #Test for negative numbers input and raise the exception
            self._negativeNumberException(self.Rf,self.Beta,self.Rm)
            return self.Rf + self.Beta*(self.Rm - self.Rf)

        #Raise ValueError if input is not numerical
        except TypeError:
            print "\n<The entered value is not a number"
 Compute cost of equity using CAPM model 
recipes/Python/576708_DVMVersusCAPM/recipe-576708.py