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:
a)σ₁ = 265.2 MPa
b)σ₂ = -172.8 MPa
c)
d)Range = 438 MPa
Explanation:
Given that
Mean stress ,σm= 46.2 MPa
Stress amplitude ,σa= 219 MPa
Lets take
Maximum stress level = σ₁
Minimum stress level =σ₂
The mean stress given as


2 x 46.2 = σ₁ + σ₂
σ₁ + σ₂ = 92.4 MPa --------1
The amplitude stress given as


2 x 219 = σ₁ - σ₂
σ₁ - σ₂ = 438 MPa --------2
By adding the above equation
2 σ₁ = 530.4
σ₁ = 265.2 MPa
-σ₂ = 438 -265.2 MPa
σ₂ = -172.8 MPa
Stress ratio



Range = 265.2 MPa - ( -172.8 MPa)
Range = 438 MPa
Answer:
yay yay
Explanation:
im so excited i cant wait