summaryrefslogtreecommitdiff
path: root/462/CH1/EX1.3/ex_1_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '462/CH1/EX1.3/ex_1_3.sce')
-rwxr-xr-x462/CH1/EX1.3/ex_1_3.sce8
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