summaryrefslogtreecommitdiff
path: root/944/CH5/EX5.12
diff options
context:
space:
mode:
Diffstat (limited to '944/CH5/EX5.12')
-rwxr-xr-x944/CH5/EX5.12/example5_12_TACC.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/944/CH5/EX5.12/example5_12_TACC.sce b/944/CH5/EX5.12/example5_12_TACC.sce
new file mode 100755
index 000000000..e5c02c411
--- /dev/null
+++ b/944/CH5/EX5.12/example5_12_TACC.sce
@@ -0,0 +1,19 @@
+//example 5.12
+
+clear;
+clc;
+
+//Given:
+n=1;//no. of moles
+T=273;//temperature [K]
+Hf=6000;//enthalpy of fusion at 273K [J/mol]
+k=1.38*(10^-23);//boltzmann constant[J/K]
+
+//To find the relative number of distinguishable quantum states in 1 mole of water and ice at 273K
+
+p=Hf/(k*T)/2.303;
+w=10^(p);//w is the relative no. of distinguishable quantum states
+printf("The relative no. of distinguishable quantum states in 1 mole of water and ice at 273K is %f",w);
+
+
+