AbsoluteValueFunction - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Home : Support : Online Help : Education : Grading : Grading Plots : AbsoluteValueFunction

 AbsoluteValueFunction
 construct an AbsoluteValueFunction object

 Calling Sequence AbsoluteValueFunction(t) AbsoluteValueFunction(p1, p2)

Parameters

 t - a linear absolute-value function in one variable p1 - a GridPoint object or list/rtable representing the vertex of the function p2 - a GridPoint object or list/rtable representing a point on the function

Options

 • domain : a RealRange expression specifying the region over which the function is defined
 • variable : name used in generated expression if the second calling sequence is used

Description

 • The AbsoluteValueFunction constructor generates and returns an AbsoluteValueFunction object.
 • In the first calling sequence, t must have the form a*abs(b*x+c)+d, where a, b, c, and d are constants and x is any variable name.

Examples

 > $\mathrm{with}\left(\mathrm{Grading}\right)$
 $\left[{\mathrm{AbsoluteValueFunction}}{,}{\mathrm{DiffFeedback}}{,}{\mathrm{DiffPractice}}{,}{\mathrm{Draw}}{,}{\mathrm{ExponentialFunction}}{,}{\mathrm{FactorFeedback}}{,}{\mathrm{FactorPractice}}{,}{\mathrm{Feedback}}{,}{\mathrm{GetData}}{,}{\mathrm{GetDomain}}{,}{\mathrm{GetExpression}}{,}{\mathrm{GradePlot}}{,}{\mathrm{GridPoint}}{,}{\mathrm{Inequalities}}{,}{\mathrm{IntFeedback}}{,}{\mathrm{IntPractice}}{,}{\mathrm{IsQuadraticFormula}}{,}{\mathrm{LimitFeedback}}{,}{\mathrm{LimitPractice}}{,}{\mathrm{LinearFunction}}{,}{\mathrm{LogarithmicFunction}}{,}{\mathrm{QuadraticFunction}}{,}{\mathrm{Quiz}}{,}{\mathrm{QuizBuilder}}{,}{\mathrm{Segment}}{,}{\mathrm{SimplifyFeedback}}{,}{\mathrm{SimplifyPractice}}{,}{\mathrm{SolveFeedback}}{,}{\mathrm{SolvePractice}}\right]$ (1)
 > $\mathrm{AbsoluteValueFunction}\left(2\mathrm{abs}\left(x-3\right)+1\right)$
 ${\mathrm{<< AbsoluteValueFunction: 2*abs\left(x-3\right)+1>>}}$ (2)
 > $\mathrm{AbsoluteValueFunction}\left(\left[2,0\right],\left[0,4\right]\right)$
 ${\mathrm{<< AbsoluteValueFunction: 2*abs\left(v-2\right)>>}}$ (3)
 > $A≔\mathrm{AbsoluteValueFunction}\left(\left[2,0\right],\left[0,4\right],'\mathrm{variable}'='s'\right)$
 ${A}{≔}{\mathrm{<< AbsoluteValueFunction: 2*abs\left(s-2\right)>>}}$ (4)
 > $\mathrm{GetExpression}\left(A\right)$
 ${2}{}\left|{s}{-}{2}\right|{,}{s}$ (5)

Compatibility

 • The Grading:-AbsoluteValueFunction command was introduced in Maple 18.
 • For more information on Maple 18 changes, see Updates in Maple 18.