diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3685/CH1/EX1.2 | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3685/CH1/EX1.2')
-rw-r--r-- | 3685/CH1/EX1.2/Ex1_2.sce | 17 | ||||
-rw-r--r-- | 3685/CH1/EX1.2/Ex1_2.txt | 4 |
2 files changed, 21 insertions, 0 deletions
diff --git a/3685/CH1/EX1.2/Ex1_2.sce b/3685/CH1/EX1.2/Ex1_2.sce new file mode 100644 index 000000000..93bce5902 --- /dev/null +++ b/3685/CH1/EX1.2/Ex1_2.sce @@ -0,0 +1,17 @@ +clc
+d_r = 13.6e03 // Density of mercury in kg/m^3
+g = 9.81 // Acceleration due to gravity in m/s^2
+z = 710e-03 // Steam 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
+
+printf("\n Example 1.2\n")
+printf("\n Inlet steam pressure is %f MPa",Pi/1e6)
+printf("\n Condenser pressure is %f kPa",Pc/1e3)
+//The answers vary due to round off error
+
+
+
diff --git a/3685/CH1/EX1.2/Ex1_2.txt b/3685/CH1/EX1.2/Ex1_2.txt new file mode 100644 index 000000000..b50463e92 --- /dev/null +++ b/3685/CH1/EX1.2/Ex1_2.txt @@ -0,0 +1,4 @@ +Example 1.2
+
+ Inlet steam pressure is 1.502997 MPa
+ Condenser pressure is 8.271792 kPa
\ No newline at end of file |