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 /3856/CH10/EX10.3/Ex10_3.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 '3856/CH10/EX10.3/Ex10_3.sce')
-rw-r--r-- | 3856/CH10/EX10.3/Ex10_3.sce | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/3856/CH10/EX10.3/Ex10_3.sce b/3856/CH10/EX10.3/Ex10_3.sce new file mode 100644 index 000000000..82a15a3df --- /dev/null +++ b/3856/CH10/EX10.3/Ex10_3.sce @@ -0,0 +1,23 @@ +//Predict whether the following reaction would proceed spontaneously as written ( Cd(s)+Fe++(aq)=Cd++(aq)+Fe(s)
+
+//Example 10.3
+
+clc;
+
+clear;
+
+C1=0.15; //Concentration of Cadmium ion in M
+
+C2=0.68; //Concentration of Ferrus ion in M
+
+E1=-0.447; //Standard Electrode potential for cathode in V
+
+E2=-0.403; //Standard Electrode potential for anode in V
+
+Edes=E1-E2; //Standard Electrode potential in V
+
+v=2; //Stoichiometric coefficient
+
+E=Edes-(0.0257/v)*log(C1/C2); //Standard Electrode potential from Nerst equation in V
+
+printf("Standard Electrode potential from = %.3f V is negative the reaction is not spontaneous as written",E);
|