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

//given values
m=50;
T=90;

//Values from Table A-4
P=70.183;//in kPa
v=0.001036;//in m^3/kg

//calculation
disp(P,'pressure in the tank in kPa')
V=m*v;//equating dimensions
disp(V,'total volumne of tank becomes in m^3')