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 --- 944/CH5/EX5.43/example5_43_TACC.sce | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 944/CH5/EX5.43/example5_43_TACC.sce (limited to '944/CH5/EX5.43') diff --git a/944/CH5/EX5.43/example5_43_TACC.sce b/944/CH5/EX5.43/example5_43_TACC.sce new file mode 100755 index 000000000..de6ac8496 --- /dev/null +++ b/944/CH5/EX5.43/example5_43_TACC.sce @@ -0,0 +1,27 @@ +//example 5.43 + +clear; +clc; + +//Given: +disp("H2(g,1atm)|HCl(aq)|HCl(aq)|H2(g,1atm)"); +m1=0.02;//concentration[M] +Y1=0.88;//mean ionic activity coefficient +m2=1;//concentration[M] +Y2=0.81;//mean ionic activity coefficient +R=8.314;//universal gas constant[J/K/mol] +T=298;//Temperature[K] +F=96487;//Faraday's constant[coulombs/mol] +t=0.178;//Tranference number of Cl-1 + +//To find the e.m.f of the cell +E=-2*t*R*T*(log(m1*Y1/m2/Y2))/F;//e.m.f of the cell[volts] +printf("The e.m.f of the cell is %f volts",E); + + + + + + + + -- cgit