summaryrefslogtreecommitdiff
path: root/2495/CH2/EX2.9.3/Ex2_9_3.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2495/CH2/EX2.9.3/Ex2_9_3.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2495/CH2/EX2.9.3/Ex2_9_3.sce')
-rw-r--r--2495/CH2/EX2.9.3/Ex2_9_3.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/2495/CH2/EX2.9.3/Ex2_9_3.sce b/2495/CH2/EX2.9.3/Ex2_9_3.sce
new file mode 100644
index 000000000..84f2be469
--- /dev/null
+++ b/2495/CH2/EX2.9.3/Ex2_9_3.sce
@@ -0,0 +1,17 @@
+clear
+clc
+w1=1;//amount of glucose C6H12O6 in gm
+w2=1;//amount of sucrose C12H12022 in gm
+n=(w1/180)+(w2/342);//amount of solute
+R=8.314;//in J/Kmol
+T=25;//in C
+V=1000;//volume of water in gm
+P=(n*R*(T+273))/(V*10^-6);//osmotic pressure of solution
+printf('P=%.3f *10^4 N/m^2',P/10^4)
+w=(w1+w2);//weight of solute
+M=(w*R*(T+273))/(P*(V*10^-3));//molar mass of solute
+printf('\nM=%.4f kg/mol',M)
+Mn=((w1*10^-3)+(w2*10^-3))/(n);//average molar mass in Kg/mol
+printf('\nMn=%.4f kg/mol',Mn)
+
+//page 67