diff options
Diffstat (limited to '1367/CH20/EX20.5/20_5.sce')
-rwxr-xr-x | 1367/CH20/EX20.5/20_5.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/1367/CH20/EX20.5/20_5.sce b/1367/CH20/EX20.5/20_5.sce new file mode 100755 index 000000000..87237e290 --- /dev/null +++ b/1367/CH20/EX20.5/20_5.sce @@ -0,0 +1,12 @@ +//Find quantity of magnesium needed
+//Ex:20.5
+clc;
+clear;
+close;
+m=0.0243;//one mole of magnesium in kg
+c=2*96490;//in C
+j=20*10^-3;//in A/m^2
+t=15*365*24*3600;//in sec
+x=j*t;//in A s
+w_mg=m*x/c;//in kg/sqm
+disp(w_mg,"Amount of Magnesium needed (in Kg/m^2) = ");
\ No newline at end of file |