summaryrefslogtreecommitdiff
path: root/1436/CH2/EX2.7
diff options
context:
space:
mode:
Diffstat (limited to '1436/CH2/EX2.7')
-rwxr-xr-x1436/CH2/EX2.7/ex2_7.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/1436/CH2/EX2.7/ex2_7.sce b/1436/CH2/EX2.7/ex2_7.sce
new file mode 100755
index 000000000..4b7ecb36c
--- /dev/null
+++ b/1436/CH2/EX2.7/ex2_7.sce
@@ -0,0 +1,12 @@
+// Example 2.7, page no-119
+clear
+clc
+
+printf("1 kg/cm^2 = 10 mWG\n")
+//(a)
+press=10+2
+printf("\n(a)Bourdon Gauge is mounted 20 meters below water line:\nPressure read by the Gauge = %d kg/cm^2",press)
+
+//(b)
+press2=10-3
+printf("\n\n(b)Bourdon Gauge is located 30 meters above the water line:\nPressure read by the Gauge = %d kg/cm^2",press2)