summaryrefslogtreecommitdiff
path: root/3860/CH2/EX2.28/Ex2_28.sce
blob: 9cbaa3602f68769146cc6cea9cf9c8ca9798ad14 (plain)
1
2
3
4
5
6
7
8
//Example 2.28: Manipulation POS expression into SOP Expression.
clc // Clears the console
disp('f = (A + B + C) ( A'' + B'') = AB'' + A''( B + C) = AB'' + A''B + A''C')
disp('f = AA'' + AB'' + BA'' + BB'' + CA'' + CB''')// converting into disjunctive normal form.
disp('f = AB'' + A''B + A''C + B''C')
disp(' The SOP form of given expression is displayed')
disp(' The term B''C can then be removed because it is the consensus of AB'' and A''C')
//the reduced expression is displayed.