summaryrefslogtreecommitdiff
path: root/1466/CH3/EX3.9/3_9.sce
blob: 19326b318a21071a5441b6fd2029184d93fd1b6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13

clc
//initialisation of variables
g= 32.2 //ft/sec^2
d= 12 //in
h= 0.1 //m
w= 240 //r.p.m
W= 62.4 //lbft/sec^2
//CALCULATIONS
P= (%pi*(d/24)^4*W*(2*%pi*4)^2)/(4*g)
Pt= P+%pi*(d/24)^2*W*(h/12)
//RESULTS
printf (' Total pressure on bottom of cylinder = %.3f Lb ',Pt)