summaryrefslogtreecommitdiff
path: root/1484/CH1/EX1.16/1_16.sce
blob: ebca0c67a5ea64fce14985990f0cb8960a193adb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
clc 
//initialisation of variables
d= 4 //ft
h= 6 //in
//CALCULATIONS
A= %pi*d^2/4
X= (h-d)
I0= (%pi*d^4/64)+4*%pi*(X)^2
h1= I0/(A*X)
h2= d-h1
//RESULTS
printf ('Depth of the axis be placed in order= %.1f ft ',h2)