summaryrefslogtreecommitdiff
path: root/3819/CH1/EX1.22/Ex1_22.sce
blob: b40bf6fb96e3f3243dbdebacb3fa3ce04ab32815 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// A Textbook of Fluid Mecahnics and Hydraulic Machines - By R K Bansal
// Chapter 1-Properties of Fluid
// Problem 1.22

//Given Data Set in the Problem(SI Units)

m=5
t=10
T=273+10
V=0.4
M=28
R=8314              //Universal Gas constant in N-m/(kg-mole K)

//Calculations
p=((m/M)*R*T)/V
mprintf("The pressure exerted by the 5kg Nitrogen gas is %f N/mm^2 \n",p*10^-6);