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

Online Help

All Products    Maple    MapleSim


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

Grading

  

AbsoluteValueFunction

  

construct an AbsoluteValueFunction object

 

Calling Sequence

Parameters

Options

Description

Examples

Compatibility

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

> 

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

(1)
> 

AbsoluteValueFunction⁡2⁢abs⁡x−3+1

<< AbsoluteValueFunction: 2*abs(x-3)+1>>

(2)
> 

AbsoluteValueFunction⁡2&comma;0&comma;0&comma;4

<< AbsoluteValueFunction: 2*abs(v-2)>>

(3)
> 

A≔AbsoluteValueFunction⁡2&comma;0&comma;0&comma;4&comma;variable=s

A≔<< AbsoluteValueFunction: 2*abs(s-2)>>

(4)
> 

GetExpression⁡A

2⁢s−2,s

(5)

Compatibility

• 

The Grading:-AbsoluteValueFunction command was introduced in Maple 18.

• 

For more information on Maple 18 changes, see Updates in Maple 18.

See Also

Grading

Grading:-GradePlot

RealRange