summaryrefslogtreecommitdiff
path: root/764/CH4/EX4.1.b
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /764/CH4/EX4.1.b
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '764/CH4/EX4.1.b')
-rwxr-xr-x764/CH4/EX4.1.b/result4_1.txt44
-rwxr-xr-x764/CH4/EX4.1.b/solution4_1.sce26
2 files changed, 70 insertions, 0 deletions
diff --git a/764/CH4/EX4.1.b/result4_1.txt b/764/CH4/EX4.1.b/result4_1.txt
new file mode 100755
index 000000000..80fe0019d
--- /dev/null
+++ b/764/CH4/EX4.1.b/result4_1.txt
@@ -0,0 +1,44 @@
+-->//(Design against Static Load) Example 4.1
+
+-->//Refer Fig.4.10 on page 85
+
+-->//Tensile force acting on two plates P (kN)
+
+-->P = 50
+ P =
+
+ 50.
+
+-->//Tensile yield strength of the plates Syt (N/mm2)
+
+-->Syt = 250
+ Syt =
+
+ 250.
+
+-->//Factor of safety fs
+
+-->fs = 2.5
+ fs =
+
+ 2.5
+
+-->//Number of rivets n
+
+-->n = 3
+ n =
+
+ 3.
+
+-->//Length of plate L (mm)
+
+-->L = 200
+ L =
+
+ 200.
+
+
+Diameter of the rivet(d) = 21.000000 mm
+
+Thickness of plates(t) = 4.000000 mm
+ \ No newline at end of file
diff --git a/764/CH4/EX4.1.b/solution4_1.sce b/764/CH4/EX4.1.b/solution4_1.sce
new file mode 100755
index 000000000..89d1b9949
--- /dev/null
+++ b/764/CH4/EX4.1.b/solution4_1.sce
@@ -0,0 +1,26 @@
+
+//Obtain path of solution file
+path = get_absolute_file_path('solution4_1.sce')
+//Obtain path of data file
+datapath = path + filesep() + 'data4_1.sci'
+//Clear all
+clc
+//Execute the data file
+exec(datapath)
+//Yield strength in shear for the plates Ssy (N/mm2)
+Ssy = (50/100) * Syt
+//Permissible shear stress for rivets Tau (N/mm2)
+Tau = Ssy / fs
+//Diameter of rivets d (mm)
+d = sqrt((P * 1000 * 4)/(n * %pi * Tau))
+//Round up d
+d = ceil(d)
+//Permissible tensile stress for plates Sigma (N/mm2)
+Sigma = (Syt/fs)
+//Thickness of plates t (mm)
+t = (P * 1000)/(Sigma * (L - (n * d)))
+//Round up t
+t = ceil(t)
+//Print results
+printf('\nDiameter of the rivet(d) = %f mm\n',d)
+printf('\nThickness of plates(t) = %f mm\n',t)