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

Rho=62.4 //Unit:lbm/ft^3 //the density of the fluid
V=100 //Unit:ft/s //Velocity of fluid
d=1 //Unit:in //Diameter
//1 ft^2=144 in^2 //A=(%pi/4)*d^2
A=(%pi*d^2)/(4*144) //Unit:ft^2 //area 
m=Rho*A*V; //Unit:lbm/s //mass rate of flow per unit time
printf("Mass flow rate is %f lbm/s\n",m);