diff options
Diffstat (limited to '3827/CH4/EX4.2/EX4_2.sce')
-rw-r--r-- | 3827/CH4/EX4.2/EX4_2.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/3827/CH4/EX4.2/EX4_2.sce b/3827/CH4/EX4.2/EX4_2.sce new file mode 100644 index 000000000..e69b9440a --- /dev/null +++ b/3827/CH4/EX4.2/EX4_2.sce @@ -0,0 +1,14 @@ +//EX4_2:Show that a′c + b′c′ + ab = a′b′ + bc + ac′.
+
+//clears the screen
+clc
+
+//clears already existing variables
+clear
+
+disp('LHS = a′c(b + b′) + b′c′(a + a′) + ab(c + c′)');
+disp('= a′bc + a′b′c + ab′c′ + a′b′c′ + abc + abc′');
+disp('= m3 + m1 + m4 + m0 + m7 + m6');
+disp('RHS = a′b′(c + c′) + bc(a + a′) + ac′(b + b′)');
+disp('= a′b′c + a′b′c + abc + a′bc + abc′ + ab′c′');
+disp('= m1 + m0 + m7 + m3 + m6 + m4');
|