summaryrefslogtreecommitdiff
path: root/2417/CH3/EX3.19/Ex3_19.sce
blob: b9271887a598d422707097b223f6082d507fcea0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clear;
clc;
printf("\t\t\tProblem Number 3.19\n\n\n");
// Chapter 3 : The First Law Of Thermodynamics
// Problem 3.19 (page no. 120) 
// Solution

h1=3450*1000 //Unit:J/kg //Enthalpy of steam when it enters a nozzle
h2=2800*1000 //Unit:J/kg //Enthalpy of steam when it leaves a nozzle

//V2^2/2=h1-h2;
V2=sqrt(2*(h1-h2)); //V2=Final velocity //Unit:m/s
printf("Final velocity = %f m/s\n",V2);