blob: c21e3e5f736ca434d7ad368aed71bdc4a440b58b (
plain)
1
2
3
4
5
6
7
8
9
10
|
// example 5.4//
clc
//clears the screen//
clear
//clears all existing variables//
disp("we can SIMPLIFY the given equation as : ");
disp('LET X= ABCD+ ABC''D''+ABCD''+ABC''D+ABCDE+ABC''D''E''+ABC''DE' );
disp('It can further be simplified to: X= ABCD+ ABC''D''+ABCD''+ABC''D')
disp(' Therefore, Y = AB' )
disp('this says that output Y equals to AB' );
|