# Sinking an inequality to a graph & checking for correctness

**URL:** <https://cl.desmos.com/t/sinking-an-inequality-to-a-graph-checking-for-correctness/1657>\
**Category:** Questions\
**Tags:** validation, correctness\
**Created:** [October 8, 2020, 11:26am UTC](https://cl.desmos.com/t/sinking-an-inequality-to-a-graph-checking-for-correctness/1657 "2020-10-08T11:26:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![maor](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/maor/32/9343_2.png) [@maor](https://cl.desmos.com/u/maor)\
**Post date:** [October 8, 2020, 11:26am UTC](https://cl.desmos.com/t/sinking-an-inequality-to-a-graph-checking-for-correctness/1657/1 "2020-10-08T11:26:19Z")

</div>

I am trying to create a screen where students input an inequality and its graphed when an action button is pressed. If anyone have any tips, even just for the graphing part (I think I can handle the action button), it would be greatly appriciated. I would also appriciate pointers on how to auto-check answers.

A few points I think might cause problems:

1. some of the right answers are componed inequalities.
2. some of the right answers are two seperate inequalities (k\<-1, k\>2), and I’ve had problems with that before when defining domain for math input, so I added a second math input and an action button to control both of them.

[https://teacher.desmos.com/activitybuilder/custom/5f7ef45dedb5a30c92517555](https://teacher.desmos.com/activitybuilder/custom/5f7ef45dedb5a30c92517555)

Thanks in advance!
