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.
Assumptions:
- Steady state.
- Air as working fluid.
- Ideal gas.
- Reversible process.
- Ideal Otto Cycle.
Explanation:
Otto cycle is a thermodynamic cycle widely used in automobile engines, in which an amount of gas (air) experiences changes of pressure, temperature, volume, addition of heat, and removal of heat. The cycle is composed by (following the P-V diagram):
- Intake <em>0-1</em>: the mass of working fluid is drawn into the piston at a constant pressure.
- Adiabatic compression <em>1-2</em>: the mass of working fluid is compressed isentropically from State 1 to State 2 through compression ratio (r).

- Ignition 2-3: the volume remains constant while heat is added to the mass of gas.
- Expansion 3-4: the working fluid does work on the piston due to the high pressure within it, thus the working fluid reaches the maximum volume through the compression ratio.

- Heat Rejection 4-1: heat is removed from the working fluid as the pressure drops instantaneously.
- Exhaust 1-0: the working fluid is vented to the atmosphere.
If the system produces enough work, the automobile and its occupants will propel. On the other hand, the efficiency of the Otto Cycle is defined as follows:

where:

Ideal air is the working fluid, as stated before, for which its specific heat ratio can be considered constant.

Answer:
See image attached.
Answer:
Decreased risk of structure failure
Answer:
Yes
Explanation:
If the Ajax representative fails to correct the previous statement this can cause misrepresentation.