From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1538/CH17/EX17.4/Ex17_4.sce | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 1538/CH17/EX17.4/Ex17_4.sce (limited to '1538/CH17/EX17.4') diff --git a/1538/CH17/EX17.4/Ex17_4.sce b/1538/CH17/EX17.4/Ex17_4.sce new file mode 100755 index 000000000..9072cc4d5 --- /dev/null +++ b/1538/CH17/EX17.4/Ex17_4.sce @@ -0,0 +1,16 @@ +//example-17.4 +//page no-526 +//given +//one mole of magnesium weighs +MMg=0.0243 //Kg +//current density +I=20*10^-3 //A/m^2 +//design life of 15 years +t=15*365*24*3600 //sec +//charge= 2 faradya +Q=2*96490 //C +//charge needed per m^2 of structure's for design life +q=I*t //A s +//the amount of magnesium needed +AMg=MMg*q/Q //kg/m^2 +printf("the amount of magnesiun meeded is %f kg/m?^2",AMg) -- cgit