Added the method of finding slope from a graph (#21597)
* Added the method of finding slope from a graph * cleaned up graph, added alt attributes, cleaned up grammar
This commit is contained in:
@@ -3,13 +3,19 @@ title: Finding Slope from Graph
|
||||
---
|
||||
## Finding Slope from Graph
|
||||
|
||||
This is a stub. <a href='https://github.com/freecodecamp/guides/tree/master/src/pages/mathematics/finding-slope-from-graph/index.md' target='_blank' rel='nofollow'>Help our community expand it</a>.
|
||||
|
||||
<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>.
|
||||
|
||||
<!-- The article goes here, in GitHub-flavored Markdown. Feel free to add YouTube videos, images, and CodePen/JSBin embeds -->
|
||||
|
||||
#### More Information:
|
||||
<!-- Please add any articles you think might be helpful to read before writing the article -->
|
||||
|
||||
|
||||
Let us consider the graph for `2x+3`
|
||||
|
||||

|
||||
|
||||
To find the slope we need to take two points on the `x` axis and their perpendicular points on `y` axis then subtract two points of `x` axis to find change in `x` and two points on `y` to find change in `y`
|
||||
|
||||
To find the slope use the formula slope = <a href="https://www.codecogs.com/eqnedit.php?latex=\frac{\Delta&space;y}{\Delta&space;x}" target="_blank"><img src="https://latex.codecogs.com/gif.latex?\frac{\Delta&space;y}{\Delta&space;x}" title="\frac{\Delta x}{\Delta y}" alt="delta x/delta y" /></a>
|
||||
|
||||
where <a href="https://www.codecogs.com/eqnedit.php?latex=\Delta&space;x" target="_blank"><img src="https://latex.codecogs.com/gif.latex?\Delta&space;x" title="\Delta x" alt="delta x" /></a> = change in `x`
|
||||
and <a href="https://www.codecogs.com/eqnedit.php?latex=\Delta&space;y" target="_blank"><img src="https://latex.codecogs.com/gif.latex?\Delta&space;y" title="\Delta y" alt="delta y"/></a> = change in `y`
|
||||
|
||||
If we take `x1=2`, `x2=0` and `y1=7` and `y2=3` slope = <a href="https://www.codecogs.com/eqnedit.php?latex=\frac{7-3}{2-0}" target="_blank"><img src="https://latex.codecogs.com/gif.latex?\frac{7-3}{2-0}" title="\frac{7-3}{2-0}" alt="(7-3)/(2-0)"/></a> = `2`
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user