summaryrefslogtreecommitdiff
path: root/3827/CH3/EX3.4/Ex3_4.sce
blob: ebd1a45d0d6db79780650111396a593a9df6c9fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//EX3_4: Simplify A'B + A'B'C'D' + ABCD'

//clears the screen
clc

//clears already existing variables
clear

disp('A''B + A''B''C''D'' + ABCD''')
disp('= A''(B + B''C''D'') + ABCD''')
disp('= A''(B + C''D'') + ABCD''')
disp('= B(A'' + ACD'') + A''C''D''')
disp('= B(A'' + CD'') + A''C''D''')
disp('= A''B + BCD'' + A''C''D''')