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 --- 2339/CH4/EX4.8.1/Ex4_8.sce | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 2339/CH4/EX4.8.1/Ex4_8.sce (limited to '2339/CH4/EX4.8.1/Ex4_8.sce') diff --git a/2339/CH4/EX4.8.1/Ex4_8.sce b/2339/CH4/EX4.8.1/Ex4_8.sce new file mode 100755 index 000000000..9bdb825ae --- /dev/null +++ b/2339/CH4/EX4.8.1/Ex4_8.sce @@ -0,0 +1,20 @@ +clc +clear + +//Conditions at 8 bar +P=8; //in bars +x=0.8; //Dryness Fraction +Hf=721.1; //in kJ/kg +Hfg=2048.0; //in kJ/kg +H1=Hf+(x*Hfg); +H2=H1+410; //After adding 410 kJ of heat +Hg=2769.1; //in kJ/kg +printf('The Enthalpy of steam: %3.1f kJ/kg',H2); +printf('\n'); +printf('The steam is superheated') +printf('\n'); +V2=0.240; //in m^3/kg +Vg=V2; +Den=1/Vg; +printf('The Density of steam: %3.3f kg/m^3',Den); +printf('\n'); -- cgit