From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1439/CH15/EX15.11/15_11.sce | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 1439/CH15/EX15.11/15_11.sce (limited to '1439/CH15/EX15.11/15_11.sce') diff --git a/1439/CH15/EX15.11/15_11.sce b/1439/CH15/EX15.11/15_11.sce new file mode 100755 index 000000000..407cec642 --- /dev/null +++ b/1439/CH15/EX15.11/15_11.sce @@ -0,0 +1,17 @@ +clc +//initialisation of variables +pKa= 6.84 +n= 0.04 //mole +n1= 0.02 //mole +n2= 0.001 //mole +pH3= 7 +//CALCULATIONS +pH= pKa+log10(n/n1) +pH1= pKa+log10((n-n2)/(n1+n2)) +dpH= pH-pH1 +pH2= -log10(n2) +dpH1= pH3-pH2 +//RESULTS +printf ('pH = %.2f ',pH1) +printf ('\n dpH = %.2f ',dpH) +printf ('\n dpH = %.2f ',dpH1) -- cgit