slope - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


geometry

  

slope

  

compute the slope of a line

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

slope(l)

slope(A, B)

Parameters

l

-

line

A, B

-

two points

Description

• 

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.

Examples

> 

with⁡geometry:

> 

line⁡l,y=3⁢x+5,x,y

l

(1)
> 

slope⁡l

3

(2)
> 

point⁡A,1,8,point⁡B,−1,2:

> 

slope⁡A,B

3

(3)

See Also

geometry[Equation]

geometry[line]

geometry[point]