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/CH19/EX19.1 | |
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/CH19/EX19.1')
-rw-r--r-- | 3750/CH19/EX19.1/Ex19_1.sce | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/3750/CH19/EX19.1/Ex19_1.sce b/3750/CH19/EX19.1/Ex19_1.sce new file mode 100644 index 000000000..d8602cd89 --- /dev/null +++ b/3750/CH19/EX19.1/Ex19_1.sce @@ -0,0 +1,34 @@ +//Strength Of Material By G.H.Ryder
+//Chapter 19
+//Example 1
+//To Find Maximum stress at the Fatigue limit for repeated stress conditions, according to Gerber's law and Goodman's Law
+
+clc();
+
+//Initialization of Variables
+SigmaU=600; //Ultimate tension strength, Unit in N/mm^2
+El=180;//Endurance limit under reversed stress, Unit in N/mm^2
+
+//Computations
+// Under Reversed Stress
+M=0; //B.M for reversed stress=0, Unit in K
+Sigma=El; //Unit in Unit in N/mm^2
+R=2*Sigma; //Stress Range, N/mm^2
+n=SigmaU/R; //By Gerber's Formula
+//Under Repeated stress
+ //R=Sigma
+ //M=Sigma/2
+ //Sigma=(SigmaU/n)*(1-M^2/SigmaU^2)
+//From Gerber's Law
+//Solving for quadatic in Sigma
+a=1, b=4*SigmaU*n,c=-4*SigmaU^2;
+Sigma=(-b+sqrt(b^2-4*c*a))/(2*a); //The answer vary due to round off error
+
+//Result1
+printf("The maximum stress at fatigue limit for repeated stress condition is :\n\t")
+printf("%.0f N/mm^2 According to Gerbers Law\n\t",Sigma) //The answer vary due to round off error
+//According to Goodman's Law
+Sigma=(SigmaU/n)/(1+1/(2*n)); //The answer vary due to round off error
+
+//Result2
+printf("%.0f N/mm^2 According to Goodmans Law",Sigma)
|