update index.md with article (#26915)
* update index.md with article added article for dependent and independent variables. * fix: remove stub info
This commit is contained in:
committed by
Randell Dawson
parent
b1a9ae7b65
commit
509e57d381
@ -3,13 +3,21 @@ title: Dependent and Independent Variables
|
||||
---
|
||||
## Dependent and Independent Variables
|
||||
|
||||
This is a stub. <a href='https://github.com/freecodecamp/guides/tree/master/src/pages/mathematics/dependent-and-independent-variables/index.md' target='_blank' rel='nofollow'>Help our community expand it</a>.
|
||||
Before talking about dependent and independent variables, it would be necessary to define what a *variable* is.
|
||||
|
||||
<a href='https://github.com/freecodecamp/guides/blob/master/README.md' target='_blank' rel='nofollow'>This quick style guide will help ensure your pull request gets accepted</a>.
|
||||
In simple terms, a variable is any thing that is liable to change. In order words, it is not consistent and does not have a fixed pattern.
|
||||
|
||||
<!-- The article goes here, in GitHub-flavored Markdown. Feel free to add YouTube videos, images, and CodePen/JSBin embeds -->
|
||||
In science and mathematics, variables are often used to represent real world quantities that are unknown or can change. For example, if I earn $10 for every hour of work I do, how much I have at the end of the week will be determined by how many hours of work I did during that week. How many hours of work I do and how much I earn are both variables but one of them depends on the other.
|
||||
|
||||
An *independent variable* is one that is changed or controlled in a scientific experiment. It represents the cause or reason for an outcome. The *dependent variable* variable on the other hand is the variable that is being tested or measured in the experiment.
|
||||
|
||||
In the above example, my *independent variable* is the `number of hours` of work I do. I have total control over it and directly changing it cahnges the *dependent variable*, which is `how much I would have earned` at the end of the week.
|
||||
|
||||
#### More Information:
|
||||
<!-- Please add any articles you think might be helpful to read before writing the article -->
|
||||
|
||||
* [Khan Academy](https://www.khanacademy.org/math/pre-algebra/pre-algebra-equations-expressions/pre-algebra-dependent-independent/a/dependent-and-independent-variables-review)
|
||||
|
||||
* [Sciencing](https://sciencing.com/meaning-variables-research-6164255.html)
|
||||
|
||||
* [Thoughtco](https://www.thoughtco.com/independent-and-dependent-variables-differences-606115)
|
||||
|
||||
|
Reference in New Issue
Block a user