summaryrefslogtreecommitdiff
path: root/2192/CH7/EX7.10/7_10.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2192/CH7/EX7.10/7_10.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 '2192/CH7/EX7.10/7_10.sce')
-rwxr-xr-x2192/CH7/EX7.10/7_10.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/2192/CH7/EX7.10/7_10.sce b/2192/CH7/EX7.10/7_10.sce
new file mode 100755
index 000000000..89f3c178a
--- /dev/null
+++ b/2192/CH7/EX7.10/7_10.sce
@@ -0,0 +1,13 @@
+clc,clear
+printf('Example 7.10\n\n')
+
+CE_Cu=32.8; CE_H=1//chemical equivalents
+ECE_H =0.01044*10^-3 //electrochemical equivalents
+ECE_Cu = ECE_H * (CE_Cu/CE_H)
+
+//copper
+T=1*60*60 //time in seconds
+I=40
+m=ECE_Cu *I*T
+
+printf('Weight of deposited copper = %.2f grams',m)