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

Online Help

All Products    Maple    MapleSim


Grading

  

Inequalities

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

Inequalities(ineq)

Inequalities(curves, str, pt)

Parameters

ineq

-

list of inequalities in variables x and y

curves

-

list of LinearFunction objects

str

-

list of strings "strict" or "nonstrict", indicating type of inequality

pt

-

GridPoint object or rtable/list representing a point in the feasible region

Description

• 

The Inequalities constructor generates and returns an object representing a set of inequalities. Currently, only linear inequalities are supported.

• 

The first calling sequence requires a list of inequalities in the variables x and y to be provided.

• 

The second calling sequence allows a feasible region to be defined indirectly, through a list of curves. The str parameter indicates whether the inequality associated with each curve is strict or not; this list must have the same number of elements as curves.

• 

The pt parameter can be any point in the feasible region. If the feasible region is empty, then an empty list should be given as pt.

Examples

withGrading

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)

I1Inequalitiesx+y1&comma;2<2xy

I1<< Inequalities: [x+y <= 1, 2 < 2*x-y]>>

(2)

I2InequalitiesLinearFunction0&comma;1&comma;2&comma;2&comma;LinearFunction1&comma;0&comma;2&comma;0&comma;nonstrict&comma;strict&comma;2&comma;1

I2<< Inequalities: [3/2*x+1 <= y, 0 < y]>>

(3)

Compatibility

• 

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

• 

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

See Also

Grading

Grading:-GradePlot