summaryrefslogtreecommitdiff
path: root/1280/CH8/EX8.6/8_6.sce
blob: 0fce87892063a4c7496259ec1a231264ec7a22ad (plain)
1
2
3
4
5
6
7
8
9
10
clc
//initialisation of variables
d= 3 //in
d1= 1.5 //in
F= 7500 //lb
//CALCULATIONS
A1= (%pi/4)*(d^2-d1^2)
P= F/A1
//RESULTS
printf ('pressure in the cylinder = %.f psi',P-1)