{{ toc.signature }}
{{ toc.name }}
{{ stepNode.name }}
Proceed to next lesson
An error ocurred, try again later!
Chapter {{ article.chapter.number }}
{{ article.number }}.

# {{ article.displayTitle }}

{{ article.introSlideInfo.summary }}
{{ 'ml-btn-show-less' | message }} {{ 'ml-btn-show-more' | message }} expand_more
##### {{ 'ml-heading-abilities-covered' | message }}
{{ ability.description }}

#### {{ 'ml-heading-lesson-settings' | message }}

{{ 'ml-lesson-show-solutions' | message }}
{{ 'ml-lesson-show-hints' | message }}
 {{ 'ml-lesson-number-slides' | message : article.introSlideInfo.bblockCount}} {{ 'ml-lesson-number-exercises' | message : article.introSlideInfo.exerciseCount}} {{ 'ml-lesson-time-estimation' | message }}

# Independent and Dependent Variables

In the context of functions, the input is often referred to as the independent variable because it can be chosen arbitrarily from the domain. Conversely, the output is called the dependent variable because its value depends on the value of the independent variable. For instance, if the price of oranges is per pound, the total cost is determined by the product of the unit price and the weight in pounds.
As shown, the total cost of oranges depends on how many pounds of fruit are purchased. Therefore, the cost of oranges is the and the number of pounds purchased is the