summaryrefslogtreecommitdiff
path: root/764/CH4/EX4.9.b/solution4_9.sce
blob: 625afd38cdc0d32691d206c084dfbd497be753b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

//Obtain path of solution file
path = get_absolute_file_path('solution4_9.sce')
//Obtain path of data file
datapath = path + filesep() + 'data4_9.sci'
//Clear all
clc
//Execute the data file
exec(datapath)
//Calculate the permissible stress for the plates sigmat (N/mm2)
sigmat = Syt/fs
//Force acting on each plate P (kN)
P = P/2
//Calculate the bending moment at the frame Mb (N-mm)
Mb = (P * 1000) * (d + (w/2))
//Assume the plate thickness to be 1mm t
t = 1
//Calculate the direct tensile stress D (N/mm2)
D = (P * 1000)/(w * t)
//Calculate the value of y (mm)
y = (w/2)
//Calculate the second moment of area I (mm4)
I = (t * (w^3))/12
//Calculate the bending stress B (N/mm2)
B = (Mb * y)/I
//Calculate the plate thickness t (mm)
t = (D + B)/sigmat
//Print results
printf('\nThe thickness of the plate(t) = %f mm\n',t)