Residual Method Formula