Inequality Support

CL now provides support for inequalities using parseInequality

parseInequality works similarly to parseEquation, with attributes lhs, rhs that output the latex strings on the left and right hand side of the inequality.

differenceFunction is slightly different with parseInequality in that it subtracts the lesser side from the greater and not necessarily the left from the right hand side.

isStrict determines if the inequality is strictly greater than or less than.
isLeftGreater determines if the left side of the inequality is greater than the right.

https://teacher.desmos.com/computation-layer/documentation#types:inequality

8 Likes