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 /1808/CH7/EX7.4 | |
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 '1808/CH7/EX7.4')
-rw-r--r-- | 1808/CH7/EX7.4/Chapter7_Exampl4.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/1808/CH7/EX7.4/Chapter7_Exampl4.sce b/1808/CH7/EX7.4/Chapter7_Exampl4.sce new file mode 100644 index 000000000..1f363a0de --- /dev/null +++ b/1808/CH7/EX7.4/Chapter7_Exampl4.sce @@ -0,0 +1,19 @@ +clc
+clear
+//INPUT DATA
+p=760;//pressure in mm of Hg
+t=30;//dry bulb temperature in Degree c
+p2=0.04246*10^5;//pressure in N/m^2
+cp=1.005;//specific pressure
+hfg=2500;//Specific enthalpy in kJ/kgw.v.
+cpv=1.88;//specific pressure
+
+//CALCULATIONS
+ps=(p2/133.5);//pressure in mm of Hg
+ws=(0.62*(ps/(p-ps)));//Specific humidity in kg w.v./kg d.a
+h=(cp*t)+ws*(hfg+(cpv*t));//Enthalpy of air per kg of dry air in kJ/kg d.a
+
+//OUTPUT
+printf('(a)Accorrding to steam tables The vapour pressure is %3.2f mm Hg \n (b)Specific humidity %3.4f kg w.v./kg d.a \n (c)Enthalpy of air per kg of dry air is %3.2f kJ/kg d.a ',ps,ws,h)
+
+
|