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 --- 2495/CH8/EX8.18.15/Ex8_18_15.sce | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 2495/CH8/EX8.18.15/Ex8_18_15.sce (limited to '2495/CH8/EX8.18.15') diff --git a/2495/CH8/EX8.18.15/Ex8_18_15.sce b/2495/CH8/EX8.18.15/Ex8_18_15.sce new file mode 100644 index 000000000..5c34cddb3 --- /dev/null +++ b/2495/CH8/EX8.18.15/Ex8_18_15.sce @@ -0,0 +1,16 @@ +clear +clc +RT_F=0.05913;//in V +pH=5;// +E1=0.280;//in V +E2=0.6996;//in V +E=(E1-E2)+(RT_F*pH);//in V +printf('E=%.4f V',E) +E=0;// +pH=(E-(E1-E2))/RT_F;// +printf('\npH=%.1f',pH) +pH=7.5 +E=(E1-E2)+(RT_F*pH);//in V +printf('\nE=%.4f V',E) + +//page 489 -- cgit