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:
False
Explanation:
The government decides the productions.
Answer:
COP of the heat pump is 3.013
OP of the cycle is 1.124
Explanation:
W = Q₂ - Q₁
Given
a)
Q₂ = Q₁ + W
= 15 + 7.45
= 22.45 kw
COP = Q₂ / W = 22.45 / 7.45 = 3.013
b)
Q₂ = 15 x 1.055 = 15.825 kw
therefore,
Q₁ = Q₂ - W
Q₁ = 15.825 - 7.45 = 8.375
∴ COP = Q₁ / W = 8.375 / 7.45 = 1.124
Answer:
Everything I got what you need