# Built-in Calculator

**URL:** <https://cl.desmos.com/t/built-in-calculator/332>\
**Category:** Questions\
**Created:** [December 13, 2018, 12:17am UTC](https://cl.desmos.com/t/built-in-calculator/332 "2018-12-13T00:17:03Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![HumanizedMath](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/humanizedmath/32/2947_2.png) [@HumanizedMath](https://cl.desmos.com/u/HumanizedMath)\
**Post date:** [December 13, 2018, 12:17am UTC](https://cl.desmos.com/t/built-in-calculator/332/1 "2018-12-13T00:17:03Z")

</div>

Going out on a limb here… is there a way for the built-in calculator in the table/expression component to use degrees instead of radians when evaluating?

---

<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:** [January 17, 2019, 5:56pm UTC](https://cl.desmos.com/t/built-in-calculator/332/2 "2019-01-17T17:56:50Z")

</div>

(1) This is super hacky  
(2) This uses rawExpression so its very brittle  
(3) This is super unofficial  
(4) I was never here

> **[degree calculator • Activity Builder by Desmos](https://teacher.desmos.com/activitybuilder/custom/5c40c0273bc6d70c4f769024)**
>
> by @mrchowmath

---

<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:** [January 17, 2019, 5:57pm UTC](https://cl.desmos.com/t/built-in-calculator/332/3 "2019-01-17T17:57:40Z")

</div>

Also, you need a graph exhibit somewhere in the activity to make it work. You can hide it behind any display.

---

<div class="post-metadata">

**Author:** ![Kathleen\_Wilson](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/kathleen_wilson/32/355_2.png) [@Kathleen\_Wilson](https://cl.desmos.com/u/Kathleen_Wilson)\
**Post date:** [January 26, 2019, 4:33pm UTC](https://cl.desmos.com/t/built-in-calculator/332/4 "2019-01-26T16:33:36Z")

</div>

I am confused. This is just a blank graph. Is there supposed to be some code in the computation layer? I am not at all familiar with using the computation layer. I simply want to be able to have the output of a trig function be in degree mode.

---

<div class="post-metadata">

**Author:** ![Kathleen\_Wilson](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/kathleen_wilson/32/355_2.png) [@Kathleen\_Wilson](https://cl.desmos.com/u/Kathleen_Wilson)\
**Post date:** [January 26, 2019, 4:34pm UTC](https://cl.desmos.com/t/built-in-calculator/332/5 "2019-01-26T16:34:19Z")

</div>

Also, how do you hide a graph behind a display?

---

<div class="post-metadata">

**Author:** ![Kathleen\_Wilson](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/kathleen_wilson/32/355_2.png) [@Kathleen\_Wilson](https://cl.desmos.com/u/Kathleen_Wilson)\
**Post date:** [January 26, 2019, 4:40pm UTC](https://cl.desmos.com/t/built-in-calculator/332/6 "2019-01-26T16:40:16Z")

</div>

Did you ever figure this out?

---

<div class="post-metadata">

**Author:** ![HumanizedMath](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/humanizedmath/32/2947_2.png) [@HumanizedMath](https://cl.desmos.com/u/HumanizedMath)\
**Post date:** [January 26, 2019, 6:17pm UTC](https://cl.desmos.com/t/built-in-calculator/332/7 "2019-01-26T18:17:38Z")

</div>

Hey Jay!

Thanks for this. Very slick! It wasn’t central to my activity, but it is convenient to have students be able to perform calculations in the same window without using a handheld calculator or separate window.

I won’t be able to use it until next year because I have already taught vectors, but it is a virtual force table!

> **[Virtual Force Table • Activity Builder by Desmos](https://teacher.desmos.com/activitybuilder/custom/5c1079661f80a141296b7ab5)**
>
> by Vince Panetta

---

<div class="post-metadata">

**Author:** ![HumanizedMath](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/humanizedmath/32/2947_2.png) [@HumanizedMath](https://cl.desmos.com/u/HumanizedMath)\
**Post date:** [January 26, 2019, 6:21pm UTC](https://cl.desmos.com/t/built-in-calculator/332/8 "2019-01-26T18:21:06Z")

</div>

Yes. There is code both in the graph component and the input component.

There is a constant function in the graph itself named “A”. Since the graph layer can be toggled to use degrees or radians this is what is changing it over to use degrees.

The code in the graph component is defining a function based on what is in the expression input. The input code is adding a suffix onto what is typed which points to the evaluation of the constant function.

If you aren’t familiar with CL then what I just said might seem a bit nonsensical, but I thought I would try to clarify Jay’s work.

---

<div class="post-metadata">

**Author:** ![Kathleen\_Wilson](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/kathleen_wilson/32/355_2.png) [@Kathleen\_Wilson](https://cl.desmos.com/u/Kathleen_Wilson)\
**Post date:** [January 26, 2019, 7:01pm UTC](https://cl.desmos.com/t/built-in-calculator/332/9 "2019-01-26T19:01:50Z")

</div>

I have a programming background (but have not done any coding beyond programming a TI84 for years) so this sort of makes sense even though I have never explplred the CL aspects of Desmos. So if I copy Jay’s slide into my file, this should work? Also, how do I make it so that the students do not see this graph slide with the codes in it?

Thanks.

---

<div class="post-metadata">

**Author:** ![HumanizedMath](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/humanizedmath/32/2947_2.png) [@HumanizedMath](https://cl.desmos.com/u/HumanizedMath)\
**Post date:** [January 26, 2019, 7:18pm UTC](https://cl.desmos.com/t/built-in-calculator/332/10 "2019-01-26T19:18:01Z")

</div>

Students cannot see the computation layer. They will see what you saw – a blank graph and an expression input box that now works in degrees instead of radians. If you wanted to hide the graph itself. I usually just go into the graph and hide all the gridlines.

I am not sure what your needs are for whatever activity you are creating. It could be possible to avoid using the computation layer altogether depending on your needs. For example, include just a graph component and change the settings with the wrench icon. Then anything you want to be on the graph layer you can put into a folder and hide it from students’ view.

---

<div class="post-metadata">

**Author:** ![Kathleen\_Wilson](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/kathleen_wilson/32/355_2.png) [@Kathleen\_Wilson](https://cl.desmos.com/u/Kathleen_Wilson)\
**Post date:** [January 27, 2019, 2:37pm UTC](https://cl.desmos.com/t/built-in-calculator/332/11 "2019-01-27T14:37:40Z")

</div>

Thanks. This seems like a lot of work in order to have the value be in degrees. I have an input box where students are entering, as an example, 4 cos(50) in order to solve for an adjacent side. Obviously, the 50 is  
in degrees. But the answer is in radians. I wish there was a way to toggle between radians and degrees for the input box, not just on the graph. I was successful in creating a slide using the tips that you gave, but it was a bit tedious and I have several  
slides I want to create. It is a useful workaround, but I wish there didn’t need to be a workaround.

Thanks for your help 😊

---

<div class="post-metadata">

**Author:** ![M\_Magnuson](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/m_magnuson/32/152_2.png) [@M\_Magnuson](https://cl.desmos.com/u/M_Magnuson)\
**Post date:** [January 30, 2019, 8:17pm UTC](https://cl.desmos.com/t/built-in-calculator/332/12 "2019-01-30T20:17:33Z")

</div>

Very nice. Looking forward to using this in class.

---

<div class="post-metadata">

**Author:** ![Matthew\_Burkhart](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/matthew_burkhart/32/1396_2.png) [@Matthew\_Burkhart](https://cl.desmos.com/u/Matthew_Burkhart)\
**Post date:** [October 23, 2020, 3:27pm UTC](https://cl.desmos.com/t/built-in-calculator/332/13 "2020-10-23T15:27:27Z")

</div>

It says it cannot be copied because it has a deprecated feature. Do you have an updated version? or an example of the computation layer for each relevant object. I am able to preview it and it works great.

---

<div class="post-metadata">

**Author:** ![HumanizedMath](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/humanizedmath/32/2947_2.png) [@HumanizedMath](https://cl.desmos.com/u/HumanizedMath)\
**Post date:** [December 8, 2020, 12:14am UTC](https://cl.desmos.com/t/built-in-calculator/332/14 "2020-12-08T00:14:08Z")

</div>

It should be fixed now:

> **[Virtual Force Table • Activity Builder by Desmos](https://teacher.desmos.com/activitybuilder/custom/5c1079661f80a141296b7ab5)**
>
> by Vincent Panetta

The deprecated feature was rawExpression to create a makeshift degrees calculator in the table… but now Desmos has a built-in scientific.
