summaryrefslogtreecommitdiff
path: root/632/CH4/EX4.5/example4_5.sce
blob: 972bcf1b4e4d1be663dc2c02ba3445b2b10e88b6 (plain)
1
2
3
4
5
6
7
8
//clc()
V = 250;//L
T = 300;//K
V1 = 1000;//L
P1 = 100;//kPa
T1 = 310;//K
P = T * P1 * V1 /(T1 * V);
disp("kPa",P,"Original pressure in the cylinder = ")