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:
The molecular weight will be "28.12 g/mol".
Explanation:
The given values are:
Pressure,
P = 10 atm
= 
=
Temperature,
T = 298 K
Mass,
m = 11.5 Kg
Volume,
V = 1000 r
= 
R = 8.3145 J/mol K
Now,
By using the ideal gas law, we get
⇒ 
o,
⇒ 
By substituting the values, we get


As we know,
⇒ 
or,
⇒


74 cycles it’s what u need
Answer:
8.85 Ω
Explanation:
Resistance of a wire is:
R = ρL/A
where ρ is resistivity of the material,
L is the length of the wire,
and A is the cross sectional area.
For a round wire, A = πr² = ¼πd².
For aluminum, ρ is 2.65×10⁻⁸ Ωm, or 8.69×10⁻⁸ Ωft.
Given L = 500 ft and d = 0.03 in = 0.0025 ft:
R = (8.69×10⁻⁸ Ωft) (500 ft) / (¼π (0.0025 ft)²)
R = 8.85 Ω
Answer:
7.7 kN
Explanation:
The capacity of a material having a crack to withstand fracture is referred to as fracture toughness.
It can be expressed by using the formula:

where;
fracture toughness K = 137 MPa
geometry factor Y = 1
applied stress
= ???
crack length a = 2mm = 0.002
∴




Now, the tensile impact obtained is:

P = A × σ
P = 1728.289 × 4.5
P = 7777.30 N
P = 7.7 kN