summaryrefslogtreecommitdiff
path: root/779/CH1/EX1.2
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /779/CH1/EX1.2
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 '779/CH1/EX1.2')
-rwxr-xr-x779/CH1/EX1.2/1_2.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/779/CH1/EX1.2/1_2.sce b/779/CH1/EX1.2/1_2.sce
new file mode 100755
index 000000000..528a58c41
--- /dev/null
+++ b/779/CH1/EX1.2/1_2.sce
@@ -0,0 +1,13 @@
+d_r = 13.6e03; // Density of mercury in kg/m3
+g = 9.81; // Acceleration due to gravity in m/s2
+z = 710e-03; // Stean flow pressure in m
+z0 = 772e-03; // Reading of barometer in m
+P = 1.4e06; // Gauge pressure of applied steam in Pa
+P0 = d_r*g*z0; // Atmospheric pressure in Pa
+Pi = P+P0 ; // Inlet steam pressure in Pa
+Pc = d_r*g*(z0-z); // Condenser pressure in Pa
+disp("Pa",Pi,"Inlet steam pressure is")
+disp("Pa",Pc,"Condenser pressure is")
+
+
+