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.12/ex12.sce | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 172/CH3/EX3.12/ex12.sce (limited to '172/CH3/EX3.12/ex12.sce') diff --git a/172/CH3/EX3.12/ex12.sce b/172/CH3/EX3.12/ex12.sce new file mode 100755 index 000000000..5c690ee24 --- /dev/null +++ b/172/CH3/EX3.12/ex12.sce @@ -0,0 +1,18 @@ +//example 12 +//determining specific using diffenet laws +clear +clc +T=100 //given temp.in 100 celsius +P=3 //given pressure in MPa +v1=0.0065 //specific volume in m^3/kg using table +printf("\n hence,the specific volume for R-134a using R-134a tables is v1 = %.3f m^3/kg. \n",v1) +M=102.3 //molecular mass in kg +R=8.3145 //in kJ/K +Ru=R/M //in kJ/K-kg +v2=Ru*(T+273)/(P*1000) //specific volume assuming R-134a to be ideal gas in m^3/kg +printf("\n hence,the specific volume for R-134a using R-134a the ideal gas laws is v2 = %.3f m^3/kg. \n",v2) +Tr=373.2/374.2 //reduced temperature using generalized chart +Pr=3/4.06 //reduced pressure using generalized chart +Z=0.67 //compressibility factor +v3=Z*v2 // specific volume using generalized chart in m^3/kg +printf("\n hence,the specific volume for R-134a using the generalized chart is v3 = %.3f m^3/kg. \n",v3) -- cgit