summaryrefslogtreecommitdiff
path: root/527/CH8/EX8.18/8_18exam.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /527/CH8/EX8.18/8_18exam.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 '527/CH8/EX8.18/8_18exam.sce')
-rwxr-xr-x527/CH8/EX8.18/8_18exam.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/527/CH8/EX8.18/8_18exam.sce b/527/CH8/EX8.18/8_18exam.sce
new file mode 100755
index 000000000..7d7d4d281
--- /dev/null
+++ b/527/CH8/EX8.18/8_18exam.sce
@@ -0,0 +1,20 @@
+//Engineering and Chemical Thermodynamics
+//Example 8.18
+//Page no :418
+
+clear ; clc ;
+//Given
+T_b = 373.15 ; //[K]
+del_h_vap = 2257 ; //[J/g]
+MW_salt = 58.5 ; //[g/mol]
+MW_water = 18 ; //[g/mol]
+w_salt = 3.5 ;
+w_water = 100 - w_salt ;
+R = 8.314 ;
+
+x_salt = (w_salt / MW_salt) / (w_salt / MW_salt + w_water / MW_water) ;
+x_b = 2 * x_salt ;// We assume NaCl completely dissociates into Na+ & Cl- ions
+
+del_T = R * T_b^2 / (del_h_vap * MW_water)* x_b ;
+disp(" Example: 8.18 Page no : 418")
+printf("\n The temperature that sea water boils is = %.2f degreeC",100 + del_T); \ No newline at end of file