summaryrefslogtreecommitdiff
path: root/3647/CH11/EX11.2/ex11_2.sce
blob: d20e4f156f7fd85e1f16742542c509f74905a460 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//Solutions to Problems In applied mechanics
//A N Gobby
clear all;
clc
//initialisation of variables
a=60//degre
w=2.5//ft
x=3//ft
p=6*3//ft^2
h=62.4//ft
p1=3*6^3/12//ft^4
//CALCULATIONS
D=w+x*sind(a)//ft
T=h*p*D//lbf
P=p1*sind(a)^2/(p*D)+D//ft
//RESULTS
printf('the depth of centre of pressure=% f ft',P)