summaryrefslogtreecommitdiff
path: root/2420/CH9/EX9.1/9_1.sce
blob: 4a29bd1cbf1878e7dac6391c447089def9bbb2ad (plain)
1
2
3
4
5
6
7
8
9
clc
clear
//Initialization of variables
h=200 //ft
gam=64 //lb per cu ft
//calculations
P=h*gam/144
//results
printf("Pressure = %.1f psi",P)