blob: 973393442e9e911303a63f6294f1a9dc683d6dd7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
//To Calculate the Electric Current
//Example 33.4
clear;
clc;
m=0.972;//Mass of Chromium deposited in grams
Z=0.00018;//Electrochemical Equivalent of Chromium
t=3*3600;//Time is in seconds
I=m/(Z*t);//Electric Current required to deposit the Chromium in three hours
printf("Electric Current required to deposit 0.972g of Chromium in three hours = %f A",I);
|