blob: dab85e4e27606f2d0761d624d62638502c3b168d (
plain)
1
2
3
4
5
6
7
8
9
10
|
clc
//initialisation of variables
P1= 2000 //in^3
T= 80 //F
T1= 250 //F
//CALCULATIONS
P2= (P1+14.7)*(460+T1)/(T+460)
P3= P2-14.7
//RESULTS
printf ('guage pressure = %.f psi',P3)
|