diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3689/CH15/EX15.8/15_8.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3689/CH15/EX15.8/15_8.sce')
-rw-r--r-- | 3689/CH15/EX15.8/15_8.sce | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/3689/CH15/EX15.8/15_8.sce b/3689/CH15/EX15.8/15_8.sce new file mode 100644 index 000000000..2b0a55eb8 --- /dev/null +++ b/3689/CH15/EX15.8/15_8.sce @@ -0,0 +1,21 @@ +////
+//Variable Declaration
+M = 0.040 //Moleculat wt of Ar, kg/mol
+h = 6.626e-34 //Planks's Constant, J.s
+NA = 6.022e23 //Avagadro's Number, 1/mol
+k = 1.38e-23 //Boltzmann constant, J/K
+T = 298.15 //Std. state temeprature,K
+P = 1e5 //Std. state pressure, Pa
+R = 8.314 //Ideal gas constant, J/(mol.K)
+n = 1.0 //Number of mole, mol
+
+//Calcualtions
+m = M/NA
+Labda3 = (h**2/(2*%pi*m*k*T))**(3./2)
+G0 = -n*R*T*log(k*T/(P*Labda3))
+
+//Results
+printf("\n Thermal wave lengths for Ne is %4.2e m3",Labda3)
+
+printf("\n The Gibbs energy for 1 mol of Ar is %6.2f kJ",G0/1000)
+
|