summaryrefslogtreecommitdiff
path: root/1241/CH4/EX4.1/exa4_1.sce
blob: 87e16c94106cdaae746dfbbbd2afe5b696e79d3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//Example 4-1//
//demorganize function//
clc
//clears the console//
clear
//clears all existing variables//
//the given function is as follows//
disp('Given function- (AB''+C)'' ')
disp('now demorganizing the function')
disp('complement function')
disp(' AB''+C ')
disp('changing operators')
disp(' (A+B'')(C) ')
disp('complement variables')
disp(' (A''+B)(C'') ')
//final answer displayed after simplification//