summaryrefslogtreecommitdiff
path: root/3772/CH17/EX17.7/Ex17_7.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3772/CH17/EX17.7/Ex17_7.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3772/CH17/EX17.7/Ex17_7.sce')
-rw-r--r--3772/CH17/EX17.7/Ex17_7.sce35
1 files changed, 35 insertions, 0 deletions
diff --git a/3772/CH17/EX17.7/Ex17_7.sce b/3772/CH17/EX17.7/Ex17_7.sce
new file mode 100644
index 000000000..2753eb512
--- /dev/null
+++ b/3772/CH17/EX17.7/Ex17_7.sce
@@ -0,0 +1,35 @@
+//Ex no.17.7,Page no.383
+clc;clear;close;
+
+//Initilization of Variables
+
+P=12 //KN //Load
+sigma_s=75 //N/mm**2 //shear stress
+e=12 //cm
+r_1=2.5 //cm
+
+//Calculations
+
+//A=(2*S*l)*(2)**0.5
+//sigma_s=P*A**-1 //MPa //shear stress
+
+//After substituting values and simplifying we get
+//sigma_s=16.97*S**-1 //MPa
+
+//I_g=S*l*(3*b**2+l**2)*(6)**-1 //cm**4 //Polar moment of Inertia of weld
+
+//After substituting values and simplifying we get
+//I_g=180.833*S //cm**4
+r_2=((8*2**-1)**2)+((5*2**-1)**2)**0.5 //cm //max radius of weld
+
+//sigma_s_2=P*e*r_2*I_g**-1 //MPa //shear stress due to bending moment
+
+cos_theta=r_1*r_2**-1
+
+//Now using the relation
+//sigma_s=(sigma_s_1**2+sigma_s_2**2+2sigma_s_1*sigma_s_2*cos_theta
+
+S=(2363.8958*5625**-1)**0.5 //cm //size of the weld
+
+//Result
+printf("size of the weld = %.3f cm",S)