diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3750/CH2/EX2.4/Ex2_4.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3750/CH2/EX2.4/Ex2_4.sce')
-rw-r--r-- | 3750/CH2/EX2.4/Ex2_4.sce | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/3750/CH2/EX2.4/Ex2_4.sce b/3750/CH2/EX2.4/Ex2_4.sce new file mode 100644 index 000000000..8cac7b149 --- /dev/null +++ b/3750/CH2/EX2.4/Ex2_4.sce @@ -0,0 +1,35 @@ +//Strength Of Material By G.H.Ryder
+//Chapter 2
+//Example 4
+//To Calculate load among rivets
+clc();
+
+//Initialization of Variables
+P=10; //load carried by column, Unit in KN
+h=8; //distance of load from centre line of column, Unit in cm
+n=9; //Number of rivets
+s=3; //Space between two rivets, Unit in cm
+
+//Calculations
+SumR2=4*(s^2*2+s^2); //summation of r^2, Unit in cm^2
+//I is instantaneous centre of rotation and E is centroid fo rivets
+IE=SumR2/(n*h); //Distance between I and E, Unit in cm
+Loadfact=P*h/SumR2; //Load factor=p*h/summation(r^2), Unit in KN/cm
+
+//Load in rivets=Loadfact*Distance Of Rivet from I
+LoadC=Loadfact*(s^2+(s+IE)^2)^(1/2); // Load in Rivet C, Unit in KN
+LoadB=Loadfact*(s^2+IE^2)^(1/2) //Load in Rivet B , Unit in KN, The answer vary due to round off error
+LoadA=Loadfact*(s^2+IE^2)^(1/2); //Load in Rivet A, Unit in KN, The answer vary due to round off error
+LoadD=Loadfact*IE; //load in rivet D, Unit in KN, The answer vary due to round off error
+LoadE=Loadfact*IE; //load in rivet E, Unit in KN, The answer vary due to round off error
+LoadF=Loadfact*(s+IE); //load in rivet F, Unit in KN, The answer vary due to round off error
+
+//Results
+printf("The Load in rivets are :\n\t")
+printf("Load in Rivet A=%.2fKN\n\t",LoadA)
+printf("Load in Rivet B=%.2fKN\n\t",LoadB)
+printf("Load in Rivet C=%.2fKN\n\t",LoadC) //The answer vary due to round off error
+printf("Load in Rivet D=%.2fKN\n\t",LoadD)
+printf("Load in Rivet E=%.2fKN\n\t",LoadE)
+printf("Load in Rivet F=%.2fKN\n\t",LoadF)
+
|