129k views
4 votes
Which of the following would be a good name for the function that takes the weight of a box and returns the energy needed to lift it? A.box(cost) B. Energy(weight) C. Weight(box) D. Weight(energy)

1 Answer

5 votes

Answer:

B. Energy(weight).

Explanation:

Energy(weight).

Weight is the independent variable and energy is the dependent.

The amount of energy depends on the weight.

User Sheetal
by
5.4k points
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.