Assignment

Calculate the residual