summaryrefslogtreecommitdiff
path: root/2870/CH16/EX16.10/Ex16_10.sce
diff options
context:
space:
mode:
Diffstat (limited to '2870/CH16/EX16.10/Ex16_10.sce')
-rwxr-xr-x2870/CH16/EX16.10/Ex16_10.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/2870/CH16/EX16.10/Ex16_10.sce b/2870/CH16/EX16.10/Ex16_10.sce
new file mode 100755
index 000000000..c3b68d6e8
--- /dev/null
+++ b/2870/CH16/EX16.10/Ex16_10.sce
@@ -0,0 +1,17 @@
+clc;clear;
+//Example 16.10
+
+//given data
+T=358;
+P=300/100;//in bar
+
+//constants used
+M=2;
+s=0.00901;//solubility in kmol/m^3 bar
+p=0.027;
+
+//calculations
+pH2=s*P;
+disp(pH2,'molar density of H2 in kmol/m^3');
+pH2=p*M;
+disp(pH2,'mass density of H2 in kg/m^3')