summaryrefslogtreecommitdiff
path: root/3827/CH2/EX2.5/EX2_5.sce
blob: 51dc626143758bd4aaec938185892c70f6f0801d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//EX2_5 Factor AB' + C'D

//clears the screen
clc

//clears already existing variables
clear

//Using second distributive law
disp('AB'' + C''D = (AB'' + C'')(AB'' + D)')
//Again by using second distributive law
disp('AB'' + C''D = (A + C'')(B'' + C'')(A + D)(B'' + D)')