# Correct point on a graph

**URL:** <https://cl.desmos.com/t/correct-point-on-a-graph/3251>\
**Category:** Questions\
**Tags:** dashboard, validation, correctness\
**Created:** [May 7, 2021, 4:32pm UTC](https://cl.desmos.com/t/correct-point-on-a-graph/3251 "2021-05-07T16:32:48Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mark\_Saber](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/mark_saber/32/2055_2.png) [@Mark\_Saber](https://cl.desmos.com/u/Mark_Saber)\
**Post date:** [May 7, 2021, 4:32pm UTC](https://cl.desmos.com/t/correct-point-on-a-graph/3251/1 "2021-05-07T16:32:48Z")

</div>

I am trying to use the drag and drop a point on a graph to asses students’ knowledge on the Unit Circle. Is it possible to get a check in the dashboard for a correctly located point on the graph?

Thanks for your help.

---

<div class="post-metadata">

**Author:** ![Mike\_Gleeson](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/mike_gleeson/32/650_2.png) [@Mike\_Gleeson](https://cl.desmos.com/u/Mike_Gleeson)\
**Post date:** [May 7, 2021, 5:13pm UTC](https://cl.desmos.com/t/correct-point-on-a-graph/3251/2 "2021-05-07T17:13:46Z")

</div>

Yup.

What do you have so far?

---

<div class="post-metadata">

**Author:** ![Mark\_Saber](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/mark_saber/32/2055_2.png) [@Mark\_Saber](https://cl.desmos.com/u/Mark_Saber)\
**Post date:** [May 7, 2021, 5:23pm UTC](https://cl.desmos.com/t/correct-point-on-a-graph/3251/3 "2021-05-07T17:23:11Z")

</div>

Bear in mind that this is definitely a work in progress. I started by making it a multiple choice option, but I don’t like that. I think my idea will make it smoother…

> **[Unit 7 Quiz #2A • Activity Builder by Desmos](https://teacher.desmos.com/activitybuilder/custom/60946afc2912de0681ce4bc4)**
>
> Unit Circle
> 10 questions, 1 pt each
> Slide #\_\_\_ is the summary, pace through slide \_\_\_

---

<div class="post-metadata">

**Author:** ![Mike\_Gleeson](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/mike_gleeson/32/650_2.png) [@Mike\_Gleeson](https://cl.desmos.com/u/Mike_Gleeson)\
**Post date:** [May 7, 2021, 5:45pm UTC](https://cl.desmos.com/t/correct-point-on-a-graph/3251/4 "2021-05-07T17:45:45Z")

</div>

i’m not 100% sure of the intention for the first question.  
could you elaborate on that?

or are you looking to just have kids plot a point at the correct angle more or less?

---

<div class="post-metadata">

**Author:** ![Mark\_Saber](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/mark_saber/32/2055_2.png) [@Mark\_Saber](https://cl.desmos.com/u/Mark_Saber)\
**Post date:** [May 7, 2021, 6:04pm UTC](https://cl.desmos.com/t/correct-point-on-a-graph/3251/5 "2021-05-07T18:04:30Z")

</div>

Yes. Exactly - just plot the point. If I couldn’t mark that correct (the dot on pi (-6,0) on my graph; then I would resort back to the m/c version that you see there.

---

<div class="post-metadata">

**Author:** ![Mike\_Gleeson](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/mike_gleeson/32/650_2.png) [@Mike\_Gleeson](https://cl.desmos.com/u/Mike_Gleeson)\
**Post date:** [May 7, 2021, 6:56pm UTC](https://cl.desmos.com/t/correct-point-on-a-graph/3251/6 "2021-05-07T18:56:34Z")

</div>

Maybe something like this? [[Copy of] Unit 7 Quiz #2A • Activity Builder by Desmos](https://teacher.desmos.com/activitybuilder/custom/6095881bd8b5b431d88290f8)

check screen 3

---

<div class="post-metadata">

**Author:** ![Mark\_Saber](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/mark_saber/32/2055_2.png) [@Mark\_Saber](https://cl.desmos.com/u/Mark_Saber)\
**Post date:** [May 7, 2021, 8:17pm UTC](https://cl.desmos.com/t/correct-point-on-a-graph/3251/7 "2021-05-07T20:17:38Z")

</div>

So much more fancy than my version, yet so much simpler in the graph.

Thank you!

---

<div class="post-metadata">

**Author:** ![Mark\_Saber](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/mark_saber/32/2055_2.png) [@Mark\_Saber](https://cl.desmos.com/u/Mark_Saber)\
**Post date:** [May 7, 2021, 8:19pm UTC](https://cl.desmos.com/t/correct-point-on-a-graph/3251/8 "2021-05-07T20:19:58Z")

</div>

So, what if they make a mistake and realize it (maybe even after they’ve answered another question). Is there any way for them to change their answer?

---

<div class="post-metadata">

**Author:** ![Mike\_Gleeson](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/mike_gleeson/32/650_2.png) [@Mike\_Gleeson](https://cl.desmos.com/u/Mike_Gleeson)\
**Post date:** [May 7, 2021, 8:33pm UTC](https://cl.desmos.com/t/correct-point-on-a-graph/3251/9 "2021-05-07T20:33:59Z")

</div>

Right now, no. But just change the button scripting to adjust for that if that’s gonna work better

---

<div class="post-metadata">

**Author:** ![Mark\_Saber](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/mark_saber/32/2055_2.png) [@Mark\_Saber](https://cl.desmos.com/u/Mark_Saber)\
**Post date:** [May 7, 2021, 9:19pm UTC](https://cl.desmos.com/t/correct-point-on-a-graph/3251/10 "2021-05-07T21:19:49Z")

</div>

Thank you so much for your help. Have a great weekend.

---

<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 7, 2021, 9:24pm UTC](https://cl.desmos.com/t/correct-point-on-a-graph/3251/11 "2021-05-07T21:24:30Z")

</div>

You can actually still move the point that says locked, but here’s my solution in another thread:

> [@Lock points after submission](https://cl.desmos.com/t/lock-points-after-submission/3208/3):
>
> Make your movable point, A, using sliders. Make a second immovable point using same sliders. Make a number, say n, in the CL linked to the submit press count. Use that to conditionally display the movable point. A=(x1,y1 {n=0}) (Drag should be on) B=(x1,y1) (Drag should be off) Graph CL: number(`n`): button.pressCount

---

<div class="post-metadata">

**Author:** ![Mark\_Saber](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/mark_saber/32/2055_2.png) [@Mark\_Saber](https://cl.desmos.com/u/Mark_Saber)\
**Post date:** [May 7, 2021, 10:45pm UTC](https://cl.desmos.com/t/correct-point-on-a-graph/3251/12 "2021-05-07T22:45:15Z")

</div>

Ok. I got it. Thank you for your help.

---

<div class="post-metadata">

**Author:** ![Mark\_Saber](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/mark_saber/32/2055_2.png) [@Mark\_Saber](https://cl.desmos.com/u/Mark_Saber)\
**Post date:** [May 7, 2021, 11:28pm UTC](https://cl.desmos.com/t/correct-point-on-a-graph/3251/13 "2021-05-07T23:28:59Z")

</div>

Sorry to bother you again…

I would like a few questions similar to the first one you helped me with, but I cannot figure out how to mark those correct. I saw your CL code: correct: this.number(`P.x`)=-1

and that `P.x` is from element #8 in the graph

I am guessing that works for pi because there is only one point w/ x=-1.

But how could I mark the screen correct if I am asking for pi/3 that needs to identify both the x and y values?

---

<div class="post-metadata">

**Author:** ![Mike\_Gleeson](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/mike_gleeson/32/650_2.png) [@Mike\_Gleeson](https://cl.desmos.com/u/Mike_Gleeson)\
**Post date:** [May 8, 2021, 12:22am UTC](https://cl.desmos.com/t/correct-point-on-a-graph/3251/14 "2021-05-08T00:22:40Z")

</div>

I’ve updated the Activity.

Now it will do the following:

- check the solution relative to the angle
- randomize the questions
- provide feedback based on the question

Screen 3 here: [[Copy of] Unit 7 Quiz #2A • Activity Builder by Desmos](https://teacher.desmos.com/activitybuilder/custom/6095881bd8b5b431d88290f8)

---

<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 11, 2021, 1:57am UTC](https://cl.desmos.com/t/correct-point-on-a-graph/3251/15 "2021-05-11T01:57:16Z")

</div>

Looks like @Mike_Gleeson got you covered, but in general if you need to check multiple values for correctness, just use `and`:

```auto
correct: this.number(`P.x`)=valueHere and this.number(`P.y`)=valueHere

```

---

<div class="post-metadata">

**Author:** ![Mark\_Saber](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/mark_saber/32/2055_2.png) [@Mark\_Saber](https://cl.desmos.com/u/Mark_Saber)\
**Post date:** [May 11, 2021, 2:40pm UTC](https://cl.desmos.com/t/correct-point-on-a-graph/3251/16 "2021-05-11T14:40:02Z")

</div>

Daniel,

Thanks. I actually tried a version of that, but my (`P.y`) wouldn’t work in my graph. I also tried to un-randomize @Mike_Gleeson 's suggestion and just ran into headaches.

I may try that route again.

---

<div class="post-metadata">

**Author:** ![Mike\_Gleeson](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/mike_gleeson/32/650_2.png) [@Mike\_Gleeson](https://cl.desmos.com/u/Mike_Gleeson)\
**Post date:** [May 11, 2021, 3:23pm UTC](https://cl.desmos.com/t/correct-point-on-a-graph/3251/17 "2021-05-11T15:23:48Z")

</div>

If I may make a suggestion: get away from measuring P.x etc. That’s not really what you’re after.

You’re really trying to figure out if the angle is correct. So measure that instead. You’ll save yourself with less things to check, and you’ll have an approach that works no matter what size of circle you have.

---

<div class="post-metadata">

**Author:** ![SteinSchreiber](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/steinschreiber/32/2267_2.png) [@SteinSchreiber](https://cl.desmos.com/u/SteinSchreiber)\
**Post date:** [May 12, 2021, 3:44am UTC](https://cl.desmos.com/t/correct-point-on-a-graph/3251/18 "2021-05-12T03:44:56Z")

</div>

Been traveling, and had a moment to work on this. The look is a bit barebones, but I think it may offer the functionality you want. [Unit Circle Drag Point](https://teacher.desmos.com/activitybuilder/custom/609b470cb568273b9a658336)

---

<div class="post-metadata">

**Author:** ![Mark\_Saber](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/mark_saber/32/2055_2.png) [@Mark\_Saber](https://cl.desmos.com/u/Mark_Saber)\
**Post date:** [May 12, 2021, 3:15pm UTC](https://cl.desmos.com/t/correct-point-on-a-graph/3251/19 "2021-05-12T15:15:51Z")

</div>

Thank you Daniel, Stein and Mike! I really appreciate it.
