summaryrefslogtreecommitdiff
path: root/1964/CH15/EX15.13
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1964/CH15/EX15.13
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1964/CH15/EX15.13')
-rwxr-xr-x1964/CH15/EX15.13/ex15_13.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/1964/CH15/EX15.13/ex15_13.sce b/1964/CH15/EX15.13/ex15_13.sce
new file mode 100755
index 000000000..d7a2d70d4
--- /dev/null
+++ b/1964/CH15/EX15.13/ex15_13.sce
@@ -0,0 +1,23 @@
+//Chapter-15, Example 15.13, Page 503
+//=============================================================================
+clc
+clear
+//CALCULATIONS
+//for (a)
+disp('given=> Y=(A+AB+AB''C)')
+disp('Y=A+AB''C')//by (A+AB=A)------>step 1
+disp('A(A+B''C)')//by distributive law--------->step 2
+disp('A(1.(1+B''C))')//by talking A as common--------->step 3
+disp('A.1=A')//by 1+B''C=1--------->step 4
+//for (b)
+disp('given=> Y=(A''+B)C+ABC')
+disp('A''C+BC+ABC')//by distributive law-------->step 1
+disp('A''C+BC(1+A)')//by taking BC as common--------->step 2
+disp('A''C+BC')//by rule 2 --------->step 3
+disp('C(A''+B)')//taking C as common term-------->step 4
+//for (c)
+disp('given=> Y=(AB''BCD+AB''CDE+AC'')')
+disp('AB''CDE+AC''')//applying rules 8 and 7 to first and second terms,respectively -------->step 1
+disp('A(B''CDE+C'')')//taking A as common term--------->step 2
+disp('A(B''DE+C'')')//by applying B''CDE+C'=B'DE+C'--------->step 3
+//=================================END OF PROGRAM=======================================================================================================