Grading:-LinearFunction - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Education : Grading : Grading/LinearFunction

Grading:-LinearFunction

Calling Sequence

LinearFunction(t)

LinearFunction(p1, p2))

Parameters

t

-

linear expression in one variable or linear equation in variables x and y

p1, p2

-

a GridPoint object or list/rtable with two values representing a point on the line

Description

• 

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=fx 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.

Examples

withGrading

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

(1)

LinearFunction3x4

<< LinearFunction: 3*x-4>>

(2)

LinearFunctionx&plus;2y&equals;5

<< LinearFunction: 5/2-1/2*x>>

(3)

L:=LinearFunctionGridPoint2&comma;4&comma;GridPoint1&comma;1

L:=<< LinearFunction: 5*v-6>>

(4)

GetExpressionL

5v6&comma;v

(5)

See Also

Grading, Grading:-GradePlot


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