summaryrefslogtreecommitdiff
path: root/1484/CH1/EX1.5/1_5.sce
blob: 7949a494a4ba6cded088a74c0879f353e3e27c66 (plain)
1
2
3
4
5
6
7
8
9
clc
//initialisation of variables
T= 40 //F
w= 62.4 //lbs/ft^3
h= 50 //ft
//CALCULATIONS
p= w*h/(12^2)
//RESULTS
printf (' pressure at a depth of 50 ft = %.2f lbs per in',p)