summaryrefslogtreecommitdiff
path: root/2175/CH2/EX2.5
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2175/CH2/EX2.5
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 '2175/CH2/EX2.5')
-rwxr-xr-x2175/CH2/EX2.5/2_5.sce33
1 files changed, 33 insertions, 0 deletions
diff --git a/2175/CH2/EX2.5/2_5.sce b/2175/CH2/EX2.5/2_5.sce
new file mode 100755
index 000000000..ace9ecc7e
--- /dev/null
+++ b/2175/CH2/EX2.5/2_5.sce
@@ -0,0 +1,33 @@
+clc;
+
+//from tables;
+v_a=0.1115;//m^3/kg
+p_b=20;//bar
+v_d=0.4743;//m^3/kg
+
+hf=763;//kJ/kg
+h=2650;//kJ/kg
+h_fg=2015;//kJ/kg
+x=(h-hf)/h_fg;
+vg=0.1944;//m^3/kg
+v_c=x*vg;
+
+clf();
+x=linspace(0.05,0.5,1000);
+y=(0.09957*20)*((x)^(-1));
+plot2d(x,y,style=1);
+
+y=20;
+plot(x,y)
+
+y=10;
+plot(x,y);
+
+y=(0.4743*6)*((x)^(-1));
+plot2d(x,y,style=4);
+
+y=(0.1115*20)*((x)^(-1));
+plot2d(x,y,style=2);
+
+y=6;
+plot2d(x,y,style=4)