summaryrefslogtreecommitdiff
path: root/1964/CH15/EX15.12/ex15_12.sce
blob: e980e03384eb12f95d98259d3b419fc206cbcced (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//Chapter-15, Example 15.12, Page 502
//=============================================================================
clc
clear
//CALCULATIONS
disp('given=> Y=(A+AB)')
//given in the question//
disp('Y=A(1+B)')//by distributive law
disp('A.1')//by law 2
disp('A')//by law 4
disp('given=> Y=(A+A''B)')
disp('(A+A'').(A+B)')//by distributive law
disp('1.(A+B)')//by law 6
disp('A+B')//by law 4
disp('given=>(AB+A''C+BC)')
disp('AB+A''C+BC(A+A'')')
disp('AB+A''C+ABC+A''BC')
disp('AB(1+C)+A''C(1+B)')//by consensus theorem
disp('AB+A''C')
//=================================END OF PROGRAM=======================================================================================================