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/CH11/EX11.6/Example11_6.sce | |
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/CH11/EX11.6/Example11_6.sce')
-rwxr-xr-x | 647/CH11/EX11.6/Example11_6.sce | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/647/CH11/EX11.6/Example11_6.sce b/647/CH11/EX11.6/Example11_6.sce new file mode 100755 index 000000000..eba1bac8d --- /dev/null +++ b/647/CH11/EX11.6/Example11_6.sce @@ -0,0 +1,27 @@ +
+clear;
+clc;
+
+// Example: 11.6
+// Page: 465
+
+printf("Example: 11.6 - Page: 465\n\n");
+
+// Solution
+
+//*****Data******//
+Temp = 50 + 273;// [K]
+w2 = 60;// [g]
+w1 = 1500;// [g]
+M1 = 18;// [g/mol]
+M2 = 180;// [g/mol]
+Vl = 18*10^(-6);// [Molar Volume of water, cubic m/mol]
+R = 8.314;// [J/mol K]
+//***************//
+
+// Mole fraction of glucose:
+x2 = (w2/M2)/((w2/M2) + (w1/M1));
+// Applying Eqn. (11.45):
+P = R*Temp*x2/Vl;// [N/square m]
+P = P/1000;// [kPa]
+printf("Osmotic Pressure is %.2f kPa\n",P);
\ No newline at end of file |