Grading
Inequalities
Calling Sequence
Parameters
Description
Examples
Compatibility
Inequalities(ineq)
Inequalities(curves, str, pt)
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
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.
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
I1≔Inequalities⁡x+y≤1,2<2⁢x−y
I1≔<< Inequalities: [x+y <= 1, 2 < 2*x-y]>>
I2≔Inequalities⁡LinearFunction⁡0,1,−2,−2,LinearFunction⁡1,0,−2,0,nonstrict,strict,−2,1
I2≔<< Inequalities: [3/2*x+1 <= y, 0 < y]>>
The Grading:-Inequalities command was introduced in Maple 18.
For more information on Maple 18 changes, see Updates in Maple 18.
See Also
Grading:-GradePlot
Download Help Document