diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3825/CH5/EX5.12/Ex5_12.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3825/CH5/EX5.12/Ex5_12.sce')
-rw-r--r-- | 3825/CH5/EX5.12/Ex5_12.sce | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/3825/CH5/EX5.12/Ex5_12.sce b/3825/CH5/EX5.12/Ex5_12.sce new file mode 100644 index 000000000..8cdeddbe6 --- /dev/null +++ b/3825/CH5/EX5.12/Ex5_12.sce @@ -0,0 +1,26 @@ +clc
+v1=0.0011145
+V=0.05
+mliquid=V/v1
+mprintf("Mass of liquid=%fkg\n",mliquid)//ans may vary due to roundoff error
+h1=719.12
+P1=0.792*10^3
+u1=h1-(P1*v1)
+mprintf("u1=%fkJ/kg\n",u1)//ans may vary due to roundoff error
+v2=1/mliquid
+mprintf("v2=%fmetre-cube/kg\n",v2)//ans may vary due to roundoff error
+u2=u1
+T=147.73 //temperature in Kelvin
+vf=1.088*10^-3
+hf=622.4
+vg=0.41845
+hg=2742.55
+X2=(v2-vf)/(vg-vf)
+mprintf("X2=%f\n",X2)//ans vary due to roundoff error
+h2=(X2*hg)+(1-X2)*hf
+mprintf("h2=%fkJ/kg\n",h2)//ans vary due to roundoff error
+P2=4.5*10^5
+u2=(h2*10^3)-(P2*v2)
+mprintf("u2=%fkJ/kg\n",u2/1000)//ans may vary due to roundoff error
+
+
|