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 --- 172/CH3/EX3.6/ex6.sce | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 172/CH3/EX3.6/ex6.sce (limited to '172/CH3/EX3.6') diff --git a/172/CH3/EX3.6/ex6.sce b/172/CH3/EX3.6/ex6.sce new file mode 100755 index 000000000..b58260b51 --- /dev/null +++ b/172/CH3/EX3.6/ex6.sce @@ -0,0 +1,16 @@ +//example 6 +//Determinig the missing property +clear +clc +T1=273-53.2 //given temperature in K +P1=600 //given pressure in kPa +disp('This temperature is higher than the critical temperature (critical temp. at P=600 kPa) is 96.37 K.Hence,v=0.10788 m^3/kg') +T2=100 //given temp. in K +v2=0.008 //given specific volume in m^3/kg +vf=0.001452 //in m^3/kg +vg=0.0312 //in m^3/kg +Psat=779.2 //saturation pressure in kPa +vfg=vg-vf //in m^3/kg +x=(v2-vf)/vfg //quality +printf("\n hence, the pressure is Psat = %.1f kPa. \n",Psat) +printf("\n and quality is x = %.4f . \n",x) \ No newline at end of file -- cgit