summaryrefslogtreecommitdiff
path: root/389/CH7/EX7.9/Example7_9.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /389/CH7/EX7.9/Example7_9.sce
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 '389/CH7/EX7.9/Example7_9.sce')
-rwxr-xr-x389/CH7/EX7.9/Example7_9.sce24
1 files changed, 24 insertions, 0 deletions
diff --git a/389/CH7/EX7.9/Example7_9.sce b/389/CH7/EX7.9/Example7_9.sce
new file mode 100755
index 000000000..098a6d1bf
--- /dev/null
+++ b/389/CH7/EX7.9/Example7_9.sce
@@ -0,0 +1,24 @@
+clear;
+clc;
+
+// Illustration 7.9
+// Page:240
+
+printf('Illustration 7.9 - Page:240\n\n');
+
+// solution
+
+//****Data****//
+Tempw = 35;// [OC]
+Tempg = 65;// [OC]
+//******//
+
+// From psychrometric chart
+lambda_w = 2419300;// [J/kg]
+Y_prime_w = 0.0365;// [kg H2O/kg dry air]
+// From fig 7.5(a)
+hG_by_kY = 950;// [J/kg]
+// From Eqn. 7.26
+deff('[y] = f13(Y_prime)','y = (Tempg-Tempw)-((lambda_w*(Y_prime_w-Y_prime))/hG_by_kY)');
+Y_prime = fsolve(2,f13);// [kg H2O/kg dry air]
+printf("Humidity of air is %f kg H2O/kg dry air\n",Y_prime); \ No newline at end of file