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

clc;
clear;

//Initialisation of Variables
c= 1.92*10**-5 //mole per litre

//CALCULATIONS
pH= -log10(c)

//RESULTS
mprintf("pH of solution = %.2f",pH)