summaryrefslogtreecommitdiff
path: root/1484/CH1/EX1.18/1_18.sce
blob: 62ba168b6c0c52f9533de9ffa94b49dcd24c4eb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
clc 
//initialisation of variables
h= 8 //ft
h1= 10 //ft
//CALCULATIONS
A= h
X= (h1/2)
Ig= h^3/12
I0= Ig+A*X^2
h2= I0/(A*X)
//RESULTS
printf ('depth at which the hinge of the shutter= %.2f ft ',h2)