Hi, you haven't provided the programing language in which you need the code, I'll just explain how to do it using Python, and you can apply a similar method for any programming language.
Answer:
1. def pyramid_volume(base_length, base_width, pyramid_height):
2. volume = base_length*base_width*pyramid_height/3
3. return(volume)
Explanation step by step:
- In the first line of code, we define the function pyramid_volume and it's input parameters
- In the second line, we perform operations with the input values to get the volume of the pyramid with a rectangular base, the formula is V = l*w*h/3
- In the last line of code, we return the volume
In the image below you can see the result of calling the function with input 4.5, 2.1, 3.0.
Answer
For isotropic material plastic yielding depends upon magnitude of the principle stress not on the direction.
Tresca and Von Mises yield criteria are the yield model which is widely used.
The Tresca yield criterion stated that yielding will occur in a material only when the greatest maximum shear stress reaches a critical value.
max{|σ₁ - σ₂|,|σ₂ - σ₃|,|σ₃ - σ₁|} = σ_f
under plane stress condition
|σ₁ - σ₂| = σ_f
The Von mises yielding criteria stated that the yielding will occur when elastic energy of distortion reaches critical value.
σ₁² - σ₁ σ₂ + σ₂² = σ²_f
Answer:
because people have different opinions on nails and screws
Explanation: