blob: 43be88d31c5fca5a4108b5a93ab602b859bc706b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
//Chapter 14 Determination of Hydroniumion Concentrations
clc;
clear;
//Initialisation of Variables
E= 0.232 //v
R= 0.0592
p= 1 //atm
R1= 0.0296
P= 740 //atm
//CALCULATIONS
pH= E/R
pH1= (E-R1*log10(P/760))/R
e= pH1-pH
e= e-0.002
//RESULTS
mprintf("Error in pH of solution= %.3f",e)
|