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:
I hope it helps :)
Explanation:
It is useful to measure Height and Arm Span in tennis players. Body fat can be measured using the skinfold method. If this is not available, monitoring body weight changes would give an indication of body fat changes, assuming no
Answer:
The distance measure from the wall = 36ft
Explanation:
Given Data:
w = 10
g =32.2ft/s²
x = 2
Using the principle of work and energy,
T₁ +∑U₁-₂ = T₂
0 + 1/2kx² -wh = 1/2 w/g V²
Substituting, we have
0 + 1/2 * 100 * 2² - (10 * 3) = 1/2 * (10/32.2)V²
170 = 0.15528V²
V² = 170/0.15528
V² = 1094.796
V = √1094.796
V = 33.09 ft/s
But tan ∅ = 3/4
∅ = tan⁻¹3/4
= 36.87°
From uniform acceleration,
S = S₀ + ut + 1/2gt²
It can be written as
S = S₀ + Vsin∅*t + 1/2gt²
Substituting, we have
0 = 3 + 33.09 * sin 36.87 * t -(1/2 * 32.2 *t²)
19.85t - 16.1t² + 3 = 0
16.1t² - 19.85t - 3 = 0
Solving it quadratically, we obtain t = 1.36s
The distance measure from the wall is given by the formula
d = VCos∅*t
Substituting, we have
d = 33.09 * cos 36. 87 * 1.36
d = 36ft
Answer:
5.328Ibm/hr
Explanation:
Through laboratory tests, thermodynamic tables were developed, these allow to know all the thermodynamic properties of a substance (entropy, enthalpy, pressure, specific volume, internal energy etc ..)
through prior knowledge of two other properties such as pressure and temperature.
for this case we can define the following equation for mass flow using the first law of thermodynamics

where
Q=capacity of the radiator =5000btu/hr
m = mass flow
then using thermodynamic tables we found entalpy in state 1 and 2
h1(x=0.97, p=16psia)=1123btu/lbm
h2(x=0, p=16psia)=184.5btu/lbm
solving
