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.3/ex_1_3.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.3/ex_1_3.sce')
-rwxr-xr-x | 462/CH1/EX1.3/ex_1_3.sce | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/462/CH1/EX1.3/ex_1_3.sce b/462/CH1/EX1.3/ex_1_3.sce new file mode 100755 index 000000000..6bb0265d4 --- /dev/null +++ b/462/CH1/EX1.3/ex_1_3.sce @@ -0,0 +1,8 @@ +//example 1.3//
+clc
+//clears the screen//
+clear
+//clears already existing variables//
+disp('Let the temperature and pressure be converted into electrical signals and T=1 if temperature exceeds the specified limit and P=1 if pressure exceeds the specified limit. If T=1 or P=1 or both T and P are 1 then the alarm is required to be activated, i.e., the signal applied to the alarm Y=1. This operation can be expressed as an or operation.')
+disp('Y=T or P')
+disp('Y=T+P')
\ No newline at end of file |