//Example 4-1// //demorganize function// clc //clears the console// clear //clears all existing variables// //the given function is as follows// disp('Given function- (AB''+C)'' ') disp('now demorganizing the function') disp('complement function') disp(' AB''+C ') disp('changing operators') disp(' (A+B'')(C) ') disp('complement variables') disp(' (A''+B)(C'') ') //final answer displayed after simplification//