summaryrefslogtreecommitdiff
path: root/3876/CH9/EX9.1/Ex9_1.sce
blob: e2fb10cb8c2f3c7562d72477dac0fb026b0759cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//Chapter 9 Ionic Equilibria and Buffer Action

clc;
clear;

//Initialisation of Variables
c= 0.1 //M
p= 1.34 //per cent
T= 25 //C

//CALCULATIONS
C1= c*p/100
C2= c*p/100
C3= c-C1
Ka= C1*C2/C3

//RESULTS
mprintf("Ionization constant = %.2e",Ka)