summaryrefslogtreecommitdiff
path: root/3876/CH8/EX8.3/Ex8_3.sce
blob: 150ddf510f1f1445707964c6e9967a3ffac8a5ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//Chapter 8 Chemical Equlibrium

clc;
clear;

//Initialisation of Variables
k= 1.1*10**-5
V= 600 //ml
n= 0.4 //mole

//CALCULATIONS
m= n*1000/V
x= (-k+sqrt(k**2+4*4*0.67*k))/(2*4)
M= 2*x
P= x*100/m

//RESULTS
mprintf("Molar concentration of NO2= %.2e mol per litre",M)
mprintf("\nPer cent dissociation= %.2f percent",P)