Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
Student[Precalculus][Slope] - Find the slope of a line
Calling Sequence
Slope(p1, p2)
Slope(L, x)
Slope(f, x1, x2, x)
Parameters
p1
-
2-element list or 2-Vector
p2
L
line, as expression or operator
x
(optional) variable in L or f
f
expression or operator
x1
algebraic
x2
Description
The command Slope(p1, p2) computes the slope of the line through the points p1 and p2.
The command Slope(L) computes the slope of the line defined by L. If L is given as an expression, it should be a polynomial of degree one in one variable. If L is given as an operator, it should take a single argument, and evaluation at a symbolic value should produce a polynomial of degree one in that variable. The command Slope(L, x) computes the slope of the line defined by the algebraic expression L considered as a function of the variable x.
The command Slope(f, x1, x2) computes the slope of the secant line joining (x1,f(x1)) and (x2,f(x2)). The command Slope(f, x1, x2, x) does the same in the case when f is an expression returning the slope of the line between (x1,eval(f,x=x1)) and (x2,eval(f,x=x2)).
This command is part of the Student[Precalculus] package, so it can be used in the form Slope(..) only after executing the command with(Student[Precalculus]). However, it can always be used in the form Student[Precalculus][Slope](..).
Examples
See Also
Distance, Line, Midpoint
Download Help Document