geometry - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Geometry : 2-D Euclidean : Line Segments : geometry/slope

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]

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam