summaryrefslogtreecommitdiff
path: root/1709/CH10/EX10.8
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1709/CH10/EX10.8
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 '1709/CH10/EX10.8')
-rwxr-xr-x1709/CH10/EX10.8/10_8.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/1709/CH10/EX10.8/10_8.sce b/1709/CH10/EX10.8/10_8.sce
new file mode 100755
index 000000000..741dac671
--- /dev/null
+++ b/1709/CH10/EX10.8/10_8.sce
@@ -0,0 +1,16 @@
+clc
+//Initialization of variables
+w1=206
+w2=55
+ma1=2
+ma2=3
+//calculations
+w3= (ma1*w1 + ma2*w2)/(ma1+ma2)
+disp("From psychrometric chart,")
+Tdb3=82 //F
+TWb3=74.55 //F
+phi3=70 //percent
+//results
+printf("relative humidity = %d percent",phi3)
+printf("\n Dry bulb temperature = %d F",Tdb3)
+printf("\n Wet bulb temperature = %.2f F",TWb3)