blob: f27fc7b756a5fcc43c99e6c5e11e2e14f667630d (
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
pH= 7.10
pH1= 7.21
//CALCULATIONS
r= 10**(pH-pH1)
//RESULTS
mprintf("Ratio of salt to acid = %.2f",r)
|