To solve this problem we will apply the concepts related to Soderberg's relation, which will allow us to find the safety factor based on yield stress, endurance strength, the mean and average stress. The mean and average stress values can be found through the alternating Stress previously given. We will proceed by defining the known values, that is
Yield stress [tex]\sigma_y = 40ksi[/tex]
Endurance strength [tex]\sigma_e = 20ksi[/tex]
The two values for alternating stress are
[tex]\sigma_1 = 17ksi[/tex]
[tex]\sigma_2 = 3ksi[/tex]
We know that mean stress is
[tex]\sigma_m = \frac{\sigma_1+\sigma_2}{2}[/tex]
[tex]\sigma_m = \frac{17+3}{2} = 10ksi[/tex]
And the average stress is
[tex]\sigma_v = \frac{\sigma_1-\sigma_2}{2}[/tex]
[tex]\sigma_v = \frac{17-3}{2} = 7ksi[/tex]
According to Soderberg relation
[tex]\frac{1}{F.s} = \frac{\sigma_m}{\sigma_y}+\frac{\sigma_v}{\sigma_e}[/tex]
[tex]\frac{1}{F.s} = \frac{10}{40}+\frac{7}{20}[/tex]
[tex]\frac{1}{F.s} = 0.6[/tex]
[tex]F.s = 1.66 \approx 2[/tex]
Therefore the factor of safety is 2