summaryrefslogtreecommitdiff
path: root/3860/CH2/EX2.29/Ex2_29.sce
blob: b1d6c3351e1ac8de5ef4df409d7b1ff9139e8cb6 (plain)
1
2
3
4
5
6
7
8
//Example 2.29: Manipulation POS expression into SOP Expression.
clc // Clears the console
disp('(A + B'' + C) ( A + B + D) (A'' + C'' + D'')')
disp(' = [A + (B'' + C)(B + D)](A'' + C'' + D''')
disp(' = (A + B''D + BC)(A'' + C'' + D'')')
disp(' = A ( C''+ D'') + A''(B''D + BC )')
disp(' = AC'' + AD'' + A''B''D + A''BC')
//the reduced expression is displayed.