From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 3843/CH4/EX4.19/Ex4_19.sce | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 3843/CH4/EX4.19/Ex4_19.sce (limited to '3843/CH4/EX4.19/Ex4_19.sce') diff --git a/3843/CH4/EX4.19/Ex4_19.sce b/3843/CH4/EX4.19/Ex4_19.sce new file mode 100644 index 000000000..924f66ce7 --- /dev/null +++ b/3843/CH4/EX4.19/Ex4_19.sce @@ -0,0 +1,21 @@ +// Example 4_19 +clc;funcprot(0); +// Given data +V=300;// ft^3 +T=800;// °C +P=500;// psia +P_4=500;// psia + +// Calculation +// (a) +Q=0;// Btu/lbm +m_i=0;// lbm +// From Table C-3E, +h_1=1412.1;// Btu/lbm +u_f=h_1;// Btu/lbm +// At T=1100,u_f=1406.0;T=1200,u_f=1449.2 +T_f=(((u_f-1406.0)/(1449.2-1406.0))*(1200-1100))+1100;// °F +// (b) +v_f=(((T_f-1100)/(1200-1100))*(1.9518-1.8271))+1.8271;// ft^3/lbm +m_f=V/v_f;// lbm +printf("\n(a)The temperature of steam in the tank,T_f=%4.1f°F \n(b)The mass of steam that flows into the tank,m=%3.1f lbm",T_f,m_f); -- cgit