# Check students' equations in a table - Mark correct for teacher dashboard?

**URL:** <https://cl.desmos.com/t/check-students-equations-in-a-table-mark-correct-for-teacher-dashboard/935>\
**Category:** Questions\
**Tags:** dashboard, simplefunction, validation, correctness\
**Created:** [May 1, 2020, 4:50pm UTC](https://cl.desmos.com/t/check-students-equations-in-a-table-mark-correct-for-teacher-dashboard/935 "2020-05-01T16:50:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![esmrekar](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/esmrekar/32/588_2.png) [@esmrekar](https://cl.desmos.com/u/esmrekar)\
**Post date:** [May 1, 2020, 4:50pm UTC](https://cl.desmos.com/t/check-students-equations-in-a-table-mark-correct-for-teacher-dashboard/935/1 "2020-05-01T16:50:37Z")

</div>

Hello! I would like the teacher dashboard to show if students have entered correct equations into a table.

I have set it up to check the equations at certain values, but I can’t get the dashboard to show the correct message.

Here’s the example [Check table of equations Activity](https://teacher.desmos.com/activitybuilder/custom/5eac51fd2cc3fc0c5b47d2f3)

And here’s the code I was trying:  
f=table2.cellContent(1,2)  
check1= simpleFunction(f).evaluateAt(0)=128 and simpleFunction(f).evaluateAt(1)=132

g=table2.cellContent(1,2)  
check2= simpleFunction(g).evaluateAt(0)=128 and simpleFunction(g).evaluateAt(1)=128

h=table2.cellContent(1,2)  
check3= simpleFunction(h).evaluateAt(0)=128 and simpleFunction(h).evaluateAt(1)=64

correct: check1 and check2 and check3

---

<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:** [May 1, 2020, 5:06pm UTC](https://cl.desmos.com/t/check-students-equations-in-a-table-mark-correct-for-teacher-dashboard/935/2 "2020-05-01T17:06:38Z")

</div>

Didn’t look at the code, but common problem is your graph needs to have:

`readOnly: true`

---

<div class="post-metadata">

**Author:** ![esmrekar](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/esmrekar/32/588_2.png) [@esmrekar](https://cl.desmos.com/u/esmrekar)\
**Post date:** [May 4, 2020, 3:24pm UTC](https://cl.desmos.com/t/check-students-equations-in-a-table-mark-correct-for-teacher-dashboard/935/3 "2020-05-04T15:24:54Z")

</div>

Hm I definitely already have that, it’s the code I’m asking about not the graph.

---

<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:** [May 4, 2020, 5:02pm UTC](https://cl.desmos.com/t/check-students-equations-in-a-table-mark-correct-for-teacher-dashboard/935/5 "2020-05-04T17:02:57Z")

</div>

It’s check2: evaluateAt(1) should = 124
