Answer:
<em>Python code is as follows:
</em>
********************************************************************************
#function to get number up to any number of decimal places
def toFixed(value, digits):
return "%.*f" % (digits, value)
print("Enter the price: ", end='', flush=True) #prompt for the input of price
price = float(input()) #taken input
totalCost = price + 0.05 * price #calculating cost
print("Total Cost after the sales tax of 5% is applied: " + toFixed(totalCost,2)) #print and output totalCost
************************************************************************************
Answer:
1.44 mm
Explanation:
Compute the maximum allowable surface crack length using
where E is the modulus of elasticity,
is surface energy and
is tensile stress
Substituting the given values
The maximum allowable surface crack is 1.44 mm
Answer:
σ = 391.2 MPa
Explanation:
The relation between true stress and true strain is given as:
σ = k εⁿ
where,
σ = true stress = 365 MPa
k = constant
ε = true strain = Change in Length/Original Length
ε = (61.8 - 54.8)/54.8 = 0.128
n = strain hardening exponent = 0.2
Therefore,
365 MPa = K (0.128)^0.2
K = 365 MPa/(0.128)^0.2
k = 550.62 MPa
Now, we have the following data:
σ = true stress = ?
k = constant = 550.62 MPa
ε = true strain = Change in Length/Original Length
ε = (64.7 - 54.8)/54.8 = 0.181
n = strain hardening exponent = 0.2
Therefore,
σ = (550.62 MPa)(0.181)^0.2
<u>σ = 391.2 MPa</u>