Wolfram Computation Meets Knowledge

Slope of a Line

The slope or gradient of a line is a number that describes both the direction and the steepness of the line.

The slope equals the rise divided by the run.

Formula

QuantityVariable["m", "Unitless"] == QuantityVariable["rise", "Unitless"]/QuantityVariable["run", "Unitless"]

symbol description physical quantity
m slope "Unitless"
rise rise "Unitless"
run run "Unitless"

Forms

Examples

Get the resource:

In[1]:=
ResourceObject["Slope of a Line"]
Out[1]=

Get the formula:

In[2]:=
FormulaData[ResourceObject["Slope of a Line"]]
Out[2]=

Use some values:

In[3]:=
FormulaData[
 ResourceObject[
  "Slope of a Line"], {QuantityVariable["run","Unitless"] -> 3}]
Out[3]=

Publisher Information