diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /647/CH9/EX9.3 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '647/CH9/EX9.3')
-rwxr-xr-x | 647/CH9/EX9.3/Example9_3.sce | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/647/CH9/EX9.3/Example9_3.sce b/647/CH9/EX9.3/Example9_3.sce new file mode 100755 index 000000000..9174b03b4 --- /dev/null +++ b/647/CH9/EX9.3/Example9_3.sce @@ -0,0 +1,38 @@ +clear;
+clc;
+
+// Example: 9.3
+// Page: 339
+
+printf("Example: 9.3 - Page: 339\n\n");
+
+// Solution
+
+//*****Data******//
+Vol = 2000;// [cubic cm]
+y1_1 = 0.96;// [mass fraction of ethanol in laboratory alcohol]
+y2_1 = 0.04;// [mass fraction of water in laboratory alcohol]
+y1_2 = 0.56;// [mass fracion of ethanol in vodka]
+y2_2 = 0.44;// [mass fraction of water in vodka]
+Vbar_water1 = 0.816;// [cubic cm/g]
+Vbar_ethanol1 = 1.273;// [cubic cm/g]
+Vbar_water2 = 0.953;// [cubic cm/g]
+Vbar_ethanol2 = 1.243;// [cubic cm/g]
+Density_water = 0.997;// [cubic cm/g]
+//***************//
+
+// Solution (i)
+// From Eqn 9.9
+Va = y1_1*Vbar_ethanol1 + y2_1*Vbar_water1;// [Volume of laboratory alcohol, cubic cm/g]
+mass = Vol/Va;// [g]
+// Let Mw be the mass of water added in laboratory alcohol.
+// Material balance on ethanol:
+Mw = mass*y1_1/y1_2 - mass;// [g]
+Vw = Mw/Density_water;// [Volume of water added, cubic cm]
+printf("Mass of water added is %d g\n",Mw);
+
+// Solution (ii)
+Mv = mass + Mw;// [Mass of vodka, g]
+Vv = y1_2*Vbar_ethanol2 + y2_2*Vbar_water2;// [Volume of ethanol, cubic cm/g]
+V_vodka = Vv*Mv;// [Volume of vodka obtained after conversion, cubic cm]
+printf("The volume of vodka obtained after conversion is %.d cubic cm\n",V_vodka);
\ No newline at end of file |