blob: c2640f651cd0a1c1e588f32e61bc466e26593955 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
// exa 4.9 Pg 113
clc;clear;close;
// Given Data
Sut=860;//MPa
Syt=690;//MPa
Pmin=60;// N
Pmax=120;// N
R=50/100;// reliability
l=500;//mm
d=10;//mm
Se_dash = 0.5*Sut;// MPa
// for machines surface
ka=0.70;// surface finish factor
kb=0.85;// size factor (assuming t<50 mm)
kc=1;// reliability factor
kd=1;// temperature factor
ke=1;// load factor
Se=ka*kb*kc*kd*ke*Se_dash;// MPa( Endurance limit)
Mmax=Pmax*l;// N.mm
Mmin=Pmin*l;// N.mm
Mm=(Mmax+Mmin)/2;// N.mm
Ma=(Mmax-Mmin)/2;// N.mm
Sm=32*Mm/%pi/d**3;//MPa
sigma_m=Sm;//MPa
Sa=32*Ma/%pi/d**3;//MPa
sigma_a=Sa;//MPa
Sf=Sa*Sut/(Sut-Sm);//MPa
//calculating section
OB=6;//unit ref. o at 3
BE=OB-3;//unit
OC=Sf;// MPa
AE=log10(0.9*Sut)-log10(Se);//MPa
AC=log10(0.9*Sut)-log10(Sf);//MPa
CD=BE*AC/AE;//
//log10(N)=3+CD
N=10**(3+CD);// cycle
printf('\n life of the spring, N = %.f cycles',N)
//Note : answer in the textbook is wrong.
|