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 --- 2465/CH17/EX17.4/Ex17_4.sce | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 2465/CH17/EX17.4/Ex17_4.sce (limited to '2465/CH17/EX17.4') diff --git a/2465/CH17/EX17.4/Ex17_4.sce b/2465/CH17/EX17.4/Ex17_4.sce new file mode 100644 index 000000000..a0af0e9db --- /dev/null +++ b/2465/CH17/EX17.4/Ex17_4.sce @@ -0,0 +1,41 @@ +//Chapter-17,Example 4,Page 370 +clc(); +close(); + +m1 = 146 //mass of Mg(HCO3)2 + +m2 = 162 //mass of Ca(HCO3)2 + +m3 = 111 //mass of CaCl2 + +m4 = 120 //mass of MgSO4 + +m5 = 136 //mass of CaSO4 + +amnt_1 = 12.5 //amount of Mg(HCO3)2 in ppm + +amnt_2 = 10.5 //amount of Ca(HCO3)2 in ppm + +amnt_3 = 8.2 //amount of CaCl2 in ppm + +amnt_4 = 2.6 //amount of MgSO4 in ppm + +amnt_5 = 7.5 //amount of CaSO4 in ppm + +temp_hard= (amnt_1*100/m1)+(amnt_2*100/m2) + +perm_hard= (amnt_3*100/m3)+(amnt_4*100/m4)+(amnt_5*100/m5) + +total= temp_hard +perm_hard + +printf("the temporary hardness is = %.3f mg/l",temp_hard) + +printf("\n the permanent hardness is = %.3f mg/l",perm_hard) + +printf("\n the total hardness is = %.3f mg/l",total) + +v= 100 //volume of sample + +v_EDTA = total*v/1000 //volume of EDTA + +printf("\n the volume of M/100 EDTA required is = %.3f ml",v_EDTA) -- cgit