blob: 58fa419fc8a8e573503f65607c84ef4cb3708720 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
//EX2_2 Simplify Z = [A + B'C + D +EF][A + B'C + (D + EF)']
//clears the screen
clc
//clears already existing variables
clear
disp('Z = [A + B''C + D + EF][A + B''C + (D + E''F)]')
disp('Let X = A + B''C')
disp('and Y = D + EF Y'' = (D + EF)''')
disp('Z = [X + Y][X + Y'']')
//By uniting theorem i.e. (X + Y)(X + Y') = X
disp('Z = X ')
disp('Z = A + B''C')
|