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
a digital multimeter is set to read dc volts on the 4 volt scale the meter leads are connected to a 12 volt battery what will th
Rainbow [258]

Answer:

ssusscribanse  mi ca na ljun  a

Explanation:

8 0
3 years ago
Read 2 more answers
Define ""acidity"" of an aqueous solution. How do you compare the strength of acidity of solutions ?
Vlad [161]

Answer with Explanation:

The acidity of an aqueous solution is a term used to identify how acidic the solution is. An acidic solution is a solution in which the concentration of hydrogen ions is greater than the concentration of hydroxide ions. In the other case around if  the concentration of hydrogen ions is lesser than the concentration of hydroxide ions the solution is termed to be basic or alkaline. For a solution with equal concentration of hydrogen and hydroxide ions the solution is termed to be neutral.

The acidity of solutions is compared on the basis of the concentration of the hydrogen ions reduced to log of base 10 to ease calculations. The comparison is made in terms of 'pH' value which is defined as

pH=-log[H^+]

where

 [H^+] is the hydrogen ion concentration of the solution in moles per liter of solution.

If the pH is < 7 the solution is acidic and the closer the pH value to 1 the higher is the acidity of the solution.

7 0
3 years ago
The price of a single item within a group of items is
Nady [450]

Answer:

Answer to this question is option D i.e. unit price.

Explanation:

The unit price of the item can be understood as the price of a single product or one single commodity which forms a part of a group of items. When only one unit is to be sold then here comes the importance of 'unit price.' This is generally helpful in the retail sector where the products are bought in bulk after calculating the per-unit price of each commodity in that particular bulk.

7 0
3 years ago
Jack has been concerned about the rapidly changing green regulations in his state and his ability as a mechanical engineer to ke
uysha [10]

Answer:

Option A, B and D

Explanation:

Jack can easily convince boss if he focus around two major aspects of the company

a) Revenue enhancement - Jack must outline the benefits of his research that can be used to improvise customer offerings and  hence can be further used to devise more energy-efficient options to customer

b) Reduction in mistakes - Issues such as poor implementation can be avoided with better approach and understanding.

Hence, option A, B and D are correct

3 0
3 years ago
The fan blades suddenly experience an angular acceleration of 2 rad/s2. If the blades are rotating with an initial angular veloc
madreJ [45]

Answer:

Option B

116 ft/s^{2}

Explanation:

\theta=2 rev=2(2\pi)=4\pi

\alpha \theta=0.5(\omega_f^{2}-\omega_i^{2})

\alpha (4\pi)= 0.5(\omega_f^{2}-\omega_i^{2})

\alpha (8\pi)= (\omega_f^{2}-\omega_i^{2})

(2) (8\pi)= (\omega_f^{2}-\omega_i^{2})

(2) (8\pi)= (\omega_f^{2}-4^{2})

\omega_f=8.14 rads/s

v=r\omega=1.75*8.14=14.245 ft/s

Centripetal acceleration =\omega_f^{2} r=8.14^{2}*1.75=115.95 ft/s^{2}

Tangential component=dr=2*1.75=3.5

Resultant=\sqrt{3.5^{2}+115.95^{2}}\approx 116 ft/s^{2}

5 0
3 years ago
Other questions:
  • The boiler pressure is 38bar and the condenser pressure 0.032 bar.The saturated steam is superheated to 420 oC before entering t
    8·1 answer
  • a. To measure the water current in an ocean, a marker is dropped onto it. Determine if the trajectory traced by the drifting mar
    5·1 answer
  • A non-linear analog force sensor outputs the following voltages for different forces.
    7·1 answer
  • Which option supports the following scenario?
    14·1 answer
  • Item110pointseBook HintPrintReferences Check my work Check My Work button is now disabled5Item 1Item 1 10 pointsAn ideal Diesel
    10·1 answer
  • Which happens when a wave passes through an opening
    12·2 answers
  • An expandable container is filled with 45 in.3 of air and is sitting in ice water that is 32°F. At what volume in in.3 will the
    5·1 answer
  • Why is there an Engineering Process?
    15·2 answers
  • 9. An automobile's oxygen sensor output needs
    14·1 answer
  • Task Three :Write a C++ program to read temperature
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!