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: preventive maintenance
Explanation:
Answer:
41.5° C
Explanation:
Given data :
1025 steel
Temperature = 4°C
allowed joint space = 5.4 mm
length of rails = 11.9 m
<u>Determine the highest possible temperature </u>
coefficient of thermal expansion ( ∝ ) = 12.1 * 10^-6 /°C
Applying thermal strain ( Δl / l ) = ∝ * ΔT
( 5.4 * 10^-3 / 11.9 ) = 12.1 * 10^-6 * ( T2 - 4 )
∴ ( T2 - 4 ) = ( 5.4 * 10^-3 / 11.9 ) / 12.1 * 10^-6
hence : T2 = 41.5°C