Residual Income

Will below two formula for RI get the same result?

  1. Net Income- (equity capital * cost of equity)

  2. EBIT (1-t) - (total capital * WACC%)

My understanding is yes, but my number says no…Please advise. Thanks.