blob: a4c1131609ad94cafc01d5c98410eb3daf7edec5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
//EX3_1:Convert to SOP
//(A + B + C')(A + B +D)(A + B + E)(A + D' + E)(A' + C)
//clears the screen
clc
//clears already existing variables
clear
disp('(A + B + C'')(A + B + D)(A + B + E)(A + D'' + E)(A'' + C)')
disp('= (A + B + C''D)(A + B + E)(A + D'' + E)(A'' + C)')
disp('= (A + B + C''DE)[AC + A''(D'' + E)]')
disp('= AC + ABC + A''BD'' +A''BE + A''C''DE')
disp('= AC + A''BD'' + A''BE + A''C''DE')
|