summaryrefslogtreecommitdiff
path: root/1019/CH8/EX8.32/Example_8_32.sce
blob: f75a04df27126f5e10f0a1df0822489265696c14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//Example 8.32
clear;
clc;

//Given
n1=1;//moles of acetic acid and ethanol initially mixed
n2=0.667;//moles of easter and water produced

//To determine the equillibrium constant
n3=1-0.667;//moles of acid and ethanol remaining
N=2;//total number of moles of reactants taken
Ka=((n2/N)*(n2/N))/((n3/N)*(n3/N));
mprintf('Equillibrium constant for the reaction = %f',Ka);
//end