blob: 993e1b35316bf8e1b1e09505f018f1230333caa8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
clc
//initialisation of variables
clear
h= 23070 //cal volt^-1 g equiv^-1
n= 2 //electrons
e= 1.005 //volts
T= 25 //C
e1= 1.015 //volts
//CALCULATIONS
dH= (-n*h*(e-((273.2+T)*(e-e1)/T)))/1000
//RESULTS
printf ('Heat change in the cell reaction = %.2f kcal',dH)
|