slope - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

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

withgeometry:

linel,y=3x+5,x,y

l

(1)

slopel

3

(2)

pointA,1,8,pointB,1,2:

slopeA,B

3

(3)

See Also

geometry[Equation]

geometry[line]

geometry[point]