summaryrefslogtreecommitdiff
path: root/911/CH11/EX11.4/ex_11_4.sce
blob: e2879fe188bfc5371f1ab8852958a0246ca648cc (plain)
1
2
3
4
5
6
7
8
9
10
11
//example 11.4//
clc
//clears the screen//
clear
//clears all existing variables//
disp('From the given function table, we can write the boolean expressions for the four output as follows:')
disp('P=A''BC''D+A''BCD''+A''BCD+AB''C''D''+AB''C''D')
disp('Q=A''BC''D''+A''BC''D')
disp('R=A''B''CD''+A''B''CD+A''BC''D''+A''BC''D+A''BCD''+A''BCD')
disp('S=A''B''C''D+A''B''CD''+A''BCD+AB''C''D''')
disp(' minimizing them we get, P= BD + BD + A, Q= BC'', R= B+C AND S= A''B''C''D + BCD + AD''+ B''CD''')