summaryrefslogtreecommitdiff
path: root/2024/CH7/EX7.4/7_4.sce
blob: eb47ef54901b4a28549e67d09ff7cf789f9ef0d7 (plain)
1
2
3
4
5
6
7
8
9
10
clc
//Initialization of variables
p=20 //psi
t=100+460 //R
R0=10.73
M=28
//calculations
rho=p/(R0/M *t)
//results
printf("density of nitrogen = %.4f lbm/ft^3",rho)