summaryrefslogtreecommitdiff
path: root/172/CH3/EX3.3
diff options
context:
space:
mode:
Diffstat (limited to '172/CH3/EX3.3')
-rwxr-xr-x172/CH3/EX3.3/ex3.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/172/CH3/EX3.3/ex3.sce b/172/CH3/EX3.3/ex3.sce
new file mode 100755
index 000000000..58c035041
--- /dev/null
+++ b/172/CH3/EX3.3/ex3.sce
@@ -0,0 +1,12 @@
+//example 3
+//determining the quality and specific volume
+clear
+clc
+v1=0.5 //given specific volume in m^3/kg
+vf=0.001073 //specific volume when only liquid phase is present in m^3/kg
+vfg=0.60475 //in m^3/kg
+disp('For water at a pressure of 300 kPa,the state at which v1 is 0.5 m^3/kg is seen to be in the liquid-vapor two-phase region,at which T=133.6 C and the quality x is ')
+x=(v1-vf)/vfg //quality
+v2=1 //given specific volume in m^3/kg
+disp('By comparing with the values given in the table,this state is seen to be in the superheated vapor region.temperature will be calculated using the method of interplotation.')
+T=((400-300)*(1.0-0.8753))/(1.0315-0.8753)+300 //temperature of the water \ No newline at end of file