-1

I want to define a constant to use in a Desmos graph, but when I try to do this by creating an expression, Desmos allows users to change the value of that constant with a handy slider, e.g.,

Trying to define a constant for the speed of light in Desmos

Desmos suggested doing that by using a ratio of inbuilt constants, but this seems to obfuscate the intention. Is there a more straightforward way I can keep constants constant in Desmos?

  • Apologies that this is out of scope. I saw other [desmos] tagged questions and thought it might be appropriate because this site welcomes questions about "Software that mathematicians use" – David Lovell May 05 '22 at 04:59

2 Answers2

2

One way to do this is to create a helper function $$ C_{onstant}(x) = x $$ and then use it to assign values to your constants like this: $$ c=C_{onstant}\left(299792458\right) $$ which eliminates the slider in Desmos

Successfully define a constant for the speed of light in Desmos

0

Another way is to restrict the domain of $c$ as such:

enter image description here

This way the slider becomes unusable:

enter image description here

5201314
  • 2,227