summaryrefslogtreecommitdiff
path: root/1241/CH6/EX6.27/exa6_27.sce
blob: 9a6a5475299868227a71c4e2f2eca0984d8b25da (plain)
1
2
3
4
5
6
7
8
9
10
11
//Example 6-27//
//Reduce by Variable Mapping//
clc
//clears the console//
clear
//clears all existing variables//
disp('Z=A''B''CDE+A''BC''DE''+A''BCD+AB''CD''F+ABC''D''+ABCD''')
disp('Converting the 6 variable minterms to 4 variable minterms')
disp('m7-E+E'';m14-F+F''')
disp('Result Z= A''CDE+A''BDE''+ABD''+ACD''F')
//final expression is displayed//