summaryrefslogtreecommitdiff
path: root/944/CH5/EX5.12/example5_12_TACC.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /944/CH5/EX5.12/example5_12_TACC.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 '944/CH5/EX5.12/example5_12_TACC.sce')
-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);
+
+
+