AbsoluteValueFunction - Maple Help

 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{Draw}}{,}{\mathrm{ExponentialFunction}}{,}{\mathrm{GetData}}{,}{\mathrm{GetDomain}}{,}{\mathrm{GetExpression}}{,}{\mathrm{GradePlot}}{,}{\mathrm{GridPoint}}{,}{\mathrm{Inequalities}}{,}{\mathrm{IsQuadraticFormula}}{,}{\mathrm{LinearFunction}}{,}{\mathrm{LogarithmicFunction}}{,}{\mathrm{QuadraticFunction}}{,}{\mathrm{Quiz}}{,}{\mathrm{Segment}}{,}{\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.