r/desmos • 6^2=36^1 • 18h ago

Question {Set brackets error}

Post image

bro... this is LITERALLY THE NOT EQUAL SYMBOL. IT IS NOT A VARIABLE. But if variables had variables, an example would be "ℤ". ([{Bug?}])

14 Upvotes

7 comments sorted by

5

u/calculus_is_fun ←Awesome 17h ago

Because "Not Equals" is not a key on most keyboards, it's treated like any other character. if you want to have inequality in a restriction or piecewise, use the normal equal sign, and swap the 2 succeeding arguments.
https://www.desmos.com/calculator/d01yznraya

3

u/Mr_FuzzyPenguin Try adding y= to the beginning of this equation. 17h ago

WAIT. THIS IS SO SMART.

I've been doing this instead. Suppose what I want is: {a != b : true condition, false condition}

I'll do this cursed contraption: {|a-b|>0: true condition, false condition}

...

...

No comment 😐.

I think I will be using your idea instead. I love to overcomplicate things don't I?

2

u/calculus_is_fun ←Awesome 17h ago

If you want to have an inequality operator, you can also do the following:
https://www.desmos.com/calculator/2mcsegqj6e

1

u/Mr_FuzzyPenguin Try adding y= to the beginning of this equation. 16h ago

This is useful!

In turn, I give you bad advice:

If you don't want to use mod() use the following instead:

badMod(a,b) = b/pi * tan^-1(tan( (2a+b)pi/(2b) )) + b/2

I need help.

https://www.desmos.com/calculator/mzjhec0eb6 for more info.

1

u/calculus_is_fun ←Awesome 16h ago

Well, you learned something today, that's what counts

1

u/Mr_FuzzyPenguin Try adding y= to the beginning of this equation. 16h ago

I learned that a lot of people telling me the same thing cannot all be wrong, I do indeed overthink things!

Thank you for showing me the easier way to do things.

1

u/Professional_Denizen Washed-up Wizard 16h ago

You can also do {(a>b or a<b): output1, (condition2): output2, etc.} in case you ever need something checks for inequality first, and don’t want nested piecewises.

The alternative is {a=b:{condition2: output2, etc.}, output1}, which may be ugly.