summaryrefslogtreecommitdiff
path: root/1241/CH6/EX6.1/exa6_1.sce
blob: c9919ca48062a29c9bcd4ccac474e63b74a24e2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//Example 6-1//
//convert A+B to minterms//
clc
//clears the console//
clear
//clears all existing variables//
//conversion to minterms//
disp(' Given expression- A+B  ')
disp(' on solving ')
disp(' A(B+B'')+B(A+A'') ')
disp('multiplying')
disp(' AB+AB''+AB+A''B  ')
disp('we know A+A=A')
disp(' AB+AB''+A''B  ')
//final result is displayed//