summaryrefslogtreecommitdiff
path: root/1627/CH3/EX3.6/Ex3_6.sce
blob: 30b0027435cf875e14c45fbe64380a6ed1aa7ce5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
clc
//initialisation of variables
p=0.5//m
w=3//m
t=20//deg
p1=3/2//m
ht=0
y=9802//N/m^3
p=2/3//m
//CALCULATIONS
hb=w*sind(t)//m
h=(ht+hb/2)//m
F=y*h*p*w//N
Xp=p*w//m
//RESULTS
printf('The total force on the plane and distance to the center of pressure is=% f m',Xp)