student(deprecated)/slope - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : student(deprecated)/slope

student

  

slope

  

compute the slope of a line

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

slope(equation)

slope(equation, y, x)

slope(equation, y(x))

slope(p1, p2)

Parameters

equation

-

equation of a line

y, x

-

(optional in most cases) dependent and independent variables

p1, p2

-

two 2-D points (such as [a, b] and [c, d])

Description

• 

Important: The student package has been deprecated. Use the superseding command Student[Precalculus][Slope] instead.

• 

The function slope will compute the slope of a line determined by two points, or by an equation.

• 

If equation is of the form y=fx, then the dependent variable is taken to be y, and the independent variable to be x.  Ambiguity caused by three or more unknowns or by the use of a different form of equation is resolved by providing two additional arguments, y and x, the names of the dependent and independent variables, respectively.

• 

The command with(student,slope) allows the use of the abbreviated form of this command.

Examples

Important: The student package has been deprecated. Use the superseding command Student[Precalculus][Slope] instead.

withstudent:

slopey=3x+5

3

(1)

slopey=ax+5,y,x

a

(2)

slope2y+4=x3,x,y

2

(3)

slope2y+4=x3,xy

2

(4)

See Also

intersect

Student

student(deprecated)[midpoint]

student(deprecated)[showtangent]

Student[Precalculus][Slope]