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 --- 647/CH9/EX9.2/Example9_2.sce | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 647/CH9/EX9.2/Example9_2.sce (limited to '647/CH9/EX9.2') diff --git a/647/CH9/EX9.2/Example9_2.sce b/647/CH9/EX9.2/Example9_2.sce new file mode 100755 index 000000000..7ebae0439 --- /dev/null +++ b/647/CH9/EX9.2/Example9_2.sce @@ -0,0 +1,27 @@ +clear; +clc; + +// Example: 9.2 +// Page: 338 + +printf("Example: 9.2 - Page: 338\n\n"); + +// Solution + +//*****Data******// +Vol = 2;// [Volume of the mixture, cubic m/mol] +y1 = 0.4;// [mole fraction of alcohol, cubic m/mol] +V1_bar = 38.3*10^(-6);// [partial molar volume of alcohol, cubic m/mol] +V2_bar = 17.2*10^(-6);// [partial molar volume of water, cubic m/mol] +V1 = 39.21*10^(-6);// [molar volume of alcohol, cubic m/mol] +V2 = 18*10^(-6);// [molar volume of water, cubic m/mol] +//*************// + +// From Eqn. 9.9: +V = y1*V1_bar + (1 - y1)*V2_bar;// [molar volume of the solution] +n = Vol/V;// [number of moles of solution] +n1 = y1*n;// [number of moles of alcohol required] +n2 = (1 - y1)*n;// [number of moles of water required] +V_alcohol = V1*n1;// [Volume of alcohol required, cubic m] +V_water = V2*n2;// [Volume of water required, cubic m] +printf("Volume of alcohol required is %.3f cubic m while volume of water required is %.3f cubic m\n",V_alcohol,V_water); \ No newline at end of file -- cgit