//Example 6-29// //Reduce by Mapping// clc //clears the console// clear //clears all existing variables// disp('R=m0+(E+G)m2+E''m5+Gm10+Fm13+m14+m15+d(m1+Em4+F''m8+F''m9)') disp('Converting the 7 variable minterms to 4 variable minterms') disp('Em2 covers Em0') disp('E''m0 combines with m1') disp('Result R=A''B''D''E+A''B''C''+B''CD''G+ABDF+ABC ') //final expression is displayed//