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

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

student

 slope
 compute the slope of a line

 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=f\left(x\right)$, 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.

 > $\mathrm{with}\left(\mathrm{student}\right):$
 > $\mathrm{slope}\left(y=3x+5\right)$
 ${3}$ (1)
 > $\mathrm{slope}\left(y=ax+5,y,x\right)$
 ${a}$ (2)
 > $\mathrm{slope}\left(2y+4=x-3,x,y\right)$
 ${2}$ (3)
 > $\mathrm{slope}\left(2y+4=x-3,x\left(y\right)\right)$
 ${2}$ (4)