summaryrefslogtreecommitdiff
path: root/764/CH4/EX4.13.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.13.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.13.b')
-rwxr-xr-x764/CH4/EX4.13.b/result4_13.txt41
-rwxr-xr-x764/CH4/EX4.13.b/solution4_13.sce36
2 files changed, 77 insertions, 0 deletions
diff --git a/764/CH4/EX4.13.b/result4_13.txt b/764/CH4/EX4.13.b/result4_13.txt
new file mode 100755
index 000000000..3948fa064
--- /dev/null
+++ b/764/CH4/EX4.13.b/result4_13.txt
@@ -0,0 +1,41 @@
+-->//(Design against Satic Load) Example 4.13
+
+-->//Refer Fig.4.40
+
+-->//Force acting on the overhang crank P (kN)
+
+-->P = 1
+ P =
+
+ 1.
+
+-->//Tensile yield strength of 45C8 material Syt (N/mm2)
+
+-->Syt = 380
+ Syt =
+
+ 380.
+
+-->//Factor of safety fs
+
+-->fs = 2
+ fs =
+
+ 2.
+
+-->//Horizontal distance between the point load and A h (mm)
+
+-->h = 500
+ h =
+
+ 500.
+
+-->//Vertical distance between the point load and A v (mm)
+
+-->v = 250
+ v =
+
+ 250.
+
+The value of diameter(d) = 31.061601 mm
+ \ No newline at end of file
diff --git a/764/CH4/EX4.13.b/solution4_13.sce b/764/CH4/EX4.13.b/solution4_13.sce
new file mode 100755
index 000000000..72a4a0fe2
--- /dev/null
+++ b/764/CH4/EX4.13.b/solution4_13.sce
@@ -0,0 +1,36 @@
+
+//Obtain path of solution file
+path = get_absolute_file_path('solution4_13.sce')
+//Obtain path of data file
+datapath = path + filesep() + 'data4_13.sci'
+//Clear all
+clc
+//Execute the data file
+exec(datapath)
+//Calculate the yield strength in shear Ssy (N/mm2)
+Ssy = (50/100)*Syt
+//Calculate the permissible shear stress tau (N/mm2)
+tau = Ssy/fs
+//Calculate the bending moment Mb (N-mm)
+Mb = (P * 1000)*v
+//Calculate the torsional moment Mt (N-mm)
+Mt = (P * 1000)*h
+//Assume value of diameter to be 1mm d
+d = 1
+//Calculate the value of y (mm)
+y = d/2
+//Calculate the second moment of area I (mm4)
+I = (%pi/64)*(d^4)
+//Calculate the polar moment of area J (mm4)
+J = (%pi/32)*(d^4)
+//Calculate the bending shear stress B (N/mm2)
+B = (Mb * y)/I
+//Calculate the torsional shear stress T (N/mm2)
+T = (Mt * (d/2))/J
+//Refer Fig.4.40(c) for Mohr's Circle
+taumax = sqrt(((B/2)^2) + (T^2))
+//Calculate the true value of diameter d (mm)
+d = ((taumax/tau)^(1/3))
+//Print results
+printf('The value of diameter(d) = %f mm\n',d)
+