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 --- 2192/CH7/EX7.7/7_7.sce | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 2192/CH7/EX7.7/7_7.sce (limited to '2192/CH7/EX7.7/7_7.sce') diff --git a/2192/CH7/EX7.7/7_7.sce b/2192/CH7/EX7.7/7_7.sce new file mode 100755 index 000000000..46638b15a --- /dev/null +++ b/2192/CH7/EX7.7/7_7.sce @@ -0,0 +1,17 @@ +clc,clear +printf('Example 7.7\n\n') + + +SA_cylinder=%pi*(20/100)*(30/100) //total surface are of cylinder +thickness=1 //thickness of nickel coating +Volume = SA_cylinder *thickness +Density = 8.9//density of Nickel +Mass= Density * Volume + +Z=0.000304 //electrochemical equivalent of nickel +T=2*60*60 //rime in seconds +I = Mass/(Z*T) //current + +volts=10 +Energy=volts*I*T /(1000*3600) //energy consumed in 2 hours +printf('Electrical energy used = %f kWh',Energy) -- cgit