geometry
slope
compute the slope of a line
Calling Sequence
Parameters
Description
Examples
slope(l)
slope(A, B)
l
-
line
A, B
two points
The function slope will compute the slope of a line determined by two points, or by an equation.
The command with(geometry,slope) allows the use of the abbreviated form of this command.
withgeometry:
linel,y=3x+5,x,y
slopel
3
pointA,1,8,pointB,−1,2:
slopeA,B
See Also
geometry[Equation]
geometry[line]
geometry[point]
Download Help Document