From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2175/CH2/EX2.5/2_5.sce | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100755 2175/CH2/EX2.5/2_5.sce (limited to '2175/CH2/EX2.5') 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) -- cgit