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
a 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.
$\mathrm{with}\left(\mathrm{Grading}\right)$
$\left[{\mathrm{AbsoluteValueFunction}}{\,}{\mathrm{Draw}}{\,}{\mathrm{ExponentialFunction}}{\,}{\mathrm{GetData}}{\,}{\mathrm{GetDomain}}{\,}{\mathrm{GetExpression}}{\,}{\mathrm{GradePlot}}{\,}{\mathrm{GridPoint}}{\,}{\mathrm{Inequalities}}{\,}{\mathrm{IsQuadraticFormula}}{\,}{\mathrm{LinearFunction}}{\,}{\mathrm{LogarithmicFunction}}{\,}{\mathrm{QuadraticFunction}}{\,}{\mathrm{Quiz}}{\,}{\mathrm{Segment}}{\,}{\mathrm{SolveFeedback}}{\,}{\mathrm{SolvePractice}}\right]$
$\mathrm{I1}\u2254\mathrm{Inequalities}\left(\left[x+y\le 1\,2<2xy\right]\right)$
${\mathrm{I1}}{\u2254}{\mathrm{<<\; Inequalities:\; [x+y\; <=\; 1,\; 2\; <\; 2*xy]>>}}$
$\mathrm{I2}\u2254\mathrm{Inequalities}\left(\left[\mathrm{LinearFunction}\left(\left[0\,1\right]\,\left[2\,2\right]\right)\,\mathrm{LinearFunction}\left(\left[1\,0\right]\,\left[2\,0\right]\right)\right]\,\left[''nonstrict''\,''strict''\right]\,\left[2\,1\right]\right)$
${\mathrm{I2}}{\u2254}{\mathrm{<<\; 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
What kind of issue would you like to report? (Optional)