//Example 4-2// //Reducing an expression// clc //clears the console// clear //clears all existing variables// //the given expression is as follows// disp(' Given Expression- A+B(C+(DE)'')'' ') disp('applying DeMorgan theorem') disp(' reduced expression: ') disp(' A+B(C+D''+E'')'' ') disp('Applying DeMorgan theorem again') disp(' A+B(C''DE) ') disp(' Therefore final reduced expression is : ') disp(' A+BC''DE ') //final expression displayed//