summaryrefslogtreecommitdiff
path: root/1019/CH7/EX7.27/Example_7_27.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /1019/CH7/EX7.27/Example_7_27.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '1019/CH7/EX7.27/Example_7_27.sce')
-rw-r--r--1019/CH7/EX7.27/Example_7_27.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/1019/CH7/EX7.27/Example_7_27.sce b/1019/CH7/EX7.27/Example_7_27.sce
new file mode 100644
index 000000000..bd6eac733
--- /dev/null
+++ b/1019/CH7/EX7.27/Example_7_27.sce
@@ -0,0 +1,19 @@
+//Example 7.27
+clear;
+clc;
+
+//Given
+R=0.082;//gas constant in atm dm^3 K^-1 mol^-1
+m=0.1;//molality of acid solution in mol kg^-1
+T=298;//temperature in K
+w1=1000;//mass of water in g
+
+//To determine the partial molar volume and the density
+V2=16.62+(1.5*1.77*sqrt(m))+(2*0.12*m);//partial molar volume in cm^3 mol^-1
+V=1003+(16.62*m)+(1.77*m^(3/2))+(0.12*m^2);//total volume in cm^3
+V1=(V-(m*V2))/55.55;//partial molar volume of water in cm^3 mol^-1
+p1=(w1+5.85)/V;//density of te solution in g cm^-3
+mprintf('The partial molar volume of water = %f cm^3 mol^-1',V1);
+mprintf('\n The partial molar volume of sodium chloride = %f cm^3 mol^-1',V2);
+mprintf('\n The density = %f g cm^-3',p1);
+//end \ No newline at end of file