The following code will calculate EA=R using the Gauss-Jordan algorithm as articulated in class.
EA=R