summaryrefslogtreecommitdiff
path: root/3860/CH2/EX2.25/Ex2_25.sce
diff options
context:
space:
mode:
Diffstat (limited to '3860/CH2/EX2.25/Ex2_25.sce')
-rw-r--r--3860/CH2/EX2.25/Ex2_25.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/3860/CH2/EX2.25/Ex2_25.sce b/3860/CH2/EX2.25/Ex2_25.sce
new file mode 100644
index 000000000..7d0f0bcbe
--- /dev/null
+++ b/3860/CH2/EX2.25/Ex2_25.sce
@@ -0,0 +1,8 @@
+//Example 2.25: Manipulation of algebric functions.
+clc // Clears the console
+disp('f = bc + ac + ab ')
+disp('f = bca + bca'' + ac + ab ')// converting into disjunctive normal form.
+disp('f = bca + bca'' + acb + acb'' + abc + abc'' ')
+disp('f = abc + a''bc + abc + ab''c + abc + abc'' ')// arranging into alphabetical order
+disp('f = a''bc + ab''c + abc'' + abc ') //removing duplicate terms.
+//the reduced expression is displayed.