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
barxatty [35]
3 years ago
9

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
Computers and Technology
1 answer:
mafiozo [28]3 years ago
7 0

Answer:

def pyramid_volume(base_length, base_width, pyramid_height):

   base_area = base_length * base_width

   volume = 1 / 3 * base_area * pyramid_height

   return volume

Explanation:

Create a function called pyramid_volume that takes base_length, base_width, pyramid_height as parameters

The formula to calculate the volume of a pyramid is = 1/3Ah, A is the base area, h is the height

Inside the function, calculate the base area, multiply base_length with base_width. Then, calculate the volume using the formula. Return the volume

You might be interested in
To light up an LED, you need to connect the cathode leg to one of the Digital Pins and connect the Anode leg to the ……………. on th
Elenna [48]

Answer bobobobobobobobo

4 0
3 years ago
Help
photoshop1234 [79]

Answer:

206.25.

Explanation:

The equation to find out how much money you will make is prt, or principle • rate • time.

So you do 25 x 2.75% x 25, which is equal to 206.25.

4 0
3 years ago
Which type of evidence should victims collect to help officials catch cyber bullies
iren [92.7K]

Answer:

How you get cyberbullied just look away from the screen -Tyler The Creator

Explanation:

3 0
4 years ago
Read 2 more answers
What is the opportunity cost of computers when moving from point A to point B? -15 DVDs b. What is the opportunity cost of compu
oee [108]

Answer:

Increasing

Explanation:

Generally in economics, opportunity cost is the benefit that a person, a business, or an investor forgo or missed when he chooses one alternative instead of the other.

Under production, opportunity cost occurs when a producer sacrifice the production of one for the production of another good. Using good X and Y as examples, opportunity cost is measured by the number of units of good Y that the producer gives up in order to produce one or more units of good X.

In the question, the two products used are computers and DVD. The -15, -18 and -20 implies that producing an extra unit of computer by moving from point A to point B, point B to C, and point C to D, 15, 18 and 20 units of DVD respectively have to be given up.

Since 20 is greater than 18 and 18 is also greater than 15, it therefore implies as we produce more computers, the opportunity cost, which are the number of DVDs given up at each point, are increasing.

I wish you the best.

5 0
3 years ago
Inputs to a system that can enhance performance is called
disa [49]
Inputs to a system that can enhance performance is called Resources
6 0
3 years ago
Read 2 more answers
Other questions:
  • Which of the following will affect the size of your monthly mortgage payment? A The size of your down payment B The length of yo
    5·1 answer
  • Which of the following is not a reason that the subject line should never be left blank?
    13·2 answers
  • Which term refers to the technical structure of the software, how users interact with the software, and how the software is phys
    10·1 answer
  • Which pane displays commands that change relative to the activity taking place in the presentation window's main work area?
    11·2 answers
  • If a person was on board a hypersonic airplane what do you think they would be able to see as they look out a window looking in
    13·2 answers
  • Su
    6·1 answer
  • A technician is trouble-shooting an IDE hard drive that is emitting a humming sound. They suspect a faulty connector. Which of t
    6·1 answer
  • Type the correct answer in the box. Spell all words correctly.
    15·2 answers
  • A free open source audio editing software program is
    5·1 answer
  • Six security issues and six descriptions are shown below.
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!