Grading - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Education : Grading : Grading/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

withGrading

AbsoluteValueFunction,Draw,ExponentialFunction,GetData,GetDomain,GetExpression,GradePlot,GridPoint,Inequalities,LinearFunction,LogarithmicFunction,QuadraticFunction,Quiz,Segment

(1)

AbsoluteValueFunction2x3+1

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

(2)

AbsoluteValueFunction2&comma;0&comma;0&comma;4

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

(3)

AAbsoluteValueFunction2&comma;0&comma;0&comma;4&comma;&apos;variable&apos;&equals;&apos;s&apos;

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

(4)

GetExpressionA

2s2&comma;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

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam