# Check exact answers

**URL:** https://cl.desmos.com/t/check-exact-answers/7803
**Category:** Questions
**Created:** [March 10, 2025, 9:16pm UTC](https://cl.desmos.com/t/check-exact-answers/7803 "2025-03-10T21:16:47Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![helenvg](https://avatars.discourse-cdn.com/v4/letter/h/c2a13f/32.png) [@helenvg](https://cl.desmos.com/u/helenvg)
#### Post date: [March 10, 2025, 9:16pm UTC](https://cl.desmos.com/t/check-exact-answers/7803/1 "2025-03-10T21:16:47Z")

</div>

Hi, I have tried to find previous questions and support on this but anything I have found either doesn’t help or doesn’t seem to work.

I’m trying to code slide 2 to check for the answer to be 5sqrt2 or any equivalent (should they not simplify the answer). I’m sure I have seen this before but can’t seem to get it to work.

[https://cl.desmos.com/t/check-exact-answers/7803?u=helenvg](https://cl.desmos.com/t/check-exact-answers/7803)

---

<div class="post-metadata">

### Author: ![Daniel\_Wekselgreene](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/daniel_wekselgreene/32/1819_2.png) [@Daniel\_Wekselgreene](https://cl.desmos.com/u/Daniel_Wekselgreene)
#### Post date: [March 10, 2025, 9:41pm UTC](https://cl.desmos.com/t/check-exact-answers/7803/2 "2025-03-10T21:41:51Z")

</div>

Do you mean any equivalent within a certain level of tolerance (i.e. they put it as a decimal rounded to 3 places), or only as an exact answer with a radical (not allowing a decimal approximation)? The method you need will depend on that.

---

<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: [March 11, 2025, 1:02pm UTC](https://cl.desmos.com/t/check-exact-answers/7803/3 "2025-03-11T13:02:52Z")

</div>

Here’s my crack at it. This should accept exact answers as an integer (if you change the given radicand), and both reduced and unreduced radicals.

> **[Examples for Forum 2 • Activity Builder by Desmos Classroom](https://teacher.desmos.com/activitybuilder/custom/677415872f44f41f5debc1e3#preview/b6a5c03d-11ab-43c5-a787-7c50d85e12a6)**
>
> by Daniel Grubbs
