//EX2_4 Factor A + B'CD //clears the screen clc //clears already existing variables clear //This is of the form X + YZ disp('Let X = A , Y = B'' and Z = CD') disp('A + B''CD = X + YZ = (X + Y)(X + Z)') disp('A + B''CD = (A + B'')(A + CD)') //A + CD can be factored again using the second distributive law disp('A + B''CD = (A + B'')(A + C)(A + D)')