summaryrefslogtreecommitdiff
path: root/1640/CH1/EX1.8/1_8.sce
blob: e47ca278485343a0586a57f58279bfc3bb5f6be6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
clc 
//initialisation of variables
l= 2 //ft
b= 3 //ft
a= 60 //degrees
h= 8 //ft
w= 62.4 //lbs/ft^3
//CALCULATIONS
x= h+(b/l)*cosd(a)
P= w*l*b*x
//RESULTS
printf ('total pressure = %.f lb ',P)