summaryrefslogtreecommitdiff
path: root/944/CH5/EX5.44/example5_44_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.44/example5_44_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.44/example5_44_TACC.sce')
-rwxr-xr-x944/CH5/EX5.44/example5_44_TACC.sce29
1 files changed, 29 insertions, 0 deletions
diff --git a/944/CH5/EX5.44/example5_44_TACC.sce b/944/CH5/EX5.44/example5_44_TACC.sce
new file mode 100755
index 000000000..9b9a7f948
--- /dev/null
+++ b/944/CH5/EX5.44/example5_44_TACC.sce
@@ -0,0 +1,29 @@
+//example 5.44
+
+clear;
+clc;
+
+disp("The values for reaction that goes on within the cadmium cell");
+//Given:
+n=2;//no. of moles
+E=1.01463;//standard cadmium cell potential[volts]
+d=-5*10^-5;//i.e d=dE/dT[V/K]
+F=96500;//[coulomb/mol]
+T=298;//Temperature [K]
+
+//To find the values of dG,dS and dH
+dG=-n*E*F;//Change in Gibb's free energy[J]
+dS=n*F*d;//Change in entropy [J/K]
+dH=dG+T*dS;//change in enthalpy[J]
+printf(" dG=%f J",dG);
+printf("\n dS=%f J/K",dS);
+printf("\n dH=%f J",dH);
+
+
+
+
+
+
+
+
+