Explanation:
Step1
Factor of safety is the number that is taken for the safe design of any component. It is the ratio of failure stress to the maximum allowable stress for the material.
Step2
It is an important parameter for design of any component. This factor of safety is taken according to the environment condition, type of material, strength, type of component etc.
Step3
Different material has different failure stress. So, ductile material fails under shear force. Ductile material’s FOS is based on yield stress as failure stress as after yield point ductile material tends to yield. Brittle material’s FOS is based on ultimate stress as failure stress.
The expression for factor of safety for ductile material is given as follows:

Here,
is yield stress and
is allowable stress.
The expression for factor of safety for brittle material is given as follows:

Here,
is ultimate stress and
is allowable stress.
Answer:
The code will be:
#include <stdio.h>
#include <stdlib.h>
main () {
double weight, shippingCharge, rate, segments;
int distance;
printf("Enter the weight: \n");
scanf("%lf", &weight);
printf("Enter the distance: \n");
scanf("%i", &distance);
if (weight <= 10) {
printf("Rate is $3.00 \n");
rate = 3;
} else {
printf("Rate is $5.00 \n");
rate = 5;
}
if (distance % 500 == 0) {
segments = distance / 500;
} else {
segments = distance / 500 + 1;
}
shippingCharge = rate * segments;
if (distance >1000) {
shippingCharge = shippingCharge + 10;
}
printf("Your shipping charge is $%lf\n", shippingCharge);
system ("pause");
}
C. Both; require a wheel alignment after replacement
The pressure of water is 7.3851 kPa
<u>Explanation:</u>
Given data,
V = 150×

m = 1 Kg
= 2 MPa
= 40°C
The waters specific volume is calculated:
= V/m
Here, the waters specific volume at initial condition is
, the containers volume is V, waters mass is m.
= 150×
/1
= 0.15
/ Kg
The temperature from super heated water tables used in interpolation method between the lower and upper limit for the specific volume corresponds 0.15
/ Kg and 0.13
/ Kg.
= 350+(400-350) 
= 395.17°C
Hence, the initial temperature is 395.17°C.
The volume is constant in the rigid container.
=
= 0.15
/ Kg
In saturated water labels for
= 40°C.
= 0.001008
/ Kg
= 19.515
/ Kg
The final state is two phase region
<
<
.
In saturated water labels for
= 40°C.
=
= 7.3851 kPa
= 7.3851 kPa