summaryrefslogtreecommitdiff
path: root/527/CH4/EX4.2
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /527/CH4/EX4.2
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/CH4/EX4.2')
-rwxr-xr-x527/CH4/EX4.2/4_2exam.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/527/CH4/EX4.2/4_2exam.sce b/527/CH4/EX4.2/4_2exam.sce
new file mode 100755
index 000000000..9a0df64ef
--- /dev/null
+++ b/527/CH4/EX4.2/4_2exam.sce
@@ -0,0 +1,15 @@
+//Engineering and Chemical Thermodynamics
+//Example 4.2
+//Page no :176
+
+clear ; clc ;
+//Given //
+C6_Ar_HCl_tab = 76 * 10^-60 ;//From table E4.2
+C6_Ar_Ar_tab = 52 * 10^-60 ;//From table E4.2
+C6_HCl_HCl_tab = 134 * 10^-60 ;//From table E4.2
+
+C6_Ar_HCl_gmean = sqrt(C6_Ar_Ar_tab * C6_HCl_HCl_tab) ; //[erg/cm^6]
+x = (C6_Ar_HCl_gmean - C6_Ar_HCl_tab) / C6_Ar_HCl_tab * 100 ;
+
+disp(" Example: 4.2 Page no : 176") ;
+printf("\n The geometric mean is different from that in table E4.2 by %d %%",x) \ No newline at end of file