Inequalities - Maple Help

 Inequalities

 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 - a 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

 > $\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]$ (1)
 > $\mathrm{I1}≔\mathrm{Inequalities}\left(\left[x+y\le 1,2<2x-y\right]\right)$
 ${\mathrm{I1}}{≔}{\mathrm{<< Inequalities: \left[x+y <= 1, 2 < 2*x-y\right]>>}}$ (2)
 > $\mathrm{I2}≔\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}}{≔}{\mathrm{<< Inequalities: \left[3/2*x+1 <= y, 0 < y\right]>>}}$ (3)

Compatibility

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