diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /617/CH16/EX16.2/Example16_2.sci | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '617/CH16/EX16.2/Example16_2.sci')
-rwxr-xr-x | 617/CH16/EX16.2/Example16_2.sci | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/617/CH16/EX16.2/Example16_2.sci b/617/CH16/EX16.2/Example16_2.sci new file mode 100755 index 000000000..32375dc82 --- /dev/null +++ b/617/CH16/EX16.2/Example16_2.sci @@ -0,0 +1,13 @@ +clc();
+clear;
+
+// To compute the diffusion coeffiient for benzene in air
+
+T=25+273; // Temperature in degK
+p=1; // Pressure in atm
+Va=96; // Molecular volume of benzene in cm^3/gm-mol
+Vb=29.9; // Molecular volume of air in cm^3/gm-mol
+Ma=78; // Molecular weight of benzene in gm/mol
+Mb=29; // Molecular weight of air in gm/mol
+Dab=0.0043*(T^1.5)*sqrt((1/Ma)+(1/Mb))/(p*(Va^(1/3)+Vb^(1/3))^2);
+printf("The diffusion coefficient is %.3f cm^3/sec ",Dab);
\ No newline at end of file |