How can i make Desmos equations only visible, if a variable is less than 0?

115 Views Asked by At

Say i have some variable k that I can change, and an equation. How do I make the equation invisible, if, for example, k<0 is true?

I tried to append {k<0} to the equation, which just made the equation invisible at all values of k.

1

There are 1 best solutions below

0
On BEST ANSWER

It should work with curly braces, for example: $$x^2\left\{x > 0\right\}$$

Here's an example graph