Grading
LinearFunction
Calling Sequence
Parameters
Options
Description
Examples
Compatibility
LinearFunction(t)
LinearFunction(p1, p2))
t
-
linear expression in one variable or linear equation in variables x and y
p1, p2
GridPoint object or list/rtable with two values representing a point on the line
domain : a RealRange expression specifying the region over which the line is defined
variable : name used in generated expression if the second calling sequence is used
The LinearFunction constructor generates and returns a line object.
If the equation form is given, the variables must consist of x and/or y only. The equation is converted to the form y=f⁡x and only the right-hand-side is saved within the object.
Vertical lines can also be constructed using two points with the same x-value or an expression of the form x=a where a is a constant. In this case, the equation x=a is returned if the Grading:-GetExpression command is called.
with⁡Grading
AbsoluteValueFunction,DiffFeedback,DiffPractice,Draw,ExponentialFunction,FactorFeedback,FactorPractice,Feedback,GetData,GetDomain,GetExpression,GradePlot,GridPoint,Inequalities,IntFeedback,IntPractice,IsQuadraticFormula,LimitFeedback,LimitPractice,LinearFunction,LogarithmicFunction,QuadraticFunction,Quiz,QuizBuilder,Segment,SimplifyFeedback,SimplifyPractice,SolveFeedback,SolvePractice
LinearFunction⁡3⁢x−4
<< LinearFunction: 3*x-4>>
LinearFunction⁡x+2⁢y=5
<< LinearFunction: 5/2-1/2*x>>
L≔LinearFunction⁡GridPoint⁡2,4,GridPoint⁡1,−1
L≔<< LinearFunction: 5*v-6>>
GetExpression⁡L
5⁢v−6,v
The Grading:-LinearFunction command was introduced in Maple 18.
For more information on Maple 18 changes, see Updates in Maple 18.
See Also
Grading:-GradePlot
Download Help Document