diff options
Diffstat (limited to '764/CH4/EX4.9.b/solution4_9.sce')
-rwxr-xr-x | 764/CH4/EX4.9.b/solution4_9.sce | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/764/CH4/EX4.9.b/solution4_9.sce b/764/CH4/EX4.9.b/solution4_9.sce new file mode 100755 index 000000000..625afd38c --- /dev/null +++ b/764/CH4/EX4.9.b/solution4_9.sce @@ -0,0 +1,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)
+
\ No newline at end of file |