//Example 2.21: Reduce expression using Boolean laws ( Consensus Theorem) clc // Clears the console disp('g = bc'' + abd + acd ') disp('the only consensus term defined is bc''$ acd = abd') disp('g = bc'' + acd ')//removing consensus term //the reduced expression is displayed.