summaryrefslogtreecommitdiff
path: root/1627/CH3/EX3.2/Ex3_2.sce
blob: 1c73f04c73fd581233a145467e1bcbec71ece2b0 (plain)
1
2
3
4
5
6
7
8
9
clc
//initialisation of variables
F=35.5*10^4//N
p=100*10^5//bars
q=%pi//ft
//CALCULATIONS
D=sqrt((4*F)/(q*p))*1000//mm
//RESULTS
printf('The cylinder size is =% f mm',D)