# Rationalized Question (Correctness?)

**URL:** <https://cl.desmos.com/t/rationalized-question-correctness/3319>\
**Category:** Questions\
**Created:** [May 21, 2021, 6:26pm UTC](https://cl.desmos.com/t/rationalized-question-correctness/3319 "2021-05-21T18:26:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shayne\_Stedman](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/shayne_stedman/32/416_2.png) [@Shayne\_Stedman](https://cl.desmos.com/u/Shayne_Stedman)\
**Post date:** [May 21, 2021, 6:26pm UTC](https://cl.desmos.com/t/rationalized-question-correctness/3319/1 "2021-05-21T18:26:04Z")

</div>

I am wondering why the correct sink is not treating these the same…Am I missing something?

-\frac{2}{\sqrt{3}} and -\frac{2\sqrt{3}}{3}

Here is the slide: [Testing (-2sqrt3)/3 vs (-2/sqrt3) • Activity Builder by Desmos](https://teacher.desmos.com/activitybuilder/custom/60a7f9a3fe1b7a5df0d47fcb)

Thank you for your help!!!

---

<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 21, 2021, 6:43pm UTC](https://cl.desmos.com/t/rationalized-question-correctness/3319/2 "2021-05-21T18:43:16Z")

</div>

This happens sometimes with numericValue. Try using simpleFunction instead (although it still doesn’t recognize the two being equivalent, so I put both ways):

```auto
correct: correct

correct = simpleFunction(this.latex).evaluateAt(0) = simpleFunction("-\frac{2}{\sqrt{3}}").evaluateAt(0) 
or simpleFunction(this.latex).evaluateAt(0) = simpleFunction("-\frac{2\sqrt{3}}{3}").evaluateAt(0)

```

---

<div class="post-metadata">

**Author:** ![Shayne\_Stedman](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/shayne_stedman/32/416_2.png) [@Shayne\_Stedman](https://cl.desmos.com/u/Shayne_Stedman)\
**Post date:** [May 21, 2021, 8:02pm UTC](https://cl.desmos.com/t/rationalized-question-correctness/3319/3 "2021-05-21T20:02:47Z")

</div>

Thank you! I’m curious, what value does **simpleFunction("-\frac{2\sqrt{3}}{3}").evaluateAt(0)** equal?

---

<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 21, 2021, 8:15pm UTC](https://cl.desmos.com/t/rationalized-question-correctness/3319/4 "2021-05-21T20:15:04Z")

</div>

Well it’s a function with a constant -2sqrt(3)/3. There’s no x so it doesn’t matter what number it’s being evaluated at. It’s just that however desmos calculates the decimal value comes out slightly different for the two forms. Notice in the picture the difference is NOT zero, even though a and b _appear_ to be equal.  
 ![image](https://canada1.discourse-cdn.com/flex031/uploads/desmos/original/2X/9/9744b87ad9c45f58e3e73652734466b5e5239f59.png)
