summaryrefslogtreecommitdiff
path: root/3876/CH14/EX14.3/Ex14_3.sce
blob: 37eeefda72e80e5b3f7c927fd2389c19ab92b78d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//Chapter 14 Determination of Hydroniumion Concentrations

clc;
clear;

//Initialisation of Variables
e= 0.323 //v
R= 0.0592
c= 0.001 //molar

//CALCULATIONS
pH= (e-R*log10(c))/R

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