diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /462/CH1/EX1.1/ex_1_1.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '462/CH1/EX1.1/ex_1_1.sce')
-rwxr-xr-x | 462/CH1/EX1.1/ex_1_1.sce | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/462/CH1/EX1.1/ex_1_1.sce b/462/CH1/EX1.1/ex_1_1.sce new file mode 100755 index 000000000..9a55a7f22 --- /dev/null +++ b/462/CH1/EX1.1/ex_1_1.sce @@ -0,0 +1,7 @@ +//example 1.1//
+clc
+//clears the screen//
+clear
+//clears the existing variables//
+disp('the locker door (Y) can be opened using one key (A) which is with you and the other key (B) which is with the bank executive. When both the keys are used, the locker door opens, i.e. the locker door can be opened (Y=1) only when both the keys are applied(A=B=1).Thus, this can be expressed as an AND operation')
+disp('Y=A*B')
\ No newline at end of file |