1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
solmaris [256]
3 years ago
10

Define a function pyramid_volume with parameters base_length, base_width, and pyramid_height, that returns the volume of a pyram

id with a rectangular base. Sample output with inputs: 4.5 2.1 3.0 Volume for 4.5, 2.1, 3.0 is: 9.45 Relevant geometry equations: Volume

Engineering
1 answer:
Maslowich3 years ago
5 0

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:

  1. In the first line of code, we define the function pyramid_volume and it's input parameters
  2. 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
  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.

You might be interested in
Leland wants to work in a Production career operating heavy machinery. Which type of education or training should Leland seek?
zhenek [66]

Answer:

it is indeed C

Explanation:

4 0
2 years ago
Read 2 more answers
1. Which of the following will cause a spark knock?
zlopas [31]

Answer:

I couldn't find options for your question online, but I can give you an explanation so you can choose the correct option.

Explanation:

A spark knock is a form of unpredictable behavior that occurs in combustion, that is, in the chemical reaction that occurs between oxygen and an oxidizable material. Such combustion is usually manifested by incandescence or flame.

The spark knock is a detonation that occurs when there is a lot of pressure in the fuel.

<u>Some situations in which this can happen are: </u>

  • Engine overloaded.
  • Maximum pressure in the cylinders.
  • Engine overheated.
  • Overheated air.
  • Long and excessive engine ignition timing.
  • Spark plug at high temperatures.
5 0
3 years ago
Which allows a user to run applications on a computing device? Group of answer choices Application software CSS Operating system
sveticcg [70]

Answer:

The operating system

Explanation:

The job of the operating system is to manage system resources allowing the abstraction of the hardware, providing a simple user interface for the user.  The operating system is also responsible for handling application's access to system resources.

For this purpose, the operating system allows a user to run applications on their computing device.

Cheers.

4 0
3 years ago
Distinguish between systems analysis and systems design?
Zielflug [23.3K]

Answer:

System analysis can be defined as a deep analysis of a part of the structure of a module that has been designed before. System design means to make any module or a part of the structure from scratch and build it completely without estimation.

Explanation:

3 0
3 years ago
Though still is on the margins of the global agro-food system, organic farming practices are on the rise in the core. In growing
lisabon 2012 [21]

Answer: composted cow manure

Explanation:

A cow manure consists of high levels of ammonia, pathogens which can harm the plants thus cannot be used as fertilizer. The composted cow manure is a processed fertilizer which is prepared by eliminating the ammonia gas and pathogens. It is prepared by adding up the additional organic matter.

It is an excellent growing medium for the agricultural crops and garden plants as it is a nutrient rich fertilizer. It is mixed into the soil or can be used for top dressing of the agricultural field. It is a kind of organic manure.

4 0
3 years ago
Other questions:
  • Air as an ideal gas in a closed system undergoes a reversible process between temperatures of 1000 K and 400 K. The beginning pr
    9·1 answer
  • 50.38
    14·1 answer
  • A venturi meter is to be installed in a 63 mm bore section of a piping system to measure the flow rate of water in it. From spac
    15·1 answer
  • What gage pressure does a skin diver experience when they dive to 35 ft in the ocean with a water temperature of 55 °F? Report y
    9·1 answer
  • The reverse water-gas shift (RWGS) reaction is an equimolar reaction between CO2 and H2 to form CO and H2O. Assume CO2 associati
    10·1 answer
  • A rectangular channel 2 m wide carries 3 m3 /s of water at a depth of 1.2 m. If an obstruction 40 cm wide is placed in the middl
    12·1 answer
  • 1. A copper block of volume 1 L is heat treated at 500ºC and now cooled in a 200-L oil bath initially at 20◦C. Assuming no heat
    10·1 answer
  • What engine does the mercedes 500e have​
    5·1 answer
  • Find the remaining trigonometric functions of 0 if
    10·1 answer
  • 1. Band saw lower wheel does not require a guard *
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!