# Assessing atudent nput

**URL:** <https://cl.desmos.com/t/assessing-atudent-nput/588>\
**Category:** Questions\
**Created:** [October 15, 2019, 5:28pm UTC](https://cl.desmos.com/t/assessing-atudent-nput/588 "2019-10-15T17:28:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Micah\_Baldree](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/micah_baldree/32/387_2.png) [@Micah\_Baldree](https://cl.desmos.com/u/Micah_Baldree)\
**Post date:** [October 15, 2019, 5:28pm UTC](https://cl.desmos.com/t/assessing-atudent-nput/588/1 "2019-10-15T17:28:29Z")

</div>

Is there a way to code the input or notes box where a student writes an expression, like “f(x)=3x+5” and the activity can assess and report if that is the correct function or not. For instance, if it was the wrong function then they couldnt hit the submit button, or a text will appear saying incorrect. Only the right input will allow them to submit or get the “correct” text to appear.

---

<div class="post-metadata">

**Author:** ![cwinske](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/cwinske/32/3106_2.png) [@cwinske](https://cl.desmos.com/u/cwinske)\
**Post date:** [October 16, 2019, 6:39pm UTC](https://cl.desmos.com/t/assessing-atudent-nput/588/2 "2019-10-16T18:39:20Z")

</div>

Will your function be linear? If so, you can use xyLine to check if the slope and y-intercept are matching. There’s a few posts with examples if you search “xyLine” on this site.

---

<div class="post-metadata">

**Author:** ![JayChow](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/jaychow/32/1674_2.png) [@JayChow](https://cl.desmos.com/u/JayChow)\
**Post date:** [October 16, 2019, 6:59pm UTC](https://cl.desmos.com/t/assessing-atudent-nput/588/3 "2019-10-16T18:59:14Z")

</div>

Outside of linear you’ll want to use parseEquation.

If its linear, totally agree xyLine is the most reliable

---

<div class="post-metadata">

**Author:** ![Kenneth](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/kenneth/32/1146_2.png) [@Kenneth](https://cl.desmos.com/u/Kenneth)\
**Post date:** [September 18, 2020, 4:30pm UTC](https://cl.desmos.com/t/assessing-atudent-nput/588/4 "2020-09-18T16:30:04Z")

</div>

What if the equation involves combinations of symbols that are not recognized? For example f^{-1}(x) “f inverse of x”.

---

<div class="post-metadata">

**Author:** ![Daniel\_Grubbs](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/daniel_grubbs/32/719_2.png) [@Daniel\_Grubbs](https://cl.desmos.com/u/Daniel_Grubbs)\
**Post date:** [September 18, 2020, 5:49pm UTC](https://cl.desmos.com/t/assessing-atudent-nput/588/5 "2020-09-18T17:49:41Z")

</div>

It’ll only recognize `f` as a variable in this situation. So, you could do some things keeping that in mind to get the info you want, but Desmos won’t recognize it as intended. You can see my example activity where I tricked desmos to allow function notation.

> [@"Match My Function" using function notation](https://cl.desmos.com/t/match-my-function-using-function-notation/1487):
>
> Thought I’d put this in it’s own thread. I made a way to check for transformations in function notation basically by ‘tricking’ Desmos into thinking f is a variable, and then calculating student values of a, h, and k. (Updated link with dashboard checkmark functioning)
