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.
with⁡geometry:
line⁡l,y=3⁢x+5,x,y
slope⁡l
3
point⁡A,1,8,point⁡B,−1,2:
slope⁡A,B
See Also
geometry[Equation]
geometry[line]
geometry[point]
Download Help Document