summaryrefslogtreecommitdiff
path: root/48/CH3/EX3.3/eg_3_3.sce
blob: a1224018100c1d7eeda62e13b19d43acba3cdb59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
clear
clc;
disp("L.H.S = xy+x^y^+yz");
disp("R.H.S = xy+x^y^+x^z");
disp("Based on consensus theorem")
disp("we can write x^y^+yz as x^y^+yz+x^z bcoz the two expressions are equal");
disp("(x^y^+yz+x^z(y+y^))=x^y^+yz+x^yz+x^y^z");
disp("x^y^+yz+x^yz+x^y^z=x^y^(1+z)+yz(1+x^)");
disp("x^y^+yz=x^y^+yz+x^z");
disp("so L.H.S=xy+x^y^+yz=xy+x^y^+yz+x^z");
disp("In the similar way xy+yz+x^z can be simplified as xy+x^z");
disp("so L.H.S becomes xy+x^z+x^y^");
disp("thus L.H.S= R.H.S");
disp("hence proved")