blob: ad0d0ade0f90dee3c4899f9e51e8aca76bd5790e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
//Chapter 9 Ionic Equilibria and Buffer Action
clc;
clear;
//Initialisation of Variables
Ka= 1.8*10**-5
a= 0.1 //molar
//CALCULATIONS
pH= -log10(Ka)
//RESULTS
mprintf("pH of a buffer solution = %.2f",pH)
|