summaryrefslogtreecommitdiff
path: root/2870/CH3/EX3.10/Ex3_10.sce
blob: d2c0745ec346fa9fd0ab3e970640545c959d7409 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
clc;clear;
//Example 3.10

//constants used
R=0.287// in kPa m^3/kg K

//given values
l=4;
b=5;
h=6;
P=100;
T=25+273;//in Kelvin

//calculation
V=l*b*h;
m=P*V/R/T;
disp(m,'the mass of the air in kg')