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:

Explanation:
We are given:
m = 1.06Kg

T = 22kj
Therefore we need to find coefficient performance or the cycle


= 5
For the amount of heat absorbed:

= 5 × 22 = 110KJ
For the amount of heat rejected:

= 110 + 22 = 132KJ
[tex[ q_H = \frac{Q_L}{m} [/tex];
= 
= 124.5KJ
Using refrigerant table at hfg = 124.5KJ/Kg we have 69.5°c
Convert 69.5°c to K we have 342.5K
To find the minimum temperature:
;

= 285.4K
Convert to °C we have 12.4°C
From the refrigerant R -134a table at
= 12.4°c we have 442KPa
Answer:
275 Kelvin
Explanation:
Coefficient of Performance=11



Answer:
a. Rotational speed of the drill = 375.96 rev/min
b. Feed rate = 75 mm/min
c. Approach allowance = 3.815 mm
d. Cutting time = 0.67 minutes
e. Metal removal rate after the drill bit reaches full diameter. = 9525 mm³/min
Explanation:
Here we have
a. N = v/(πD) = 15/(0.0127·π) = 375.96 rev/min
b. Feed rate = fr = Nf = 375.96 × 0.2 = 75 mm/min
c. Approach allowance = tan 118/2 = (12.7/2)/tan 118/2 = 3.815 mm
d. Approach allowance T∞ =L/fr = 50/75 = 0.67 minutes
e. R = 0.25πD²fr = 9525 mm³/min.
Answer:
True
Explanation:
To summarise, waves carry energy. The amount of energy they carry is related to their frequency and their amplitude. The higher the frequency, the more energy, and the higher the amplitude, the more energy.